Bug 1432338 - Introduce sync-brand.ftl. r?flod
MozReview-Commit-ID: Hs48yFaCMPf
new file mode 100644
--- /dev/null
+++ b/browser/locales/en-US/browser/branding/sync-brand.ftl
@@ -0,0 +1,9 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+-sync-brand-short-name = Sync
+
+# “Sync” can be localized, “Firefox” must be treated as a brand,
+# and kept in English.
+-sync-brand-name = Firefox Sync
new file mode 100644
--- /dev/null
+++ b/python/l10n/fluent_migrations/bug_1432338_sync_brand.py
@@ -0,0 +1,33 @@
+# coding=utf8
+
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
+from __future__ import absolute_import
+import fluent.syntax.ast as FTL
+from fluent.migrate import COPY
+
+
+def migrate(ctx):
+ """Bug 1432338 - Introduce sync-brand.ftl, part {index}."""
+
+ ctx.add_transforms(
+ 'browser/browser/branding/sync-brand.ftl',
+ 'browser/locales/en-US/browser/branding/sync-brand.ftl',
+ [
+ FTL.Term(
+ id=FTL.Identifier('-sync-brand-short-name'),
+ value=COPY(
+ 'browser/chrome/browser/syncBrand.dtd',
+ 'syncBrand.shortName.label'
+ )
+ ),
+ FTL.Term(
+ id=FTL.Identifier('-sync-brand-name'),
+ value=COPY(
+ 'browser/chrome/browser/syncBrand.dtd',
+ 'syncBrand.fullName.label'
+ )
+ ),
+ ]
+ )