From 6408762b12ded338903f25116352f9a55d020415 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 16 May 2008 09:14:11 +0000 Subject: [PATCH] Merged revisions 2640-2647,2651,2653-2654,2656-2658,2660-2667,2670-2672,2674-2677,2680,2683-2684,2687-2704,2707 to trunk via svnmerge from 1.0 branch --- chrome.manifest | 7 +- chrome/content/zotero/about.xul | 122 +- chrome/content/zotero/addCitationDialog.xul | 61 +- .../content/zotero/bindings/tagselector.xml | 13 +- chrome/content/zotero/overlay.js | 28 +- chrome/content/zotero/overlay.xul | 17 +- chrome/content/zotero/xpcom/attachments.js | 34 +- chrome/content/zotero/xpcom/schema.js | 34 +- chrome/content/zotero/xpcom/zotero.js | 10 +- chrome/locale/af-ZA/zotero/zotero.dtd | 12 +- chrome/locale/ar/zotero/about.dtd | 4 +- chrome/locale/ar/zotero/preferences.dtd | 42 +- chrome/locale/ar/zotero/zotero.dtd | 38 +- chrome/locale/ar/zotero/zotero.properties | 90 +- chrome/locale/bg-BG/zotero/preferences.dtd | 2 +- chrome/locale/bg-BG/zotero/zotero.dtd | 10 +- chrome/locale/bg-BG/zotero/zotero.properties | 6 +- chrome/locale/ca-AD/zotero/preferences.dtd | 2 +- chrome/locale/ca-AD/zotero/zotero.dtd | 14 +- chrome/locale/ca-AD/zotero/zotero.properties | 2 +- chrome/locale/cs-CZ/zotero/about.dtd | 18 +- chrome/locale/cs-CZ/zotero/preferences.dtd | 140 +- chrome/locale/cs-CZ/zotero/searchbox.dtd | 36 +- .../locale/cs-CZ/zotero/timeline.properties | 38 +- chrome/locale/cs-CZ/zotero/zotero.dtd | 248 +- chrome/locale/cs-CZ/zotero/zotero.properties | 864 ++--- chrome/locale/da-DK/zotero/zotero.dtd | 12 +- chrome/locale/de-AT/zotero/zotero.dtd | 12 +- chrome/locale/de-AT/zotero/zotero.properties | 2 +- chrome/locale/de-CH/zotero/zotero.dtd | 12 +- chrome/locale/de-CH/zotero/zotero.properties | 2 +- chrome/locale/de-DE/zotero/preferences.dtd | 4 +- .../locale/de-DE/zotero/timeline.properties | 2 +- chrome/locale/de-DE/zotero/zotero.dtd | 12 +- chrome/locale/de-DE/zotero/zotero.properties | 6 +- chrome/locale/el-GR/zotero/about.dtd | 20 +- chrome/locale/el-GR/zotero/searchbox.dtd | 34 +- chrome/locale/el-GR/zotero/zotero.dtd | 12 +- chrome/locale/en-US/zotero/zotero.dtd | 3 + chrome/locale/es-ES/zotero/preferences.dtd | 2 +- chrome/locale/es-ES/zotero/zotero.dtd | 10 +- chrome/locale/es-ES/zotero/zotero.properties | 2 +- chrome/locale/et-EE/zotero/zotero.dtd | 12 +- chrome/locale/fi-FI/zotero/about.dtd | 10 + chrome/locale/fi-FI/zotero/preferences.dtd | 92 + chrome/locale/fi-FI/zotero/searchbox.dtd | 23 + .../locale/fi-FI/zotero/timeline.properties | 21 + chrome/locale/fi-FI/zotero/zotero.dtd | 153 + chrome/locale/fi-FI/zotero/zotero.properties | 495 +++ chrome/locale/fr-FR/zotero/preferences.dtd | 4 +- chrome/locale/fr-FR/zotero/zotero.dtd | 14 +- chrome/locale/fr-FR/zotero/zotero.properties | 2 +- chrome/locale/gl-ES/zotero/about.dtd | 10 + chrome/locale/gl-ES/zotero/preferences.dtd | 92 + chrome/locale/gl-ES/zotero/searchbox.dtd | 23 + .../locale/gl-ES/zotero/timeline.properties | 21 + chrome/locale/gl-ES/zotero/zotero.dtd | 153 + chrome/locale/gl-ES/zotero/zotero.properties | 495 +++ chrome/locale/he-IL/zotero/about.dtd | 2 +- chrome/locale/he-IL/zotero/preferences.dtd | 8 +- chrome/locale/he-IL/zotero/zotero.dtd | 22 +- chrome/locale/he-IL/zotero/zotero.properties | 46 +- chrome/locale/hr-HR/zotero/about.dtd | 10 + chrome/locale/hr-HR/zotero/preferences.dtd | 92 + chrome/locale/hr-HR/zotero/searchbox.dtd | 23 + .../locale/hr-HR/zotero/timeline.properties | 21 + chrome/locale/hr-HR/zotero/zotero.dtd | 153 + chrome/locale/hr-HR/zotero/zotero.properties | 495 +++ chrome/locale/hu-HU/zotero/preferences.dtd | 2 +- chrome/locale/hu-HU/zotero/zotero.dtd | 10 +- chrome/locale/hu-HU/zotero/zotero.properties | 4 +- chrome/locale/is-IS/zotero/zotero.dtd | 12 +- chrome/locale/it-IT/zotero/preferences.dtd | 20 +- chrome/locale/it-IT/zotero/zotero.dtd | 10 +- chrome/locale/it-IT/zotero/zotero.properties | 26 +- chrome/locale/ja-JP/zotero/preferences.dtd | 16 +- chrome/locale/ja-JP/zotero/zotero.dtd | 12 +- chrome/locale/ja-JP/zotero/zotero.properties | 4 +- chrome/locale/ko-KR/zotero/preferences.dtd | 4 +- chrome/locale/ko-KR/zotero/zotero.dtd | 12 +- chrome/locale/ko-KR/zotero/zotero.properties | 18 +- chrome/locale/mn-MN/zotero/about.dtd | 20 +- chrome/locale/mn-MN/zotero/preferences.dtd | 24 +- chrome/locale/mn-MN/zotero/searchbox.dtd | 34 +- .../locale/mn-MN/zotero/timeline.properties | 38 +- chrome/locale/mn-MN/zotero/zotero.dtd | 72 +- chrome/locale/mn-MN/zotero/zotero.properties | 184 +- chrome/locale/nb-NO/zotero/preferences.dtd | 70 +- chrome/locale/nb-NO/zotero/searchbox.dtd | 4 +- .../locale/nb-NO/zotero/timeline.properties | 14 +- chrome/locale/nb-NO/zotero/zotero.dtd | 104 +- chrome/locale/nb-NO/zotero/zotero.properties | 108 +- chrome/locale/nl-NL/zotero/preferences.dtd | 4 +- chrome/locale/nl-NL/zotero/zotero.dtd | 12 +- chrome/locale/nl-NL/zotero/zotero.properties | 2 +- chrome/locale/pl-PL/zotero/preferences.dtd | 2 +- chrome/locale/pl-PL/zotero/zotero.dtd | 14 +- chrome/locale/pl-PL/zotero/zotero.properties | 2 +- chrome/locale/pt-BR/zotero/zotero.dtd | 12 +- chrome/locale/pt-PT/zotero/about.dtd | 12 +- chrome/locale/pt-PT/zotero/preferences.dtd | 144 +- chrome/locale/pt-PT/zotero/searchbox.dtd | 36 +- .../locale/pt-PT/zotero/timeline.properties | 38 +- chrome/locale/pt-PT/zotero/zotero.dtd | 256 +- chrome/locale/pt-PT/zotero/zotero.properties | 884 ++--- chrome/locale/ro-RO/zotero/preferences.dtd | 2 +- chrome/locale/ro-RO/zotero/zotero.dtd | 10 +- chrome/locale/ro-RO/zotero/zotero.properties | 4 +- chrome/locale/ru-RU/zotero/preferences.dtd | 2 +- chrome/locale/ru-RU/zotero/zotero.dtd | 10 +- chrome/locale/ru-RU/zotero/zotero.properties | 2 +- chrome/locale/sl-SI/zotero/about.dtd | 10 + chrome/locale/sl-SI/zotero/preferences.dtd | 92 + chrome/locale/sl-SI/zotero/searchbox.dtd | 23 + .../locale/sl-SI/zotero/timeline.properties | 21 + chrome/locale/sl-SI/zotero/zotero.dtd | 153 + chrome/locale/sl-SI/zotero/zotero.properties | 495 +++ chrome/locale/sr-RS/zotero/about.dtd | 10 + chrome/locale/sr-RS/zotero/preferences.dtd | 92 + chrome/locale/sr-RS/zotero/searchbox.dtd | 23 + .../locale/sr-RS/zotero/timeline.properties | 21 + chrome/locale/sr-RS/zotero/zotero.dtd | 153 + chrome/locale/sr-RS/zotero/zotero.properties | 495 +++ chrome/locale/sv-SE/zotero/about.dtd | 8 +- chrome/locale/sv-SE/zotero/preferences.dtd | 106 +- chrome/locale/sv-SE/zotero/searchbox.dtd | 10 +- .../locale/sv-SE/zotero/timeline.properties | 16 +- chrome/locale/sv-SE/zotero/zotero.dtd | 94 +- chrome/locale/sv-SE/zotero/zotero.properties | 386 +-- chrome/locale/th-TH/zotero/about.dtd | 8 +- chrome/locale/th-TH/zotero/preferences.dtd | 68 +- chrome/locale/th-TH/zotero/searchbox.dtd | 10 +- .../locale/th-TH/zotero/timeline.properties | 10 +- chrome/locale/th-TH/zotero/zotero.dtd | 86 +- chrome/locale/th-TH/zotero/zotero.properties | 158 +- chrome/locale/tr-TR/zotero/preferences.dtd | 16 +- chrome/locale/tr-TR/zotero/zotero.dtd | 10 +- chrome/locale/tr-TR/zotero/zotero.properties | 24 +- chrome/locale/vi-VN/zotero/zotero.dtd | 10 +- chrome/locale/zh-CN/zotero/about.dtd | 2 +- chrome/locale/zh-CN/zotero/preferences.dtd | 8 +- .../locale/zh-CN/zotero/timeline.properties | 8 +- chrome/locale/zh-CN/zotero/zotero.dtd | 14 +- chrome/locale/zh-TW/zotero/preferences.dtd | 2 +- chrome/locale/zh-TW/zotero/zotero.dtd | 10 +- chrome/locale/zh-TW/zotero/zotero.properties | 2 +- scrapers.sql | 2964 +++++++++++++---- 147 files changed, 9053 insertions(+), 3366 deletions(-) create mode 100644 chrome/locale/fi-FI/zotero/about.dtd create mode 100644 chrome/locale/fi-FI/zotero/preferences.dtd create mode 100644 chrome/locale/fi-FI/zotero/searchbox.dtd create mode 100644 chrome/locale/fi-FI/zotero/timeline.properties create mode 100644 chrome/locale/fi-FI/zotero/zotero.dtd create mode 100644 chrome/locale/fi-FI/zotero/zotero.properties create mode 100644 chrome/locale/gl-ES/zotero/about.dtd create mode 100644 chrome/locale/gl-ES/zotero/preferences.dtd create mode 100644 chrome/locale/gl-ES/zotero/searchbox.dtd create mode 100644 chrome/locale/gl-ES/zotero/timeline.properties create mode 100644 chrome/locale/gl-ES/zotero/zotero.dtd create mode 100644 chrome/locale/gl-ES/zotero/zotero.properties create mode 100644 chrome/locale/hr-HR/zotero/about.dtd create mode 100644 chrome/locale/hr-HR/zotero/preferences.dtd create mode 100644 chrome/locale/hr-HR/zotero/searchbox.dtd create mode 100644 chrome/locale/hr-HR/zotero/timeline.properties create mode 100644 chrome/locale/hr-HR/zotero/zotero.dtd create mode 100644 chrome/locale/hr-HR/zotero/zotero.properties create mode 100644 chrome/locale/sl-SI/zotero/about.dtd create mode 100644 chrome/locale/sl-SI/zotero/preferences.dtd create mode 100644 chrome/locale/sl-SI/zotero/searchbox.dtd create mode 100644 chrome/locale/sl-SI/zotero/timeline.properties create mode 100644 chrome/locale/sl-SI/zotero/zotero.dtd create mode 100644 chrome/locale/sl-SI/zotero/zotero.properties create mode 100644 chrome/locale/sr-RS/zotero/about.dtd create mode 100644 chrome/locale/sr-RS/zotero/preferences.dtd create mode 100644 chrome/locale/sr-RS/zotero/searchbox.dtd create mode 100644 chrome/locale/sr-RS/zotero/timeline.properties create mode 100644 chrome/locale/sr-RS/zotero/zotero.dtd create mode 100644 chrome/locale/sr-RS/zotero/zotero.properties diff --git a/chrome.manifest b/chrome.manifest index 0e036af269..f799d93776 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -14,8 +14,11 @@ locale zotero de-DE chrome/locale/de-DE/zotero/ locale zotero el-GR chrome/locale/el-GR/zotero/ locale zotero es-ES chrome/locale/es-ES/zotero/ locale zotero et-EE chrome/locale/et-EE/zotero/ +locale zotero fi-FI chrome/locale/fi-FI/zotero/ locale zotero fr-FR chrome/locale/fr-FR/zotero/ +locale zotero gl-ES chrome/locale/gl-ES/zotero/ locale zotero he-IL chrome/locale/he-IL/zotero/ +locale zotero hr-HR chrome/locale/hr-HR/zotero/ locale zotero hu-HU chrome/locale/hu-HU/zotero/ locale zotero is-IS chrome/locale/is-IS/zotero/ locale zotero it-IT chrome/locale/it-IT/zotero/ @@ -29,9 +32,11 @@ 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 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 th-TH chrome/locale/th-TH/zotero/ locale zotero tr-TR chrome/locale/tr-TR/zotero/ locale zotero vi-VN chrome/locale/vi-VN/zotero/ locale zotero zh-CN chrome/locale/zh-CN/zotero/ diff --git a/chrome/content/zotero/about.xul b/chrome/content/zotero/about.xul index 675da5958f..0290c8dfdf 100644 --- a/chrome/content/zotero/about.xul +++ b/chrome/content/zotero/about.xul @@ -18,138 +18,163 @@ function onLoad() { var translators = { - afAZ: [ + "af-ZA": [ "Samuel Murray" ], - ar: [ + "ar": [ "Khaled Fadhel" ], - bgBG: [ + "bg-BG": [ "Peter Stoilov" ], - caAD: [ + "ca-AD": [ "Joan Junyent" ], - daDK: [ + "cs-CZ": [ + "loyz", + "ffvii" + ], + + "da-DK": [ "Banta" ], - deAT: [ + "de-AT": [ "stw" ], - deCH: [ + "de-CH": [ "stw" ], - deDE: [ + "de-DE": [ "Harald Kliems", "Jason Verber", - "stw" + "Helga" ], - elGR: [ - "geraki" + "el-GR": [ + "geraki", + "sarandos" ], - esES: [ + "es-ES": [ "Alberto González Palomo" ], - etEE: [ + "et-EE": [ "brainbulb" ], - frFR: [ + "fi-FI": [ + "hirvela" + ], + + "fr-FR": [ "Pascal Pichon", "Jojaba", "La Luciole" ], - heIL: [ + "gl-ES": [ + "Manuel Meixide" + ], + + "he-IL": [ "Doron Tilleman" ], - huHU: [ - "tdombos" + "hu-HU": [ + "Tamas Dombos" ], - itIT: [ + "it-IT": [ "Andrea", "Elisabetta Manuele", "Giuliano Masseroni", "Luca Pedrazzi" ], - jaJP: [ + "ja-JP": [ "Andreas Bovens", - "Michael Schiltz" + "Michael Schiltz", + "ehito" ], - koKR: [ - "Wtspout" + "ko-KR": [ + "wtspout" ], - mnMN: [ - "cybermon" + "mn-MN": [ + "L. Gantulga" ], - nbNO: [ - "Finn Arne Jørgensen" + "nb-NO": [ + "Finn Arne Jørgensen", + "Bernt Øyvind Thorvaldsen" ], - nlNL: [ + "nl-NL": [ "Andreas Bovens", "Michael Schiltz", "Rintze Zelle" ], - plPL: [ + "pl-PL": [ "Pawel Krzyworzeka", "Trevor Owens" ], - ptBR: [ + "pt-BR": [ "Humberto Sartini" ], - ptPT: [ + "pt-PT": [ + "Manuel Menezes de Sequeira", "gandrenf", - "XRex" + "tmfs" ], - roRO: [ + "ro-RO": [ "Turcan" ], - ruRU: [ - "Yar" + "ru-RU": [ + "Yaroslav" ], - srYU: [ + "sl-SI": [ + "Martin Srebotnjak" + ], + + "sr-RS": [ "Igor Miletic" ], - - svSE: [ + + "sv-SE": [ "Erik Stattin" ], - trTR: [ + "tr-TR": [ "Zeki Celikbas" ], - zhCN: [ - "liyan", - "Wenping Guo" + "vi-VN": [ + "Đoàn Như Tùng" ], - zhTW: [ + "zh-CN": [ + "Wenping Guo", + "liyan" + ], + + "zh-TW": [ "Chun-Chung Chen", - "coolcd" + "Alen Cheng" ] }; @@ -157,13 +182,8 @@ for (var locale in translators) { var heading = document.createElement('label'); - var str = locale.substr(0, 2); - if (locale.substr(2)) { - str += '-' + locale.substr(2); - } - str += ':'; heading.className = 'locale'; - heading.setAttribute('value', str); + heading.setAttribute('value', locale + ':'); box.appendChild(heading); for each(var person in translators[locale]) { @@ -195,12 +215,14 @@