зеркало из https://github.com/mozilla/pjs.git
Bug 386103 - l10n issues with search engine aliases. r=gavin
This commit is contained in:
Родитель
4e1f3ac461
Коммит
ce72cd687c
|
@ -202,12 +202,11 @@ var gEngineManagerDialog = {
|
||||||
// Notify the user if they have chosen an existing engine/bookmark keyword
|
// Notify the user if they have chosen an existing engine/bookmark keyword
|
||||||
if (eduplicate || bduplicate) {
|
if (eduplicate || bduplicate) {
|
||||||
var dtitle = strings.getString("duplicateTitle");
|
var dtitle = strings.getString("duplicateTitle");
|
||||||
var bookmark = strings.getString("duplicateBookmark");
|
var bmsg = strings.getString("duplicateBookmarkMsg");
|
||||||
var dmsg = strings.getFormattedString("duplicateMsg",
|
var emsg = strings.getFormattedString("duplicateEngineMsg",
|
||||||
[(bduplicate) ? bookmark : '"' +
|
[engine.name]);
|
||||||
engine.name + '"']);
|
|
||||||
|
|
||||||
prompt.alert(window, dtitle, dmsg);
|
prompt.alert(window, dtitle, (eduplicate) ? emsg : bmsg);
|
||||||
} else {
|
} else {
|
||||||
gEngineView._engineStore.changeEngine(selectedEngine, "alias",
|
gEngineView._engineStore.changeEngine(selectedEngine, "alias",
|
||||||
alias.value);
|
alias.value);
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
editTitle=Edit Keyword
|
editTitle=Edit Keyword
|
||||||
editMsg=Enter a new keyword for "%S":
|
editMsg=Enter a new keyword for "%S":
|
||||||
duplicateTitle=Duplicate Keyword
|
duplicateTitle=Duplicate Keyword
|
||||||
# Localization Note: The substitution in duplicateMsg will either be a search
|
duplicateEngineMsg=You have chosen a keyword that is currently in use by "%S". Please select another.
|
||||||
# plugin name (e.g. ...in use by "Google".) or the duplicateBookmark string
|
duplicateBookmarkMsg=You have chosen a keyword that is currently in use by a bookmark. Please select another.
|
||||||
# below (e.g. ...in use by a bookmark.).
|
|
||||||
duplicateMsg=You have chosen a keyword that is currently in use by %S. Please select another.
|
|
||||||
duplicateBookmark=a bookmark
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче