зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1118226 - Allow to add number to string for removing selected cookies to improve localizability. r=dao
This commit is contained in:
Родитель
f8efcaaf01
Коммит
44fd2e843b
|
@ -555,7 +555,8 @@ var gCookiesWindow = {
|
|||
|
||||
let buttonLabel = this._bundle.getString("removeSelectedCookies");
|
||||
let removeSelectedCookies = document.getElementById("removeSelectedCookies");
|
||||
removeSelectedCookies.label = PluralForm.get(selectedCookieCount, buttonLabel);
|
||||
removeSelectedCookies.label = PluralForm.get(selectedCookieCount, buttonLabel)
|
||||
.replace("#1", selectedCookieCount);
|
||||
|
||||
removeSelectedCookies.disabled = !(seln.count > 0);
|
||||
},
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
<!ENTITY cookiesonsystem.label "The following cookies are stored on your computer:">
|
||||
<!ENTITY cookiename.label "Cookie Name">
|
||||
<!ENTITY cookiedomain.label "Site">
|
||||
<!-- LOCALIZATION NOTE (button.removeSelectedCookies.accesskey):
|
||||
The label associated with this accesskey can be found in
|
||||
preferences.properties as removeSelectedCookies.
|
||||
-->
|
||||
<!ENTITY button.removeSelectedCookies.accesskey "R">
|
||||
<!ENTITY button.removeAllCookies.label "Remove All">
|
||||
<!ENTITY button.removeAllCookies.accesskey "A">
|
||||
|
|
|
@ -95,6 +95,10 @@ cookiesFiltered=The following cookies match your search:
|
|||
# LOCALIZATION NOTE (removeSelectedCookies):
|
||||
# Semicolon-separated list of plural forms. See:
|
||||
# http://developer.mozilla.org/en/docs/Localization_and_Plurals
|
||||
# If you need to display the number of selected elements in your language,
|
||||
# you can use #1 in your localization as a placeholder for the number.
|
||||
# For example this is the English string with numbers:
|
||||
# removeSelectedCookied=Remove #1 Selected;Remove #1 Selected
|
||||
removeSelectedCookies=Remove Selected;Remove Selected
|
||||
|
||||
#### Offline apps
|
||||
|
|
Загрузка…
Ссылка в новой задаче