Addresses #726, Localize remaining hard-coded strings
Added all strings identified in BZ forum post
This commit is contained in:
parent
90f8febf53
commit
c48807bf6e
|
@ -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;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
@ -251,10 +252,11 @@
|
|||
<![CDATA[
|
||||
var v = this.id('seeAlso').summary;
|
||||
|
||||
if(!v || v == "")
|
||||
v = "[click here]";
|
||||
if (!v || v == "") {
|
||||
v = "[" + Zotero.getString('pane.item.noteEditor.clickHere') + "]";
|
||||
}
|
||||
|
||||
this.id('seeAlsoLabel').value = "Related: " + v;
|
||||
this.id('seeAlsoLabel').value = Zotero.getString('pane.item.related') + " " + v;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
|
@ -2,11 +2,14 @@
|
|||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
||||
|
||||
<window
|
||||
id="zotero-note-window"
|
||||
orient="vertical"
|
||||
width="400"
|
||||
height="250"
|
||||
title="&zotero.items.menu.attach.note;"
|
||||
persist="screenX screenY width height"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ To add a new preference:
|
|||
<radiogroup id="statusBarIcon" orient="horizontal" preference="pref-statusBarIcon">
|
||||
<radio src="chrome://zotero/skin/zotero_status_bar.png" value="2"/>
|
||||
<radio src="chrome://zotero/skin/zotero_status_bar_compact.png" value="1"/>
|
||||
<radio label="None" value="0"/>
|
||||
<radio label="&zotero.preferences.statusBarIcon.none;" value="0"/>
|
||||
</radiogroup>
|
||||
</row>
|
||||
</rows>
|
||||
|
@ -125,7 +125,7 @@ To add a new preference:
|
|||
<groupbox>
|
||||
<caption label="&zotero.preferences.openurl.caption;"/>
|
||||
|
||||
<button id="openURLSearchButton" label="Search for resolvers" oncommand="populateOpenURLResolvers()"/>
|
||||
<button id="openURLSearchButton" label="&zotero.preferences.openurl.search;" oncommand="populateOpenURLResolvers()"/>
|
||||
<menulist id="openURLMenu" oncommand="onOpenURLSelected();">
|
||||
<menupopup>
|
||||
<menuseparator/>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<dialog
|
||||
id="zotero-select-items-dialog"
|
||||
title="Select"
|
||||
title="&zotero.selectitems.title;"
|
||||
orient="vertical"
|
||||
width="600" height="450"
|
||||
buttons="cancel,accept"
|
||||
|
|
|
@ -449,8 +449,8 @@ Zotero.Schema = new function(){
|
|||
Zotero.DB.query(sql);
|
||||
var sql = "INSERT INTO itemAttachments VALUES(123456789, NULL, 3, 'text/html', 25, NULL, NULL)";
|
||||
Zotero.DB.query(sql);
|
||||
var sql = "INSERT INTO itemDataValues VALUES (1, 'Zotero - Quick Start Guide')";
|
||||
Zotero.DB.query(sql);
|
||||
var sql = "INSERT INTO itemDataValues VALUES (?, ?)";
|
||||
Zotero.DB.query(sql, [1, "Zotero - " + Zotero.getString('install.quickStartGuide')]);
|
||||
var sql = "INSERT INTO itemData VALUES(123456789, 110, 1)";
|
||||
Zotero.DB.query(sql);
|
||||
var sql = "INSERT INTO itemDataValues VALUES (2, 'http://www.zotero.org/documentation/quick_start_guide')";
|
||||
|
@ -462,7 +462,7 @@ Zotero.Schema = new function(){
|
|||
var sql = "INSERT INTO itemData VALUES(123456789, 27, 3)";
|
||||
Zotero.DB.query(sql);
|
||||
var sql = "INSERT INTO itemNotes (itemID, sourceItemID, note) VALUES(123456789, NULL, ?)";
|
||||
var msg = "Welcome to Zotero! Click the \"View Page\" button above to visit our Quick Start Guide and learn how to get started collecting, managing, and citing your research.\n\nThanks for trying Zotero, and be sure to tell your friends about it.";
|
||||
var msg = Zotero.getString('install.quickStartGuide.message');
|
||||
Zotero.DB.query(sql, msg);
|
||||
Zotero.DB.commitTransaction();
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<!ENTITY zotero.preferences.position.below "below">
|
||||
<!ENTITY zotero.preferences.position.browser "browser content">
|
||||
<!ENTITY zotero.preferences.statusBarIcon "Status bar icon:">
|
||||
<!ENTITY zotero.preferences.statusBarIcon.none "None">
|
||||
<!ENTITY zotero.preferences.fontSize "Font size:">
|
||||
<!ENTITY zotero.preferences.fontSize.small "Small">
|
||||
<!ENTITY zotero.preferences.fontSize.medium "Medium">
|
||||
|
@ -25,6 +26,8 @@
|
|||
<!ENTITY zotero.preferences.automaticTags "Automatically tag items with keywords and subject headings">
|
||||
|
||||
<!ENTITY zotero.preferences.openurl.caption "OpenURL">
|
||||
|
||||
<!ENTITY zotero.preferences.openurl.search "Search for resolvers">
|
||||
<!ENTITY zotero.preferences.openurl.custom "Custom...">
|
||||
<!ENTITY zotero.preferences.openurl.server "Resolver:">
|
||||
<!ENTITY zotero.preferences.openurl.version "Version:">
|
||||
|
|
|
@ -21,6 +21,9 @@ general.passed = Passed
|
|||
general.failed = Failed
|
||||
general.and = and
|
||||
|
||||
install.quickStartGuide = Quick Start Guide
|
||||
install.quickStartGuide.message = Welcome to Zotero! Click the "View Page" button above to visit our Quick Start Guide and learn how to get started collecting, managing, and citing your research.\n\nThanks for trying Zotero, and be sure to tell your friends about it.
|
||||
|
||||
upgrade.failed = Upgrading of the Zotero database failed:
|
||||
upgrade.advanceMessage = Press %S to upgrade now.
|
||||
|
||||
|
@ -117,15 +120,20 @@ pane.item.attachments.count.zero = %S attachments:
|
|||
pane.item.attachments.count.singular = %S attachment:
|
||||
pane.item.attachments.count.plural = %S attachments:
|
||||
pane.item.attachments.select = Select a File
|
||||
pane.item.noteEditor.clickHere = click here
|
||||
pane.item.tags = Tags:
|
||||
pane.item.tags.count.zero = %S tags:
|
||||
pane.item.tags.count.singular = %S tag:
|
||||
pane.item.tags.count.plural = %S tags:
|
||||
pane.item.tags.icon.user = User-added tag
|
||||
pane.item.tags.icon.automatic = Automatically added tag
|
||||
pane.item.related = Related:
|
||||
pane.item.related.count.zero = %S related:
|
||||
pane.item.related.count.singular = %S related:
|
||||
pane.item.related.count.plural = %S related:
|
||||
|
||||
noteEditor.editNote = Edit Note
|
||||
|
||||
itemTypes.note = Note
|
||||
itemTypes.attachment = Attachment
|
||||
itemTypes.book = Book
|
||||
|
|
Loading…
Reference in New Issue
Block a user