[WebUI] Localize tooltips (#2136)

* [WebUI]: Localize tooltips

* fix: typo in seamCorrection translation

* [WebUI]: Localize tooltips

* fix: typo in seamCorrection translation

* Add Missing Language Placeholders for Tooltip Localization

* Fix UI displacement in RU localization for options

* Fix double options during merge.

* Fix tkinter lefover

Co-authored-by: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com>
This commit is contained in:
pejotr
2022-12-29 09:19:57 +01:00
committed by GitHub
parent d456aea8f3
commit 4cc60669c1
14 changed files with 129 additions and 64 deletions

View File

@@ -10,7 +10,7 @@ import { useAppSelector } from 'app/storeHooks';
import { RootState } from 'app/store';
import { createSelector } from '@reduxjs/toolkit';
import { ReactElement } from 'react';
import { Feature, FEATURES } from 'app/features';
import { Feature, useFeatureHelpInfo } from 'app/features';
type GuideProps = {
children: ReactElement;
@@ -24,7 +24,7 @@ const systemSelector = createSelector(
const GuidePopover = ({ children, feature }: GuideProps) => {
const shouldDisplayGuides = useAppSelector(systemSelector);
const { text } = FEATURES[feature];
const { text } = useFeatureHelpInfo(feature);
if (!shouldDisplayGuides) return null;