Closed Bug 1407344 Opened 8 years ago Closed 8 years ago

Missing placeholder in Focus Android: preference_default_browser2

Categories

(Mozilla Localizations :: lt / Lithuanian, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: liuche, Assigned: rimas)

Details

https://github.com/mozilla-l10n/focus-android-l10n/blob/master/locales/lt/app.po#L273 The placeholder is missing from the string: msgctxt "preference_default_browser2" msgid "Make %1$s default browser" msgstr "Padaryti numatytąja naršykle"
Hey Paulius, could you help fix this and add the placeholder where it should be? I wouldn't know where to add it in the string :) (https://pontoon.mozilla.org/lt/focus-for-android/app.po/?search=preference_default_browser2&string=171596) thanks!
Flags: needinfo?(paulius)
Added. Are placeholder's always mandatory though? In this case, it's inside the browser's settings, and explicitly stating the name doesn't add any new information IMO. I believe Rimas did that in a few strings in Firefox for desktop as well, before I joined.
Flags: needinfo?(paulius) → needinfo?(rimas)
Hey - yes they are mandatory because depending on the country, Focus can also be called "Klar". Hope this makes sense
Delphine, is this a technical limitation? I tend to agree with Paulius: regardless of whether you call it Focus or Klar, this is an in-app string, so the name of the app is kinda known in advance.
Flags: needinfo?(rimas)
I think it is because the same string will be re-used in both cases - let's just double check with :liuche but I don't think there's a way to work around this at this point. Maybe she can explain better!
Flags: needinfo?(liuche)
Hi Paulius and Rimas, the missing placeholders are something that we have a script to check for while validating the strings. There are strings where the placeholders are absolutely necessary, or it's useful to check because a placeholder might be forgotten. So this is a technical limitation, because it's not practical to pick and choose where the placeholders are "optional" for a script - when it fails, we just remove the string. Additionally, I assume that whoever wrote the strings has tried to consider where including the brand is useful (if not necessary) especially for new users, so it's best to include the placeholders.
Flags: needinfo?(liuche)
It seems we forgot to close this after Paulius has fixed the string.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.