Closed Bug 1519345 Opened 6 years ago Closed 6 years ago

[uk] Fluent: Move localizations from Variants to Macros

Categories

(Mozilla Localizations :: uk / Ukrainian, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: flod)

References

Details

Attachments

(1 file, 1 obsolete file)

With Fluent Syntax 0.8 Variants are deprecated and we need to migrate these translations to macros.

This task is going to be managed by l10n-drivers directly, please don't make changes for now. We're currently testing the infrastructure with Italian, and we'll take care of the changes in the coming days.

Attachment #9035904 - Flags: review?(stas)
Comment on attachment 9035904 [details] [diff] [review] Move translations from Variants to Macros Review of attachment 9035904 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/browser/branding/sync-brand.ftl @@ +7,2 @@ > *[nom] Синхронізація > [nom-lower] синхронізація I think a better way to define this would be to nest select expressions: -sync-brand-short-name = { $case-> *[nom] { $capitalization -> *[upper] Синхронізація [lower] синхронізація } [gen] { $first-letter -> *[upper] Синхронізації [lower] синхронізації } [dat] { $first-letter -> *[upper] Синхронізації [lower] синхронізації } [acc] { $first-letter -> *[upper] Синхронізацію [lower] синхронізацію } [abl] { $first-letter -> *[upper] Синхронізацією [lower] синхронізацією } } You can then use multiple parameters when referencing the term: { -sync-brand-short-name(case: "abl", capitalization: "lower") }
Attachment #9035904 - Flags: review?(stas) → review-

Nested selects makes a lot more sense (also, there's only one usage of lower capitalization).

Attachment #9035904 - Attachment is obsolete: true
Attachment #9035912 - Flags: review?(stas)
Comment on attachment 9035912 [details] [diff] [review] Move translations from Variants to Macros Review of attachment 9035912 [details] [diff] [review]: ----------------------------------------------------------------- Yep, thanks!
Attachment #9035912 - Flags: review?(stas) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: