From c48807bf6e5f46190a4b311d35a3e2d154d1f6f5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 22 Aug 2007 16:30:43 +0000 Subject: [PATCH] Addresses #726, Localize remaining hard-coded strings Added all strings identified in BZ forum post --- chrome/content/zotero/bindings/noteeditor.xml | 14 ++++++++------ chrome/content/zotero/note.xul | 3 +++ chrome/content/zotero/preferences/preferences.xul | 4 ++-- chrome/content/zotero/selectItemsDialog.xul | 2 +- chrome/content/zotero/xpcom/schema.js | 6 +++--- chrome/locale/en-US/zotero/preferences.dtd | 3 +++ chrome/locale/en-US/zotero/zotero.properties | 8 ++++++++ 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index 528187ebd..2b12650b5 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -228,10 +228,11 @@ // TODO: localize var v = this.id('tags').summary; - if(!v || v == "") - v = "[click here]"; + if (!v || v == "") { + v = "[" + Zotero.getString('pane.item.noteEditor.clickHere') + "]"; + } - this.id('tagsLabel').value = "Tags: " + v; + this.id('tagsLabel').value = Zotero.getString('pane.item.tags') + " " + v; ]]> @@ -251,10 +252,11 @@ diff --git a/chrome/content/zotero/note.xul b/chrome/content/zotero/note.xul index 9e603dd6b..1823dd8b6 100644 --- a/chrome/content/zotero/note.xul +++ b/chrome/content/zotero/note.xul @@ -2,11 +2,14 @@ + + diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index 072ccdf24..dc8500734 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -98,7 +98,7 @@ To add a new preference: - + @@ -125,7 +125,7 @@ To add a new preference: -