Skip to content

Commit

Permalink
Merge pull request #1018 from AppQuality/UN-246
Browse files Browse the repository at this point in the history
[🎬 Traduzioni] - Fix Ui e Ux
  • Loading branch information
cannarocks authored Oct 23, 2024
2 parents 8421668 + 5f94210 commit 89c28d4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@
"__TOAST_CLOSE_TEXT": "Dismiss",
"__TOAST_GENERIC_ERROR_MESSAGE": "Something went wrong. Please try again later.",
"__TOOLS_MENU_ITEM_BUTTON_LABEL": "Translate",
"__TOOLS_MENU_ITEM_LANGUAGE_SETTINGS_TOOLTIP": "Language settings",
"__TOOLS_MENU_ITEM_TRANSLATE_PREFERENCE_TITLE": "Translate in",
"__TOOLS_TRANSLATE_BUTTON_CANCEL": "Cancel",
"__TOOLS_TRANSLATE_BUTTON_SEND": "Translate",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Video/components/Transcript/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Header = ({
{t('__VIDEO_PAGE_TRANSCRIPT_TITLE')}
</XL>
</IconTitleContainer>
<SM color={appTheme.palette.grey[700]}>
<SM color={appTheme.palette.grey[600]}>
{t('__VIDEO_PAGE_TRANSCRIPT_INFO')}
</SM>
</TitleWrapper>
Expand Down
24 changes: 17 additions & 7 deletions src/pages/Video/components/tools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
IconButton,
Notification,
Span,
Tooltip,
useToast,
} from '@appquality/unguess-design-system';
import { ReactComponent as TranslateIcon } from '@zendeskgarden/svg-icons/src/16/translation-exists-fill.svg';
Expand Down Expand Up @@ -80,15 +81,24 @@ export const Tools = () => {
})}
/>
)}
<IconButton
disabled={isProcessing}
style={{ marginLeft: appTheme.space.sm }}
onClick={() => {
setIsOpen(!isOpen);
<Tooltip
content={t('__TOOLS_MENU_ITEM_LANGUAGE_SETTINGS_TOOLTIP')}
type="light"
size="medium"
onClick={(e: any) => {
e.stopPropagation();
}}
>
<SettingsIcon color={appTheme.palette.blue[600]} />
</IconButton>
<IconButton
disabled={isProcessing}
style={{ marginLeft: appTheme.space.sm }}
onClick={() => {
setIsOpen(!isOpen);
}}
>
<SettingsIcon color={appTheme.palette.blue[600]} />
</IconButton>
</Tooltip>
</div>
);
}
Expand Down

0 comments on commit 89c28d4

Please sign in to comment.