Added a missed content/editor.js string to the core properties for localization.

This commit is contained in:
lech 2010-09-14 08:00:01 -05:00
Родитель 18497987b9
Коммит fbed00a018
2 изменённых файлов: 3 добавлений и 2 удалений

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

@ -188,7 +188,7 @@ function saveAs() {
const {nsIFilePicker} = Ci;
var fp = Cc["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
fp.init(window, "Save your commands", nsIFilePicker.modeSave);
fp.init(window, L("ubiquity.editor.savecommands"), nsIFilePicker.modeSave);
//Save as a javascript file
//fp.appendFilters(nsIFilePicker.filterAll);
@ -206,7 +206,7 @@ function saveAs() {
canAutoUpdate: true});
PrefCommands.setCode(editor.value = "");
//ToLocalize
$("#editor-log").html(
"<p>" + L("ubiquity.editor.savelogmsgp1", "<strong>" + fp.file.path + "</strong>")
+ "</p><p>" + L("ubiquity.editor.savelogmsgp2") + "</p>");

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

@ -28,6 +28,7 @@ ubiquity.showhidehelp.hide=Hide Help
# /chrome/content/editor.js
# chrome://ubiquity/content/editor.xhtml
ubiquity.editor.savecommands=Save your commands
ubiquity.editor.savelogmsgp1=The command source was saved to %S and you have been automatically subscribed to it. Any changes saved will take effect the moment you invoke Ubiquity.
ubiquity.editor.savelogmsgp2=You can view and remove this subscription in your <a href='about:ubiquity?cmdlist'>Command List</a>.