';
+ throw e;
}
var itemIds = [items[i].id for (i in items)];
@@ -167,10 +157,10 @@ var Zotero_CSL_Editor = new function() {
var search = document.getElementById('preview-pages');
var loc = document.getElementById('zotero-csl-page-type');
var pos = document.getElementById('zotero-ref-position').selectedItem.value;
- var citations = '
';
return;
}
var progressWin = new Zotero.ProgressWindow();
diff --git a/chrome/content/zotero/tools/cslpreview.xul b/chrome/content/zotero/tools/cslpreview.xul
index 4851e5b71..0b984577a 100644
--- a/chrome/content/zotero/tools/cslpreview.xul
+++ b/chrome/content/zotero/tools/cslpreview.xul
@@ -27,37 +27,37 @@
-
+ %cslpreviewDTD;
+ %zoteroDTD;
+]>
+ title="&styles.preview;">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
diff --git a/chrome/locale/en-US/zotero/csledit.dtd b/chrome/locale/en-US/zotero/csledit.dtd
new file mode 100644
index 000000000..3d55e217f
--- /dev/null
+++ b/chrome/locale/en-US/zotero/csledit.dtd
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/chrome/locale/en-US/zotero/cslpreview.dtd b/chrome/locale/en-US/zotero/cslpreview.dtd
index a074b11bf..457b70e19 100644
--- a/chrome/locale/en-US/zotero/cslpreview.dtd
+++ b/chrome/locale/en-US/zotero/cslpreview.dtd
@@ -1,10 +1,9 @@
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/chrome/locale/en-US/zotero/zotero.dtd b/chrome/locale/en-US/zotero/zotero.dtd
index 98cfc269b..4c509ec00 100644
--- a/chrome/locale/en-US/zotero/zotero.dtd
+++ b/chrome/locale/en-US/zotero/zotero.dtd
@@ -6,6 +6,8 @@
+
+
@@ -288,5 +290,3 @@
-
-
diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties
index db722c0bc..b9b025eea 100644
--- a/chrome/locale/en-US/zotero/zotero.properties
+++ b/chrome/locale/en-US/zotero/zotero.properties
@@ -969,5 +969,11 @@ firstRunGuidance.quickFormatMac = Type a title or author to search for a referen
firstRunGuidance.toolbarButton.new = Click here to open Zotero, or use the %S keyboard shortcut.
firstRunGuidance.toolbarButton.upgrade = The Zotero icon can now be found in the Firefox toolbar. Click the icon to open Zotero, or use the %S keyboard shortcut.
-cslpreview.instruction = Select one or more items in Zotero and click the "Refresh" button to see how these items are rendered by the installed CSL citation styles.
-cslpreview.warning.noItems = No items selected in Zotero.
+styles.bibliography = Bibliography
+styles.editor.save = Save Citation Style
+styles.editor.warning.noItems = No items selected in Zotero.
+styles.editor.warning.parseError = Error parsing style:
+styles.editor.warning.renderError = Error generating citations and bibliography:
+styles.editor.output.individualCitations = Individual Citations
+styles.editor.output.singleCitation = Single Citation (with position "first")
+styles.preview.instructions = Select one or more items in Zotero and click the "Refresh" button to see how these items are rendered by the installed CSL citation styles.