From: Aleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Date: Fri, 21 Mar 2014 15:16:21 +0000 (+0100)
Subject: Editor update: Saving and restoring local draft of a document
X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/8a2da2583650c08344a57a661ea56cca1c22c649?ds=sidebyside;hp=e8021e75c8ccc5b4a17c838e4956907aaa8d8d99

Editor update: Saving and restoring local draft of a document
---

diff --git a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo
index b0a221ab..4d92aa11 100644
Binary files a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo and b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo differ
diff --git a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po
index 6659c6e6..3f60ea0a 100644
--- a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po
+++ b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-12-31 12:49+0100\n"
+"POT-Creation-Date: 2014-02-28 15:04+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -91,10 +91,49 @@ msgstr "edytor"
 #: static/wiki/editor/src/editor/modules/rng/rng.js:255
 msgid "Do you really want to exit?"
 msgstr "Czy na pewno chcesz zakończyć pracę?"
-#: static/wiki/editor/src/editor/modules/data/dialog.html:10
-msgid "Cancel"
-msgstr "Anuluj"
 
 #: static/wiki/editor/src/editor/modules/rng/rng.js:257
 msgid "Document contains unsaved changes!"
 msgstr "Dokument zawiera niezapisane zmiany"
+
+#: static/wiki/editor/src/editor/modules/data/data.js:116
+msgid "Local draft of a document exists"
+msgstr "Istnieje kopia lokalna dokumentu"
+
+#: static/wiki/editor/src/editor/modules/data/data.js:117
+msgid ""
+"Unsaved local draft of this version of the document exists in your browser. "
+"Do you want to load it instead?"
+msgstr "Twoja przeglądarka posiada niezapisaną jeszcze na serwerze lokalną kopię tej wersji dokumentu. Czy chcesz jej teraz użyć?"
+
+#: static/wiki/editor/src/editor/modules/data/data.js:118
+msgid "Yes, restore local draft"
+msgstr "Tak, chcę użyć lokalną kopię"
+
+#: static/wiki/editor/src/editor/modules/data/data.js:119
+msgid "No, use version loaded from the server"
+msgstr "Nie, chcę załadować wersję z serwera"
+
+#: static/wiki/editor/src/editor/modules/data/dialog.js:30
+msgid "Submit"
+msgstr "Zatwierdź"
+
+#: static/wiki/editor/src/editor/modules/data/dialog.js:31
+msgid "Cancel"
+msgstr "Anuluj"
+
+#: static/wiki/editor/src/editor/modules/rng/rng.js:104
+msgid "Saving document"
+msgstr "Zapisywanie dokumentu"
+
+#: static/wiki/editor/src/editor/modules/rng/rng.js:105
+msgid "Saving local copy"
+msgstr "Zapisywanie kopii lokalnej"
+
+#: static/wiki/editor/src/editor/modules/rng/rng.js:113
+msgid "Document saved"
+msgstr "Dokument zapisany"
+
+#: static/wiki/editor/src/editor/modules/rng/rng.js:114
+msgid "Local copy saved"
+msgstr "Kopia lokalna zapisana"
diff --git a/apps/wiki/static/wiki/editor b/apps/wiki/static/wiki/editor
index 432da106..49752f40 160000
--- a/apps/wiki/static/wiki/editor
+++ b/apps/wiki/static/wiki/editor
@@ -1 +1 @@
-Subproject commit 432da106a4167b35113341fcb7d275ed53671480
+Subproject commit 49752f4017dbd3a15b36634541010a029a73a744