Fix spacing in sync auto-merge dialogs

This commit is contained in:
Dan Stillman 2013-04-13 03:44:09 -04:00
parent 41449871a1
commit 82c4c90f5c
2 changed files with 9 additions and 6 deletions

View File

@ -3755,7 +3755,8 @@ Zotero.Sync.Server.Data = new function() {
else {
msg += Zotero.getString('sync.conflict.recentVersionsKept');
}
msg += "\n\n" + Zotero.getString('sync.conflict.viewErrorConsole', (Zotero.isStandalone ? "" : " Firefox"));
msg += "\n\n" + Zotero.getString('sync.conflict.viewErrorConsole',
(Zotero.isStandalone ? "" : "Firefox")).replace(/\s+/, " ");
return msg;
}
@ -3795,8 +3796,9 @@ Zotero.Sync.Server.Data = new function() {
function _generateCollectionItemMergeAlertMessage() {
var msg = Zotero.getString('sync.conflict.collectionItemMerge.alert')
+ Zotero.getString('sync.conflict.viewErrorConsole', (Zotero.isStandalone ? "" : "Firefox "));
var msg = Zotero.getString('sync.conflict.collectionItemMerge.alert') + "\n\n"
+ Zotero.getString('sync.conflict.viewErrorConsole',
(Zotero.isStandalone ? "" : "Firefox")).replace(/\s+/, " ");
return msg;
}
@ -3830,8 +3832,9 @@ Zotero.Sync.Server.Data = new function() {
function _generateTagItemMergeAlertMessage() {
var msg = Zotero.getString('sync.conflict.tagItemMerge.alert')
+ Zotero.getString('sync.conflict.viewErrorConsole', (Zotero.isStandalone ? "" : "Firefox "));
var msg = Zotero.getString('sync.conflict.tagItemMerge.alert') + "\n\n"
+ Zotero.getString('sync.conflict.viewErrorConsole',
(Zotero.isStandalone ? "" : "Firefox")).replace(/\s+/, " ");
return msg;
}