зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1780919 - Use Fluent term for Firefox Home, r=Gijs,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152592
This commit is contained in:
Родитель
d243d89ab9
Коммит
d396178792
|
@ -14,6 +14,7 @@
|
|||
<link rel="stylesheet" type="text/css"
|
||||
href="chrome://browser/content/colorways/colorwaycloset.css">
|
||||
<link rel="localization" href="branding/brand.ftl">
|
||||
<link rel="localization" href="browser/branding/brandings.ftl">
|
||||
<link rel="localization" href="browser/colorwaycloset.ftl">
|
||||
<link rel="localization" href="browser/colorways.ftl">
|
||||
<script src="chrome://browser/content/colorways/colorwaycloset.js" defer="async"></script>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<title data-l10n-id="about-policies-title"></title>
|
||||
<link rel="stylesheet" href="chrome://browser/content/policies/aboutPolicies.css">
|
||||
<link rel="localization" href="branding/brand.ftl">
|
||||
<link rel="localization" href="browser/branding/brandings.ftl">
|
||||
<link rel="localization" href="browser/branding/sync-brand.ftl">
|
||||
<link rel="localization" href="browser/aboutPolicies.ftl">
|
||||
<link rel="localization" href="browser/policies/policies-descriptions.ftl">
|
||||
|
|
|
@ -285,12 +285,13 @@ function generateDocumentation() {
|
|||
// map specific policies to a different string ID, to allow updates to
|
||||
// existing descriptions
|
||||
let string_mapping = {
|
||||
BackgroundAppUpdate: "BackgroundAppUpdate2",
|
||||
Certificates: "CertificatesDescription",
|
||||
DisableMasterPasswordCreation: "DisablePrimaryPasswordCreation",
|
||||
DisableSetDesktopBackground: "DisableSetAsDesktopBackground",
|
||||
Certificates: "CertificatesDescription",
|
||||
SanitizeOnShutdown: "SanitizeOnShutdown2",
|
||||
FirefoxHome: "FirefoxHome2",
|
||||
Permissions: "Permissions2",
|
||||
BackgroundAppUpdate: "BackgroundAppUpdate2",
|
||||
SanitizeOnShutdown: "SanitizeOnShutdown2",
|
||||
WindowsSSO: "Windows10SSO",
|
||||
};
|
||||
|
||||
|
|
|
@ -174,12 +174,12 @@ class AboutPreferences {
|
|||
const homeHeader = createAppend("label", contentsGroup).appendChild(
|
||||
document.createElementNS(HTML_NS, "h2")
|
||||
);
|
||||
document.l10n.setAttributes(homeHeader, "home-prefs-content-header");
|
||||
document.l10n.setAttributes(homeHeader, "home-prefs-content-header2");
|
||||
|
||||
const homeDescription = createAppend("description", contentsGroup);
|
||||
document.l10n.setAttributes(
|
||||
homeDescription,
|
||||
"home-prefs-content-description"
|
||||
"home-prefs-content-description2"
|
||||
);
|
||||
|
||||
// Add preferences for each section
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
class="check-home-page-controlled"
|
||||
data-preference-related="browser.startup.homepage">
|
||||
<menupopup>
|
||||
<menuitem value="0" data-l10n-id="home-mode-choice-default" />
|
||||
<menuitem value="0" data-l10n-id="home-mode-choice-default-fx" />
|
||||
<menuitem value="2" data-l10n-id="home-mode-choice-custom" />
|
||||
<menuitem value="1" data-l10n-id="home-mode-choice-blank" />
|
||||
</menupopup>
|
||||
|
@ -84,7 +84,7 @@
|
|||
Preferences so we need to handle setting the pref manually.-->
|
||||
<menulist id="newTabMode" flex="1" data-preference-related="browser.newtabpage.enabled">
|
||||
<menupopup>
|
||||
<menuitem value="0" data-l10n-id="home-mode-choice-default" />
|
||||
<menuitem value="0" data-l10n-id="home-mode-choice-default-fx" />
|
||||
<menuitem value="1" data-l10n-id="home-mode-choice-blank" />
|
||||
</menupopup>
|
||||
</menulist>
|
||||
|
|
|
@ -32,3 +32,7 @@
|
|||
# “Suggest” can be localized, “Firefox” must be treated as a brand
|
||||
# and kept in English.
|
||||
-firefox-suggest-brand-name = Firefox Suggest
|
||||
|
||||
# ”Home" can be localized, “Firefox” must be treated as a brand
|
||||
# and kept in English.
|
||||
-firefox-home-brand-name = Firefox Home
|
||||
|
|
|
@ -17,7 +17,7 @@ colorway-intensity-bold = Bold
|
|||
colorway-closet-set-colorway-button = Set colorway
|
||||
colorway-closet-cancel-button = Cancel
|
||||
|
||||
colorway-homepage-reset-prompt = Make { -brand-product-name } Home your colorful homepage
|
||||
colorway-homepage-reset-success-message = { -brand-product-name } Home is now your homepage
|
||||
colorway-homepage-reset-prompt = Make { -firefox-home-brand-name } your colorful homepage
|
||||
colorway-homepage-reset-success-message = { -firefox-home-brand-name } is now your homepage
|
||||
colorway-homepage-reset-apply-button = Apply
|
||||
colorway-homepage-reset-undo-button = Undo
|
||||
|
|
|
@ -115,7 +115,7 @@ policy-ExtensionSettings = Manage all aspects of extension installation.
|
|||
|
||||
policy-ExtensionUpdate = Enable or disable automatic extension updates.
|
||||
|
||||
policy-FirefoxHome = Configure Firefox Home.
|
||||
policy-FirefoxHome2 = Configure { -firefox-home-brand-name }.
|
||||
|
||||
policy-FlashPlugin = Allow or deny usage of the Flash plugin.
|
||||
|
||||
|
|
|
@ -633,10 +633,8 @@ home-restore-defaults =
|
|||
.label = Restore Defaults
|
||||
.accesskey = R
|
||||
|
||||
# "Firefox" should be treated as a brand and kept in English,
|
||||
# while "Home" and "(Default)" can be localized.
|
||||
home-mode-choice-default =
|
||||
.label = Firefox Home (Default)
|
||||
home-mode-choice-default-fx =
|
||||
.label = { -firefox-home-brand-name } (Default)
|
||||
|
||||
home-mode-choice-custom =
|
||||
.label = Custom URLs…
|
||||
|
@ -665,8 +663,8 @@ choose-bookmark =
|
|||
|
||||
## Home Section - Firefox Home Content Customization
|
||||
|
||||
home-prefs-content-header = Firefox Home Content
|
||||
home-prefs-content-description = Choose what content you want on your Firefox Home screen.
|
||||
home-prefs-content-header2 = { -firefox-home-brand-name } Content
|
||||
home-prefs-content-description2 = Choose what content you want on your { -firefox-home-brand-name } screen.
|
||||
|
||||
home-prefs-search-header =
|
||||
.label = Web Search
|
||||
|
|
Загрузка…
Ссылка в новой задаче