Bug 386103 - l10n issues with search engine aliases. r=gavin

git-svn-id: svn://10.0.0.236/trunk@228902 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rflint%ryanflint.com
2007-06-27 22:58:47 +00:00
parent 3dcd36f893
commit 0ac41e776e
2 changed files with 6 additions and 10 deletions

View File

@@ -202,12 +202,11 @@ var gEngineManagerDialog = {
// Notify the user if they have chosen an existing engine/bookmark keyword
if (eduplicate || bduplicate) {
var dtitle = strings.getString("duplicateTitle");
var bookmark = strings.getString("duplicateBookmark");
var dmsg = strings.getFormattedString("duplicateMsg",
[(bduplicate) ? bookmark : '"' +
engine.name + '"']);
var bmsg = strings.getString("duplicateBookmarkMsg");
var emsg = strings.getFormattedString("duplicateEngineMsg",
[engine.name]);
prompt.alert(window, dtitle, dmsg);
prompt.alert(window, dtitle, (eduplicate) ? emsg : bmsg);
} else {
gEngineView._engineStore.changeEngine(selectedEngine, "alias",
alias.value);

View File

@@ -1,8 +1,5 @@
editTitle=Edit Keyword
editMsg=Enter a new keyword for "%S":
duplicateTitle=Duplicate Keyword
# Localization Note: The substitution in duplicateMsg will either be a search
# plugin name (e.g. ...in use by "Google".) or the duplicateBookmark string
# 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
duplicateEngineMsg=You have chosen a keyword that is currently in use by "%S". Please select another.
duplicateBookmarkMsg=You have chosen a keyword that is currently in use by a bookmark. Please select another.