Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) Add missing translations for header menu tooltips #1219

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/apps/esm-implementer-tools-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"analyze": "webpack --mode=production --env analyze=true",
"typescript": "tsc",
"lint": "eslint src --ext ts,tsx",
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.extension.tsx' 'src/**/*.modal.tsx' --config='../../../tools/i18next-parser.config.js'"
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.button.tsx' 'src/**/*.extension.tsx' 'src/**/*.modal.tsx' --config='../../../tools/i18next-parser.config.js'"
},
"keywords": [
"openmrs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"featureFlag": "Feature flag",
"featureFlags": "Feature flags",
"frontendModules": "Frontend modules",
"implementerTools": "Implementer Tools",
"installedVersion": "Installed version",
"itemDescriptionSourceDefaultText": "The current value is the default.",
"jsonEditor": "JSON editor",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const HeaderItems: React.FC = () => {
)}
{showAppMenu && (
<HeaderGlobalAction
aria-label="App Menu"
aria-label={t('AppMenuTooltip', 'App Menu')}
aria-labelledby="App Menu"
className={classNames({
[styles.headerGlobalBarButton]: isActivePanel('appMenu'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"AppMenuTooltip": "App Menu",
"cancel": "Cancel",
"change": "Change",
"changeLanguage": "Change language",
Expand Down
Loading