-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(i18n): add missing translation keys to 5 locale files #3041
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -71,7 +71,8 @@ | |||||
| "empty": { | ||||||
| "title": "Ingen gemte prompts endnu", | ||||||
| "description": "Start med at sende en prompt og markere den med en stjerne, eller vælg en prompt fra tidligere samtaler" | ||||||
| } | ||||||
| }, | ||||||
| "remove": "Remove favorite" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: The value for chat.favorites.remove is added as the English string "Remove favorite" in the Danish locale file, while every other value in da-DK.json is Danish (e.g. "Fjern vedhæftning"). This key is used as an aria-label in FavoriteButton.tsx, so Danish users (especially screen-reader users) still receive English text, which is exactly the untranslated fallback this PR was meant to fix. Translate the value, e.g. "Fjern favorit". (ar-SA.json has the same problem but is a separate file in this PR.) Prompt for AI agents
Suggested change
|
||||||
| }, | ||||||
| "commands": { | ||||||
| "button": "Værktøjer", | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -249,6 +249,12 @@ | |||||||
| "components": { | ||||||||
| "MultiSelectInput": { | ||||||||
| "placeholder": "Wähle aus..." | ||||||||
| }, | ||||||||
| "DatePickerInput": { | ||||||||
| "placeholder": { | ||||||||
| "single": "Pick a date", | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: The de-DE locale file gets Prompt for AI agents
Suggested change
|
||||||||
| "range": "Pick a date range" | ||||||||
| } | ||||||||
| } | ||||||||
| } | ||||||||
| } | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,12 @@ | |
| "components": { | ||
| "MultiSelectInput": { | ||
| "placeholder": "Seleziona..." | ||
| }, | ||
| "DatePickerInput": { | ||
| "placeholder": { | ||
| "single": "Pick a date", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: The added Italian Prompt for AI agents |
||
| "range": "Pick a date range" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,12 @@ | |
| "components": { | ||
| "MultiSelectInput": { | ||
| "placeholder": "선택..." | ||
| }, | ||
| "DatePickerInput": { | ||
| "placeholder": { | ||
| "single": "Pick a date", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: The Prompt for AI agents |
||
| "range": "Pick a date range" | ||
| } | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The value added for
chat.favorites.removeinar-SA.jsonis the untranslated English string "Remove favorite" inside an otherwise fully Arabic locale file. The PR's own goal is for users on these locales to see translated text rather than a missing-key render, but this change makes Arabic users fall back to English instead of Arabic, so the fix is incomplete. Translate the value to Arabic (e.g. "إزالة المفضلة") rather than copying en-US.json's value.Note: the sibling locales added proper translations for the same key (de-DE "Favorit entfernen", it "Rimuovi preferito", ko "즐겨찾기 제거"), confirming each locale file should carry its own translated string.
Prompt for AI agents