зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1432338 - Introduce sync-brand.ftl. r=flod
MozReview-Commit-ID: Hs48yFaCMPf --HG-- extra : rebase_source : 5797ca2dbc123108686f48bab3579a719f532c93
This commit is contained in:
Родитель
e858645b88
Коммит
6c6256c87c
|
@ -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
|
|
@ -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'
|
||||
)
|
||||
),
|
||||
]
|
||||
)
|
Загрузка…
Ссылка в новой задаче