Bug 1724793 - Update casing of the toolbar overflow menu customize button. r=flod,fluent-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D122394
This commit is contained in:
Molly Howell 2021-08-12 16:00:26 +00:00
Родитель 7a13273914
Коммит b8d1fa35e3
4 изменённых файлов: 28 добавлений и 5 удалений

Просмотреть файл

@ -22,8 +22,7 @@
<toolbarbutton command="cmd_CustomizeToolbars"
id="overflowMenu-customize-button"
class="subviewbutton panel-subview-footer-button"
accesskey="&overflowCustomizeToolbar.accesskey;"
label="&overflowCustomizeToolbar.label;"/>
data-l10n-id="toolbar-overflow-customize-button"/>
</panelview>
</panelmultiview>
<!-- This menu is here because not having it in the menu in which it's used flickers

Просмотреть файл

@ -667,6 +667,10 @@ toolbar-settings-button =
*[other] Open settings
}
toolbar-overflow-customize-button =
.label = Customize toolbar…
.accesskey = C
## EME notification panel
eme-notifications-drm-content-playing = Some audio or video on this site uses DRM software, which may limit what { -brand-short-name } can let you do with it.

Просмотреть файл

@ -53,9 +53,6 @@ this container is a toolbar. This avoids double-speaking. -->
<!ENTITY newNavigatorCmd.label "New Window">
<!ENTITY newPrivateWindow.label "New Private Window">
<!ENTITY overflowCustomizeToolbar.label "Customize Toolbar…">
<!ENTITY overflowCustomizeToolbar.accesskey "C">
<!ENTITY historyMenu.label "History">
<!ENTITY appMenuHelp.label "Help">

Просмотреть файл

@ -0,0 +1,23 @@
# coding=utf8
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
from __future__ import absolute_import
from fluent.migrate.helpers import transforms_from
def migrate(ctx):
"""Bug 1724793 - Update casing of the toolbar overflow menu customize button. - part {index}"""
ctx.add_transforms(
"browser/browser/browser.ftl",
"browser/browser/browser.ftl",
transforms_from(
"""
toolbar-overflow-customize-button =
.label = { COPY(from_path, "overflowCustomizeToolbar.label") }
.accesskey = { COPY(from_path, "overflowCustomizeToolbar.accesskey") }
""",
from_path="browser/chrome/browser/browser.dtd",
),
)