diff --git a/chrome.manifest b/chrome.manifest index f799d93776..5d9ce78470 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -32,9 +32,9 @@ locale zotero pt-BR chrome/locale/pt-BR/zotero/ locale zotero pt-PT chrome/locale/pt-PT/zotero/ locale zotero ro-RO chrome/locale/ro-RO/zotero/ locale zotero ru-RU chrome/locale/ru-RU/zotero/ +locale zotero sk-SK chrome/locale/sk-SK/zotero/ locale zotero sl-SI chrome/locale/sl-SI/zotero/ locale zotero sr-RS chrome/locale/sr-RS/zotero/ -locale zotero sr-YU chrome/locale/sr-YU/zotero/ locale zotero sv-SE chrome/locale/sv-SE/zotero/ locale zotero th-TH chrome/locale/th-TH/zotero/ locale zotero tr-TR chrome/locale/tr-TR/zotero/ diff --git a/chrome/content/zotero/about.xul b/chrome/content/zotero/about.xul index 0290c8dfdf..6414110a93 100644 --- a/chrome/content/zotero/about.xul +++ b/chrome/content/zotero/about.xul @@ -54,7 +54,7 @@ "de-DE": [ "Harald Kliems", "Jason Verber", - "Helga" + "Morris Vollmann" ], "el-GR": [ @@ -147,6 +147,10 @@ "Yaroslav" ], + "sk-SK": [ + "athelas" + ], + "sl-SI": [ "Martin Srebotnjak" ], @@ -158,7 +162,11 @@ "sv-SE": [ "Erik Stattin" ], - + + "th-TH": [ + "chin" + ], + "tr-TR": [ "Zeki Celikbas" ], diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js index 8a77b1d143..a52fb3f4d0 100644 --- a/chrome/content/zotero/bibliography.js +++ b/chrome/content/zotero/bibliography.js @@ -110,13 +110,19 @@ var Zotero_File_Interface_Bibliography = new function() { document.getElementById("fields").label = Zotero.getString("integration."+formatOption+".label"); document.getElementById("fields-caption").textContent = Zotero.getString("integration."+formatOption+".caption"); - // add border on Windows if(Zotero.isWin) { + // add border on Windows document.getElementById("zotero-doc-prefs-dialog").style.border = "1px solid black"; } } - window.sizeToContent(); - window.centerWindowOnScreen(); + + // Center popup manually after a delay on Windows, since window + // isn't resizable and there might be a persisted position + if (Zotero.isWin) { + setTimeout(function () { + window.centerWindowOnScreen(); + }, 1); + } } /* diff --git a/chrome/content/zotero/bindings/relatedbox.xml b/chrome/content/zotero/bindings/relatedbox.xml index f1d91adc40..9f0ab20eb2 100644 --- a/chrome/content/zotero/bindings/relatedbox.xml +++ b/chrome/content/zotero/bindings/relatedbox.xml @@ -138,8 +138,12 @@ + style="padding:2em" + persist="screenX screenY">