-
Notifications
You must be signed in to change notification settings - Fork 259
fix(l10n): mark missing strings for translation #867
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: dev
Are you sure you want to change the base?
Conversation
| SettingsEntry(category=SettingsConstants.CATEGORY__FEATURES, | ||
| attr_name=SettingsConstants.SETTING__MICROSD_TOAST_TIMER, | ||
| display_name="MicroSD toast timer", | ||
| display_name=_mft("MicroSD toast timer"), |
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.
Before we add this as a translation string, I think the "toast" terminology should be removed. I had never heard that UX term before until Easy introduced it (like, seriously, who in the UX world came up with that as a term?! It's absurd).
I don't think a typical user would be familiar with it, either. And I don't think translators should have to struggle with it.
So this is expanding the scope of this PR slightly, but I'd prefer renaming it to something like "MicroSD reminder". "MicroSD notification"?
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.
I've renamed the setting string to "MicroSD notification duration".
|
These are great catches! |
f550968 to
76814e2
Compare
Co-authored-by: kdmukai <[email protected]>
76814e2 to
553cdb1
Compare
Description
This PR marks previously unmarked user facing strings for translation. I noticed these issues while reviewing the Hindi translations in SeedSigner/seedsigner-translations#54.
Summary of Changes
_mft()so they are included in translation extractiongettext(_()) inNetworkMismatchErrorViewmessages.potto include these strings, along with other recent changes already merged intodevScreens affected (Hindi screenshots)
Missing strings in MicroSD Toast Timer (now, "MicroSD notification duration")
NetworkMismatchErrorView
Before: Network value rendered without translation

After: Network value correctly translated

This pull request is categorized as a:
l10n)Checklist
pytestand made sure all unit tests pass before submitting the PRIf you modified or added functionality/workflow, did you add new unit tests?
I have tested this PR on the following platforms/os: