author Kirk Steuber <>
Fri, 18 Sep 2020 20:27:40 +0000
changeset 13596 ae79df9cbc52737e48e1bfcfec7eb8c3d4085727
parent 12710 ecdd763ca6af125fc6617a515318710c38437bee
permissions -rw-r--r--
Bug 1664510 - Add localization for the WDBA r=flod,nalexander This patch adds localization to the WDBA in a somewhat unusual manner. It's very difficult to localize toast notifications because the button text tends to overflow, which the localizers won't realize. Therefore, we are making a simpler version of the toast notification that only uses "Yes" and "No" as the button text. In English, we will not use this version and will continue using the version we have been using. This means that the localized toast notifications will not have an "Ask me later" button, so the behavior will differ a bit from the English version. Specifically, there is no "followup" for the localized notification since there is no button that ought to cause it to be shown. We've considered and rejected using localizer comments to keep these button strings short. We are limited by the amount of space the text takes up, not the number of characters. We just don't have a good way to convey this information to localizers in an actionable way. Differential Revision: X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: d6c9e691db15a4ed7388d0338f29b8af8907b32d X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 3a6d3ffe5a5081e77ba47aba01a7fe9bb56b471b X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 9cc4954654f1e9362f4417c214d1f9a1d3febd27 X-Channel-Repo: releases/mozilla-esr78 X-Channel-Revision: 34dd40076a4e0de25c2db1f619bf55367f67007b

<!-- 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 -->

<!-- extracted from tasksOverlay.xul -->
<!ENTITY minimizeWindowCmd.label "Minimize">
<!ENTITY minimizeWindowCmd.key "M">
<!ENTITY zoomWindowCmd.label "Zoom">
<!ENTITY navigatorCmd.label "Browser">
<!ENTITY navigatorCmd.accesskey "B">
<!ENTITY navigatorCmd.commandkey "1">

<!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
<!ENTITY editorCmd.label "Composer">
<!ENTITY editorCmd.accesskey "C">
<!ENTITY editorCmd.commandkey "4">

<!ENTITY errorConsoleCmd.label "Error Console">
<!ENTITY errorConsoleCmd.accesskey "C">
<!ENTITY errorConsoleCmd.commandkey2 "j">

<!ENTITY taskNavigator.tooltip "Browser">
<!ENTITY taskComposer.tooltip "Composer">

<!ENTITY webDevelopment.label "Web Development">
<!ENTITY webDevelopment.accesskey "W">

<!ENTITY windowMenu.label "Window">
<!ENTITY windowMenu.accesskey "W">

<!ENTITY tasksMenu.label "Tools">
<!ENTITY tasksMenu.accesskey "T">

<!ENTITY datamanCmd.label "Data Manager">
<!ENTITY datamanCmd.accesskey "D">

<!ENTITY passwordManagerCmd.label "Password Manager">
<!ENTITY passwordManagerCmd.accesskey "P">

<!ENTITY passwordDisplayCmd.label "Manage Stored Passwords">
<!ENTITY passwordDisplayCmd.accesskey "M">

<!ENTITY passwordExpireCmd.label "Log Out">
<!ENTITY passwordExpireCmd.accesskey "l">

<!ENTITY downloadManagerCmd.label "Download Manager">
<!ENTITY downloadManagerCmd.accesskey "n">
<!ENTITY downloadManagerCmd.commandkey "j">

<!ENTITY addOnsManagerCmd.label "Add-ons Manager">
<!ENTITY addOnsManagerCmd.accesskey "A">
<!ENTITY addOnsManagerCmd.commandkey "a">

<!ENTITY switchProfileCmd.label "Switch Profile…">
<!ENTITY switchProfileCmd.accesskey "h">

<!ENTITY syncBrand.shortName.label "Sync">
<!-- LOCALIZATION NOTE (syncSetup.accesskey, syncSyncNowItem.accesskey):
     Only one of these will show at a time (based on setup state),
     so reusing accesskey is ok. -->
<!ENTITY syncSetup.label "Set Up Sync…">
<!ENTITY syncSetup.accesskey "S">
<!ENTITY syncSyncNowItem.label "Sync Now">
<!ENTITY syncSyncNowItem.accesskey "S">