commit a47bd9590355243b598196ffa2ef26cf79d1714d
parent d1ef5431ace7f969252b720851c7c0d289989e0e
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 5 Nov 2013 16:16:31 -0500
Localize full-text sync strings
Diffstat:
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/chrome/content/zotero/preferences/preferences_sync.xul b/chrome/content/zotero/preferences/preferences_sync.xul
@@ -80,10 +80,9 @@
<row>
<box/>
<vbox>
- <!-- TODO: localize -->
- <checkbox label="Sync full-text content"
+ <checkbox label="&zotero.preferences.sync.syncFullTextContent;"
preference="pref-sync-fulltext-enabled"
- tooltiptext="Zotero can sync the full-text content of files in your Zotero libraries with zotero.org and other linked devices, allowing you to easily search for your files wherever you are. The full-text content of your files will not be shared publicly."/>
+ tooltiptext="&zotero.preferences.sync.syncFullTextContent.desc;"/>
</vbox>
</row>
<!--
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js
@@ -1381,16 +1381,12 @@ Zotero.Sync.Server = new function () {
+ ps.BUTTON_DELAY_ENABLE;
let index = ps.confirmEx(
null,
- "New: Full-Text Content Syncing",
- "Zotero can now sync the full-text content of files in your Zotero libraries "
- + "with zotero.org and other linked devices, allowing you to easily search for "
- + "your files wherever you are. The full-text content of your files will "
- + "not be shared publicly.\n\n"
- + "You can change this setting later from the Sync pane of the Zotero "
- + "preferences.",
+ Zotero.getString('sync.fulltext.upgradePrompt.title'),
+ Zotero.getString('sync.fulltext.upgradePrompt.text') + "\n\n"
+ + Zotero.getString('sync.fulltext.upgradePrompt.changeLater'),
buttonFlags,
- "Use Full-Text Syncing",
- "Not Now",
+ Zotero.getString('sync.fulltext.upgradePrompt.enable'),
+ Zotero.getString('general.notNow'),
null, null, {}
);
diff --git a/chrome/locale/en-US/zotero/preferences.dtd b/chrome/locale/en-US/zotero/preferences.dtd
@@ -55,6 +55,8 @@
<!ENTITY zotero.preferences.sync.createAccount "Create Account">
<!ENTITY zotero.preferences.sync.lostPassword "Lost Password?">
<!ENTITY zotero.preferences.sync.syncAutomatically "Sync automatically">
+<!ENTITY zotero.preferences.sync.syncFullTextContent "Sync full-text content">
+<!ENTITY zotero.preferences.sync.syncFullTextContent.desc "Zotero can sync the full-text content of files in your Zotero libraries with zotero.org and other linked devices, allowing you to easily search for your files wherever you are. The full-text content of your files will not be shared publicly.">
<!ENTITY zotero.preferences.sync.about "About Syncing">
<!ENTITY zotero.preferences.sync.fileSyncing "File Syncing">
<!ENTITY zotero.preferences.sync.fileSyncing.url "URL:">
diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties
@@ -27,6 +27,7 @@ general.updateAvailable = Update Available
general.upgrade = Upgrade
general.yes = Yes
general.no = No
+general.notNow = Not Now
general.passed = Passed
general.failed = Failed
general.and = and
@@ -811,6 +812,11 @@ sync.status.uploadingData = Uploading data to sync server
sync.status.uploadAccepted = Upload accepted \u2014 waiting for sync server
sync.status.syncingFiles = Syncing files
+sync.fulltext.upgradePrompt.title = New: Full-Text Content Syncing
+sync.fulltext.upgradePrompt.text = Zotero can now sync the full-text content of files in your Zotero libraries with zotero.org and other linked devices, allowing you to easily search for your files wherever you are. The full-text content of your files will not be shared publicly.
+sync.fulltext.upgradePrompt.changeLater = You can change this setting later from the Sync pane of the Zotero preferences.
+sync.fulltext.upgradePrompt.enable = Use Full-Text Syncing
+
sync.storage.mbRemaining = %SMB remaining
sync.storage.kbRemaining = %SKB remaining
sync.storage.filesRemaining = %1$S/%2$S files