Skip to content

Conversation

@Chaitanya-Keyal
Copy link
Contributor

@Chaitanya-Keyal Chaitanya-Keyal commented Jan 17, 2026

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

  • Rename "MicroSD toast timer" to "MicroSD notification duration" for a better UX
  • Mark MicroSD toast timer related settings constants with _mft() so they are included in translation extraction
  • Wrap the network setting display value with gettext (_()) in NetworkMismatchErrorView
  • Update messages.pot to include these strings, along with other recent changes already merged into dev

Screens affected (Hindi screenshots)

Missing strings in MicroSD Toast Timer (now, "MicroSD notification duration")

image

NetworkMismatchErrorView

Before: Network value rendered without translation
NetworkMismatchErrorView

After: Network value correctly translated
image


This pull request is categorized as a:

  • Bug fix (l10n)

Checklist

  • I’ve run pytest and made sure all unit tests pass before submitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

  • N/A

I have tested this PR on the following platforms/os:

  • Other (Screenshot Generator)

SettingsEntry(category=SettingsConstants.CATEGORY__FEATURES,
attr_name=SettingsConstants.SETTING__MICROSD_TOAST_TIMER,
display_name="MicroSD toast timer",
display_name=_mft("MicroSD toast timer"),
Copy link
Contributor

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"?

Copy link
Contributor Author

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".

@kdmukai
Copy link
Contributor

kdmukai commented Jan 17, 2026

These are great catches!

@Chaitanya-Keyal Chaitanya-Keyal force-pushed the fix/missing-l10n branch 2 times, most recently from f550968 to 76814e2 Compare January 17, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants