Bug 1416704 - localize devtools options to enable new console/debugger;r=flod

MozReview-Commit-ID: IVHBg7xX3tB

--HG--
extra : rebase_source : f4f98505eee0560493fee13e429e9c672591e178
This commit is contained in:
Julian Descottes 2017-11-13 12:49:05 +01:00
Родитель b462486901
Коммит 6b5ad818ce
2 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -317,15 +317,15 @@ OptionsPanel.prototype = {
}
// Labels for these new buttons are nightly only and mostly intended for working on
// devtools. They should not be localized.
// devtools.
let prefDefinitions = [{
pref: "devtools.webconsole.new-frontend-enabled",
label: "Enable new console frontend",
label: L10N.getStr("toolbox.options.enableNewConsole.label"),
id: "devtools-new-webconsole",
parentId: "webconsole-options"
}, {
pref: "devtools.debugger.new-debugger-frontend",
label: "Enable new debugger frontend",
label: L10N.getStr("toolbox.options.enableNewDebugger.label"),
id: "devtools-new-debugger",
parentId: "debugger-options"
}];

Просмотреть файл

@ -195,3 +195,12 @@ toolbox.sourceMapFailure=Source map error: %1$S\nResource URL: %2$S\nSource Map
# The text of the error: %1$S
# The URL of the source: %2$S
toolbox.sourceMapSourceFailure=Error while fetching an original source: %1$S\nSource URL: %2$S
# LOCALIZATION NOTE (toolbox.options.enableNewDebugger.label): Label of the options panel
# checkbox to enable the new debugger frontend. Displayed only in Nightly and local
# builds.
toolbox.options.enableNewDebugger.label=Enable new debugger frontend
# LOCALIZATION NOTE (toolbox.options.enableNewConsole.label): Label of the options panel
# checkbox to enable the new console frontend. Displayed only in Nightly and local builds.
toolbox.options.enableNewConsole.label=Enable new console frontend