-
Notifications
You must be signed in to change notification settings - Fork 52
Add Japanese translations and related UI updates #1173
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: master
Are you sure you want to change the base?
Conversation
c2bd256 to
241b128
Compare
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.
This file must not be manipulated manually.
This file is automatically generated and updated via Crowdin, all translations must be performed via the Crowdin platform.
|
Address Coding and Test Errors |
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.
Make sure to also add/update tests in Localization_test.ts
| <Tag type="cyan"> | ||
| ({results.found}) | ||
| </Tag> found | ||
| </Tag> {$Locale.Frontend_Classic_Bookmark_Found().replace('{0}', String(results.found))} |
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.
Do not perform the replacements manually, let the localization provider do the correct formatting
$Locale.Frontend_Classic_Bookmark_Found(`${results.found}`)
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.
Other places in this PR as well
| Frontend_Classic_Bookmark_ExportDone: "Export completed", | ||
| Frontend_Classic_Bookmark_UserCanceled: "User canceled", | ||
| Frontend_Classic_Bookmark_Error: "Error: {error}", | ||
| Frontend_Classic_Bookmark_Found: "found", |
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.
This seems to be missing the placeholder {0} for additional parameter of bookmark count
|
Suggestion to reject this PR after Sunday, 17 August 2025 (12 weeks) if not approved by a reviewer. |
Overview
Added comprehensive Japanese translations and integrated them into the application UI.
Covered areas:
Details
web/src/i18n/locales/ja_JP.tsILocale.ts,Localization.ts,_invariant.ts,en_US.ts.sveltecomponents infrontend/classicto support the new localeNotes
masterto remove unrelated changes and ensure a clean diff.