Skip to content

Commit

Permalink
Bug 1821038 - Expose the translations.ftl file to localization; r=nor…
Browse files Browse the repository at this point in the history
…dzilla,fluent-reviewers,flod

Note that this does not expose the about:translations localization file
since that is a developer-focused view that's not ready or planned for
general usage.

Differential Revision: https://phabricator.services.mozilla.com/D179360

UltraBlame original commit: 8e03224a019c674d3b61c734ae819e8557cef17f
  • Loading branch information
marco-c committed May 31, 2023
1 parent 0c7c2eb commit 8548519
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion browser/base/content/browser.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@
<link rel="localization" href="browser/sidebarMenu.ftl"/>
<link rel="localization" href="browser/tabbrowser.ftl"/>
<link rel="localization" href="browser/toolbarContextMenu.ftl"/>
<link rel="localization" href="browser/translations.ftl" />
<link rel="localization" href="browser/unifiedExtensions.ftl"/>
<link rel="localization" href="browser/webrtcIndicator.ftl"/>
<link rel="localization" href="toolkit/branding/accounts.ftl"/>
<link rel="localization" href="toolkit/branding/brandings.ftl"/>
<link rel="localization" href="toolkit/global/textActions.ftl"/>
<link rel="localization" href="toolkit/printing/printUI.ftl"/>
<!-- Untranslated FTL files -->
<link rel="localization" href="locales-preview/translations.ftl" />
<link rel="localization" href="preview/firefoxSuggest.ftl" />
<link rel="localization" href="preview/identityCredentialNotification.ftl" />
<link rel="localization" href="preview/interventions.ftl" />
Expand Down
2 changes: 1 addition & 1 deletion browser/components/preferences/dialogs/translations.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
data-l10n-attrs="buttonlabelaccept, buttonaccesskeyaccept"
>
<linkset>
<html:link rel="localization" href="locales-preview/translations.ftl" />
<html:link rel="localization" href="browser/translations.ftl" />
</linkset>

<script src="chrome://browser/content/preferences/dialogs/translations.js" />
Expand Down
2 changes: 1 addition & 1 deletion browser/components/preferences/preferences.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<link rel="localization" href="browser/preferences/fonts.ftl"/>
<link rel="localization" href="browser/preferences/moreFromMozilla.ftl"/>
<link rel="localization" href="browser/preferences/preferences.ftl"/>
<link rel="localization" href="locales-preview/translations.ftl"/>
<link rel="localization" href="toolkit/branding/accounts.ftl"/>
<link rel="localization" href="toolkit/branding/brandings.ftl"/>
<link rel="localization" href="toolkit/featuregates/features.ftl"/>
Expand All @@ -51,6 +50,7 @@
<link rel="localization" href="browser/preferences/selectBookmark.ftl"/>
<link rel="localization" href="browser/preferences/siteDataSettings.ftl"/>
<link rel="localization" href="browser/sanitize.ftl"/>
<link rel="localization" href="browser/translations.ftl"/>
<link rel="localization" href="preview/firefoxSuggest.ftl"/>
<link rel="localization" href="security/certificates/certManager.ftl"/>
<link rel="localization" href="security/certificates/deviceManager.ftl"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ translations-panel-displayname-beta =

translations-panel-settings-manage-languages =
.label = Manage languages
# TODO(Bug 1831341): We still need the link for this menu item.
translations-panel-settings-about = About translations in { -brand-shorter-name }
# Text displayed for the option to always translate a given language
Expand Down
1 change: 0 additions & 1 deletion browser/locales/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
preview/interventions.ftl (../components/urlbar/content/interventions.ftl)
preview/firefoxSuggest.ftl (../components/urlbar/content/firefoxSuggest.ftl)
preview/identityCredentialNotification.ftl (../components/credentialmanager/identityCredentialNotification.ftl)
locales-preview/translations.ftl (../locales-preview/translations.ftl)
preview/stripOnShare.ftl (../components/urlbar/content/stripOnShare.ftl)
browser (%browser/**/*.ftl)

Expand Down

0 comments on commit 8548519

Please sign in to comment.