зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1379116 - Localize hardcoded addon installation error string in about:debugging;r=ochameau
MozReview-Commit-ID: 1dnaoWrtaSS --HG-- extra : rebase_source : 831989c17ad1041af3e1f9be0b7b10a0805a31cc
This commit is contained in:
Родитель
360d03d095
Коммит
9d19b31461
|
@ -26,7 +26,7 @@ class AddonsInstallError extends Component {
|
|||
if (!this.props.error) {
|
||||
return null;
|
||||
}
|
||||
let text = `There was an error during installation: ${this.props.error}`;
|
||||
let text = Strings.formatStringFromName("addonInstallError", [this.props.error], 1);
|
||||
return dom.div(
|
||||
{ className: "addons-install-error" },
|
||||
dom.span(
|
||||
|
|
|
@ -58,6 +58,11 @@ addonDebugging.learnMore = Learn more
|
|||
# load additional add-ons.
|
||||
loadTemporaryAddon = Load Temporary Add-on
|
||||
|
||||
# LOCALIZATION NOTE (addonInstallError):
|
||||
# This string is displayed when an error occurs while installing an addon.
|
||||
# %S will be replaced with the error message.
|
||||
addonInstallError = There was an error during installation: %S
|
||||
|
||||
# LOCALIZATION NOTE (retryTemporaryInstall):
|
||||
# This string is displayed as a label of a button that allows the user to
|
||||
# retry a failed installation of a temporary add-on.
|
||||
|
|
Загрузка…
Ссылка в новой задаче