Bläddra i källkod

Merge branch 'dev'

Denis K 8 år sedan
förälder
incheckning
328a94e394
39 ändrade filer med 1889 tillägg och 8 borttagningar
  1. 11 0
      CHANGELOG.rst
  2. 1 1
      jet/__init__.py
  3. BIN
      jet/dashboard/locale/ar/LC_MESSAGES/django.mo
  4. 393 0
      jet/dashboard/locale/ar/LC_MESSAGES/django.po
  5. BIN
      jet/dashboard/locale/ar/LC_MESSAGES/djangojs.mo
  6. 30 0
      jet/dashboard/locale/ar/LC_MESSAGES/djangojs.po
  7. BIN
      jet/dashboard/locale/pl/LC_MESSAGES/django.mo
  8. 490 0
      jet/dashboard/locale/pl/LC_MESSAGES/django.po
  9. BIN
      jet/dashboard/locale/zh_cn/LC_MESSAGES/django.mo
  10. 488 0
      jet/dashboard/locale/zh_cn/LC_MESSAGES/django.po
  11. 1 1
      jet/forms.py
  12. BIN
      jet/locale/ar/LC_MESSAGES/django.mo
  13. 71 0
      jet/locale/ar/LC_MESSAGES/django.po
  14. BIN
      jet/locale/ar/LC_MESSAGES/djangojs.mo
  15. 47 0
      jet/locale/ar/LC_MESSAGES/djangojs.po
  16. BIN
      jet/locale/pl/LC_MESSAGES/django.mo
  17. 164 0
      jet/locale/pl/LC_MESSAGES/django.po
  18. BIN
      jet/locale/pl/LC_MESSAGES/djangojs.mo
  19. 23 0
      jet/locale/pl/LC_MESSAGES/djangojs.po
  20. BIN
      jet/locale/zh_cn/LC_MESSAGES/django.mo
  21. 163 0
      jet/locale/zh_cn/LC_MESSAGES/django.po
  22. 0 1
      jet/static/jet/css/_sidebar.scss
  23. 0 0
      jet/static/jet/css/themes/default/base.css
  24. 0 0
      jet/static/jet/css/themes/default/base.css.map
  25. 0 0
      jet/static/jet/css/themes/green/base.css
  26. 0 0
      jet/static/jet/css/themes/green/base.css.map
  27. 0 0
      jet/static/jet/css/themes/light-blue/base.css
  28. 0 0
      jet/static/jet/css/themes/light-blue/base.css.map
  29. 0 0
      jet/static/jet/css/themes/light-gray/base.css
  30. 0 0
      jet/static/jet/css/themes/light-gray/base.css.map
  31. 0 0
      jet/static/jet/css/themes/light-green/base.css
  32. 0 0
      jet/static/jet/css/themes/light-green/base.css.map
  33. 0 0
      jet/static/jet/css/themes/light-violet/base.css
  34. 0 0
      jet/static/jet/css/themes/light-violet/base.css.map
  35. 0 0
      jet/static/jet/css/vendor.css
  36. 0 0
      jet/static/jet/js/build/bundle.min.js
  37. 1 1
      jet/static/jet/js/src/features/related-popups.js
  38. 0 1
      jet/templates/admin/base.html
  39. 6 3
      jet/templatetags/jet_tags.py

+ 11 - 0
CHANGELOG.rst

@@ -1,6 +1,17 @@
 Changelog
 =========
 
+1.0.5
+-----
+* PR-167: Added fallback to window.opener to support old Django popups (thanks to michaelkuty for PR)
+* PR-169: Added zh-cn localization (thanks to hbiboluo for PR)
+* PR-172: Added Polish localization (thanks to lburdzy for PR)
+* PR-174: Fixed permission error on ModelLookupForm (thanks to brenouchoa for PR)
+* PR-178: Added Arabic localization by KUWAITNET (thanks to Bashar for PR)
+* Removed "powered by Django JET" copyright
+* Fixed exception when initial object not found for RelatedFieldAjaxListFilter
+
+
 1.0.4
 -----
 * IMPORTANT: Fixed security issue with accessing model_lookup_view (when using RelatedFieldAjaxListFilter) without permissions

+ 1 - 1
jet/__init__.py

@@ -1 +1 @@
-VERSION = '1.0.4'
+VERSION = '1.0.5'

BIN
jet/dashboard/locale/ar/LC_MESSAGES/django.mo


+ 393 - 0
jet/dashboard/locale/ar/LC_MESSAGES/django.po

@@ -0,0 +1,393 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-28 13:32+0000\n"
+"PO-Revision-Date: 2017-02-12 17:28+0300\n"
+"Language: ar\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Last-Translator: Bashar <poedit@bashar.com>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.7.1\n"
+
+#: dashboard/modules.py:138 templates/admin/base.html:281
+msgid "URL"
+msgstr "الرابط"
+
+#: dashboard/dashboard.py:207
+msgid "Quick links"
+msgstr "روابط سريعة"
+
+#: dashboard/dashboard.py:213
+msgid "Return to site"
+msgstr "العودة للموقع"
+
+#: dashboard/dashboard.py:224 dashboard/modules.py:268
+msgid "Applications"
+msgstr "التطبيقات"
+
+#: dashboard/dashboard.py:232
+msgid "Administration"
+msgstr "الإدارة"
+
+#: dashboard/dashboard.py:240 dashboard/modules.py:413
+msgid "Recent Actions"
+msgstr "آخر الأوامر"
+
+#: dashboard/dashboard.py:248
+msgid "Latest Django News"
+msgstr "آخر أخبار جانغو"
+
+#: dashboard/dashboard.py:257
+msgid "Support"
+msgstr "الدعم الفني"
+
+#: dashboard/dashboard.py:260
+msgid "Django documentation"
+msgstr "توثيقات جانغو"
+
+#: dashboard/dashboard.py:265
+msgid "Django \"django-users\" mailing list"
+msgstr "قائمة تراسل \"django-users\" الخاصة بجانغو"
+
+#: dashboard/dashboard.py:270
+msgid "Django irc channel"
+msgstr "قناة الآي آر سي الخاصة بجانغو"
+
+#: dashboard/dashboard.py:285
+msgid "Application models"
+msgstr "نماذج التطبيقات"
+
+#: dashboard/models.py:11 dashboard/modules.py:139
+msgid "Title"
+msgstr "العنوان"
+
+#: dashboard/modules.py:140
+msgid "External link"
+msgstr "رابط خارجي"
+
+#: dashboard/modules.py:144
+msgid "Layout"
+msgstr "المخطط"
+
+#: dashboard/modules.py:144
+msgid "Stacked"
+msgstr "مصفف"
+
+#: dashboard/modules.py:144
+msgid "Inline"
+msgstr "خلال السطر"
+
+#: dashboard/modules.py:190 dashboard/modules.py:214
+msgid "Links"
+msgstr "الروابط"
+
+#: dashboard/modules.py:213
+msgid "Link"
+msgstr "رابط"
+
+#: dashboard/modules.py:340
+msgid "Models"
+msgstr "النماذج"
+
+#: dashboard/modules.py:383 dashboard/modules.py:490
+msgid "Items limit"
+msgstr "حدود العناصر"
+
+#: dashboard/modules.py:491
+msgid "Feed URL"
+msgstr "تلقيم الرابط"
+
+#: dashboard/modules.py:522
+msgid "RSS Feed"
+msgstr "تلقيم RSS"
+
+#: dashboard/modules.py:568
+msgid "You must install the FeedParser python module"
+msgstr "يجب عليك تنصيب حزمة بايثون FeedParser"
+
+#: dashboard/modules.py:573
+msgid "You must provide a valid feed URL"
+msgstr "يجب عليك تزويد رابط تلقيم صحيح"
+
+#: dashboard/views.py:17
+msgid "Widget was successfully updated"
+msgstr "الودجة تم تجديثها بنجاح"
+
+#: dashboard/views.py:89 dashboard/views.py:90
+msgid "Items"
+msgstr "عناصر"
+
+#: dashboard/views.py:152
+msgid "Widget has been successfully added"
+msgstr "تم إضافة الودجة بنجاح"
+
+#: dashboard/dashboard_modules/google_analytics.py:145
+#: dashboard/dashboard_modules/yandex_metrika.py:102
+msgid "Revoke access"
+msgstr "سحب التصريح"
+
+#: dashboard/dashboard_modules/google_analytics.py:150
+#: dashboard/dashboard_modules/yandex_metrika.py:107
+msgid "Grant access"
+msgstr "إعطاء تصريح"
+
+#: dashboard/dashboard_modules/google_analytics.py:163
+#: dashboard/dashboard_modules/yandex_metrika.py:117
+msgid "Access"
+msgstr "التصريح"
+
+#: dashboard/dashboard_modules/google_analytics.py:164
+#: dashboard/dashboard_modules/yandex_metrika.py:118
+msgid "Counter"
+msgstr "عدّاد"
+
+#: dashboard/dashboard_modules/google_analytics.py:165
+#: dashboard/dashboard_modules/yandex_metrika.py:119
+msgid "Statistics period"
+msgstr "فترة الإحصائيات"
+
+#: dashboard/dashboard_modules/google_analytics.py:166
+#: dashboard/dashboard_modules/yandex_metrika.py:120
+msgid "Today"
+msgstr "اليوم"
+
+#: dashboard/dashboard_modules/google_analytics.py:167
+#: dashboard/dashboard_modules/yandex_metrika.py:121
+msgid "Last week"
+msgstr "الإسبوع الماضي"
+
+#: dashboard/dashboard_modules/google_analytics.py:168
+#: dashboard/dashboard_modules/yandex_metrika.py:122
+msgid "Last month"
+msgstr "الشهر الماضي"
+
+#: dashboard/dashboard_modules/google_analytics.py:169
+#: dashboard/dashboard_modules/yandex_metrika.py:123
+msgid "Last quarter"
+msgstr "ربع السنة الماضي"
+
+#: dashboard/dashboard_modules/google_analytics.py:170
+#: dashboard/dashboard_modules/yandex_metrika.py:124
+msgid "Last year"
+msgstr "العام الماضي"
+
+#: dashboard/dashboard_modules/google_analytics.py:180
+#: dashboard/dashboard_modules/yandex_metrika.py:134
+msgid "none"
+msgstr "لا شيء"
+
+#: dashboard/dashboard_modules/google_analytics.py:183
+#: dashboard/dashboard_modules/yandex_metrika.py:137
+msgid "grant access first"
+msgstr "أعط تصريح أولا"
+
+#: dashboard/dashboard_modules/google_analytics.py:183
+#: dashboard/dashboard_modules/yandex_metrika.py:137
+msgid "counters loading failed"
+msgstr "فشل تحميل العدّادات"
+
+#: dashboard/dashboard_modules/google_analytics.py:188
+#: dashboard/dashboard_modules/yandex_metrika.py:142
+msgid "Show"
+msgstr "اعرض"
+
+#: dashboard/dashboard_modules/google_analytics.py:193
+#: dashboard/dashboard_modules/google_analytics.py:201
+#: dashboard/dashboard_modules/yandex_metrika.py:147
+#: dashboard/dashboard_modules/yandex_metrika.py:155
+msgid "Group"
+msgstr "مجموعة"
+
+#: dashboard/dashboard_modules/google_analytics.py:194
+#: dashboard/dashboard_modules/google_analytics.py:202
+#: dashboard/dashboard_modules/yandex_metrika.py:148
+#: dashboard/dashboard_modules/yandex_metrika.py:156
+msgid "By day"
+msgstr "باليوم"
+
+#: dashboard/dashboard_modules/google_analytics.py:195
+#: dashboard/dashboard_modules/google_analytics.py:203
+#: dashboard/dashboard_modules/yandex_metrika.py:149
+#: dashboard/dashboard_modules/yandex_metrika.py:157
+msgid "By week"
+msgstr "بالإسبوع"
+
+#: dashboard/dashboard_modules/google_analytics.py:196
+#: dashboard/dashboard_modules/google_analytics.py:204
+#: dashboard/dashboard_modules/yandex_metrika.py:150
+#: dashboard/dashboard_modules/yandex_metrika.py:158
+msgid "By month"
+msgstr "بالشهر"
+
+#: dashboard/dashboard_modules/google_analytics.py:277
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Google account and choose Google Analytics "
+"counter</a> to start using widget"
+msgstr ""
+"الرجاء <a href=\"%s\">إرفاق حساب جوجل و إختر عداد احصائيات جوجل</a> للبدء "
+"بإستخدام الودجة"
+
+#: dashboard/dashboard_modules/google_analytics.py:280
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Google Analytics counter</a> to start using "
+"widget"
+msgstr ""
+"الرجاء <a href=\"%s\">إختر عداد احصائيات جوجل</a> للبدء بإستخدام الودجة"
+
+#: dashboard/dashboard_modules/google_analytics.py:299
+#: dashboard/dashboard_modules/google_analytics_views.py:42
+#: dashboard/dashboard_modules/yandex_metrika.py:236
+#: dashboard/dashboard_modules/yandex_metrika_views.py:37
+msgid "API request failed."
+msgstr "طلب API فشل"
+
+#: dashboard/dashboard_modules/google_analytics.py:301
+#: dashboard/dashboard_modules/yandex_metrika.py:238
+#, python-format
+msgid " Try to <a href=\"%s\">revoke and grant access</a> again"
+msgstr "جرب <a href=\"%s\">حذف و إضافة التصريح</a> مرة اخرى"
+
+#: dashboard/dashboard_modules/google_analytics.py:311
+msgid "Google Analytics visitors totals"
+msgstr "عدد زوار إحصائيات جوجل الإجمالي"
+
+#: dashboard/dashboard_modules/google_analytics.py:189
+#: dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:15
+#: dashboard/dashboard_modules/google_analytics.py:326
+msgid "users"
+msgstr "المستخدمين"
+
+#: dashboard/dashboard_modules/google_analytics.py:190
+#: dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:16
+#: dashboard/dashboard_modules/google_analytics.py:327
+msgid "sessions"
+msgstr "الجلسات"
+
+#: dashboard/dashboard_modules/google_analytics.py:191
+#: dashboard/dashboard_modules/yandex_metrika.py:146
+#: dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:17
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:17
+#: dashboard/dashboard_modules/google_analytics.py:328
+#: dashboard/dashboard_modules/yandex_metrika.py:267
+msgid "views"
+msgstr "إستعراضات"
+
+#: dashboard/dashboard_modules/google_analytics.py:330
+#: dashboard/dashboard_modules/google_analytics.py:388
+#: dashboard/dashboard_modules/google_analytics.py:438
+#: dashboard/dashboard_modules/yandex_metrika.py:269
+#: dashboard/dashboard_modules/yandex_metrika.py:321
+#: dashboard/dashboard_modules/yandex_metrika.py:365
+msgid "Bad server response"
+msgstr "رد خاطئ من الخادم"
+
+#: dashboard/dashboard_modules/google_analytics.py:340
+msgid "Google Analytics visitors chart"
+msgstr "مخطط زوار إحصائيات جوجل"
+
+#: dashboard/dashboard_modules/google_analytics.py:398
+msgid "Google Analytics period visitors"
+msgstr "عدد زوار إحصائيات جوجل للفترات"
+
+#: dashboard/dashboard_modules/google_analytics_views.py:26
+#: dashboard/dashboard_modules/google_analytics_views.py:46
+#: dashboard/dashboard_modules/yandex_metrika_views.py:23
+#: dashboard/dashboard_modules/yandex_metrika_views.py:45
+msgid "Module not found"
+msgstr "لم يتم العثور على الوحدة"
+
+#: dashboard/dashboard_modules/google_analytics_views.py:44
+#: dashboard/dashboard_modules/yandex_metrika_views.py:43
+msgid "Bad arguments"
+msgstr "رمز سيئة"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:219
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Yandex account and choose Yandex Metrika "
+"counter</a> to start using widget"
+msgstr ""
+"الرجاء <a href=\"%s\">إرفاق حساب ياندكس و إختر عداد يانديكس متريكا</a> للبدء "
+"بإستخدام الودجة"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:222
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Yandex Metrika counter</a> to start using widget"
+msgstr ""
+"الرجاء <a href=\"%s\"> إختيار عداد يانديكس متريكا</a> للبدء بإستخدام الودجة"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:250
+msgid "Yandex Metrika visitors totals"
+msgstr "عدد زوار إحصائيات يانديكس متريكا الإجمالي"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:144
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:15
+#: dashboard/dashboard_modules/yandex_metrika.py:265
+msgid "visitors"
+msgstr "الزوار"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:145
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:16
+#: dashboard/dashboard_modules/yandex_metrika.py:266
+msgid "visits"
+msgstr "الزيارات"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:279
+msgid "Yandex Metrika visitors chart"
+msgstr "مخطط زوار إحصائيات يانديكس متريكا"
+
+#: dashboard/dashboard_modules/yandex_metrika.py:331
+msgid "Yandex Metrika period visitors"
+msgstr "عدد زوار إحصائيات يانديكس متريكا للفترات"
+
+#: dashboard/templates/jet.dashboard/dashboard.html:17
+msgid "Delete widget"
+msgstr "حذف الودجة"
+
+#: dashboard/templates/jet.dashboard/dashboard.html:18
+msgid "Are you sure want to delete this widget?"
+msgstr "هل أنت متأكد من حذف هذه الودجة؟"
+
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:7
+msgid "widgets"
+msgstr "الودجات"
+
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:8
+msgid "available"
+msgstr "متاح"
+
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:13
+msgid "initials"
+msgstr "الحروف الأولية من الإسم"
+
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:21
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:27
+msgid "Reset widgets"
+msgstr "إعادة ضبط الودجة"
+
+#: dashboard/templates/jet.dashboard/dashboard_tools.html:28
+msgid "Are you sure want to reset widgets?"
+msgstr "هل أنت متأكد من إعادة ضبط الودجة؟"
+
+#: dashboard/templates/jet.dashboard/modules/feed.html:13
+#: dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:34
+#: dashboard/templates/jet.dashboard/modules/google_analytics_visitors_chart.html:30
+#: dashboard/templates/jet.dashboard/modules/google_analytics_visitors_totals.html:23
+#: dashboard/templates/jet.dashboard/modules/link_list.html:26
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:34
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_visitors_chart.html:30
+#: dashboard/templates/jet.dashboard/modules/yandex_metrika_visitors_totals.html:23
+msgid "Nothing to show"
+msgstr "لا يوجد شئ للعرض"

BIN
jet/dashboard/locale/ar/LC_MESSAGES/djangojs.mo


+ 30 - 0
jet/dashboard/locale/ar/LC_MESSAGES/djangojs.po

@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-09-11 12:44+0000\n"
+"PO-Revision-Date: 2017-02-12 17:28+0300\n"
+"Language: ar\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Bashar <poedit@bashar.com>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.7.1\n"
+
+#: static/jet/js/src/features/dashboard.js:79
+#: static/jet/js/src/features/dashboard.js:208
+msgid "Cancel"
+msgstr "إلغاء"
+
+#: static/jet/js/src/features/dashboard.js:203
+msgid "Delete"
+msgstr "حذف"
+
+#: static/jet/js/src/features/dashboard.js:74
+msgid "Yes"
+msgstr "نعم"

BIN
jet/dashboard/locale/pl/LC_MESSAGES/django.mo


+ 490 - 0
jet/dashboard/locale/pl/LC_MESSAGES/django.po

@@ -0,0 +1,490 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-01 17:53+0000\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+#: jet/dashboard/dashboard.py:210
+msgid "Quick links"
+msgstr ""
+
+#: jet/dashboard/dashboard.py:216
+msgid "Return to site"
+msgstr "Powrót na stronę"
+
+#: jet/dashboard/dashboard.py:217
+msgid "Change password"
+msgstr "Zmień hasło"
+
+#: jet/dashboard/dashboard.py:219
+msgid "Log out"
+msgstr "Wyloguj"
+
+#: jet/dashboard/dashboard.py:227 jet/dashboard/modules.py:299
+msgid "Applications"
+msgstr "Aplikacje"
+
+#: jet/dashboard/dashboard.py:235
+msgid "Administration"
+msgstr "Administracja"
+
+#: jet/dashboard/dashboard.py:243 jet/dashboard/modules.py:446
+msgid "Recent Actions"
+msgstr "Ostatnie akcje"
+
+#: jet/dashboard/dashboard.py:251
+msgid "Latest Django News"
+msgstr "Wiadomości o Django"
+
+#: jet/dashboard/dashboard.py:260
+msgid "Support"
+msgstr "Wsparcie"
+
+#: jet/dashboard/dashboard.py:263
+msgid "Django documentation"
+msgstr "Dokumentacja Django"
+
+#: jet/dashboard/dashboard.py:268
+msgid "Django \"django-users\" mailing list"
+msgstr "Lista mailingowa Django"
+
+#: jet/dashboard/dashboard.py:273
+msgid "Django irc channel"
+msgstr "Kanał IRC Django"
+
+#: jet/dashboard/dashboard.py:288
+msgid "Application models"
+msgstr "Modele aplikacji"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:145
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:103
+msgid "Revoke access"
+msgstr "Cofnij dostęp"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:150
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:108
+msgid "Grant access"
+msgstr "Przyznaj dostęp"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:163
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:118
+msgid "Access"
+msgstr "Dostęp"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:164
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:119
+msgid "Counter"
+msgstr "Licznik"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:165
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:120
+msgid "Statistics period"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:166
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:121
+msgid "Today"
+msgstr "Dzisiaj"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:167
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:122
+msgid "Last week"
+msgstr "Zeszły tydzień"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:168
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:123
+msgid "Last month"
+msgstr "Zeszły miesiąc"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:169
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:124
+msgid "Last quarter"
+msgstr "Zeszły kwartał"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:170
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:125
+msgid "Last year"
+msgstr "Zeszły rok"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:180
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:135
+msgid "none"
+msgstr "brak"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:183
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:138
+msgid "grant access first"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:183
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:138
+msgid "counters loading failed"
+msgstr "ładowanie liczników nie powiodło się"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:188
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:143
+msgid "Show"
+msgstr "Pokaż"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:189
+#: jet/dashboard/dashboard_modules/google_analytics.py:326
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:15
+msgid "users"
+msgstr "użytkownicy"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:190
+#: jet/dashboard/dashboard_modules/google_analytics.py:327
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:16
+msgid "sessions"
+msgstr "sesje"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:191
+#: jet/dashboard/dashboard_modules/google_analytics.py:328
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:146
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:267
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:17
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:17
+msgid "views"
+msgstr "wyświetlenia"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:193
+#: jet/dashboard/dashboard_modules/google_analytics.py:201
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:148
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:156
+msgid "Group"
+msgstr "Groupa"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:194
+#: jet/dashboard/dashboard_modules/google_analytics.py:202
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:149
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:157
+msgid "By day"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:195
+#: jet/dashboard/dashboard_modules/google_analytics.py:203
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:150
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:158
+msgid "By week"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:196
+#: jet/dashboard/dashboard_modules/google_analytics.py:204
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:151
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:159
+msgid "By month"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:277
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Google account and choose Google Analytics "
+"counter</a> to start using widget"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:280
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Google Analytics counter</a> to start using "
+"widget"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:299
+#: jet/dashboard/dashboard_modules/google_analytics_views.py:42
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:236
+#: jet/dashboard/dashboard_modules/yandex_metrika_views.py:37
+msgid "API request failed."
+msgstr "Zapytanie do API nie powiodło się"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:301
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:238
+#, python-format
+msgid " Try to <a href=\"%s\">revoke and grant access</a> again"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:311
+msgid "Google Analytics visitors totals"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:330
+#: jet/dashboard/dashboard_modules/google_analytics.py:388
+#: jet/dashboard/dashboard_modules/google_analytics.py:438
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:269
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:321
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:365
+msgid "Bad server response"
+msgstr "Niepoprawna odpowiedź serwera"
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:340
+msgid "Google Analytics visitors chart"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics.py:398
+msgid "Google Analytics period visitors"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/google_analytics_views.py:26
+#: jet/dashboard/dashboard_modules/google_analytics_views.py:46
+#: jet/dashboard/dashboard_modules/yandex_metrika_views.py:23
+#: jet/dashboard/dashboard_modules/yandex_metrika_views.py:45
+msgid "Module not found"
+msgstr "Nie znaleziono modułu"
+
+#: jet/dashboard/dashboard_modules/google_analytics_views.py:44
+#: jet/dashboard/dashboard_modules/yandex_metrika_views.py:43
+msgid "Bad arguments"
+msgstr "Niepoprawne argumenty"
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:144
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:265
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:15
+msgid "visitors"
+msgstr "goście"
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:145
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:266
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:16
+msgid "visits"
+msgstr "odwiedzenia"
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:219
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Yandex account and choose Yandex Metrika "
+"counter</a> to start using widget"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:222
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Yandex Metrika counter</a> to start using widget"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:250
+msgid "Yandex Metrika visitors totals"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:279
+msgid "Yandex Metrika visitors chart"
+msgstr ""
+
+#: jet/dashboard/dashboard_modules/yandex_metrika.py:331
+msgid "Yandex Metrika period visitors"
+msgstr ""
+
+#: jet/dashboard/models.py:11 jet/dashboard/modules.py:164
+msgid "Title"
+msgstr "Tytuł"
+
+#: jet/dashboard/models.py:12
+msgid "module"
+msgstr "moduł"
+
+#: jet/dashboard/models.py:13
+msgid "application name"
+msgstr "nazwa aplikacji"
+
+#: jet/dashboard/models.py:14
+msgid "user"
+msgstr "użytkownik"
+
+#: jet/dashboard/models.py:15
+msgid "column"
+msgstr "kolumna"
+
+#: jet/dashboard/models.py:16
+msgid "order"
+msgstr "kolejność"
+
+#: jet/dashboard/models.py:17
+msgid "settings"
+msgstr "ustawienia"
+
+#: jet/dashboard/models.py:18
+msgid "children"
+msgstr "dzieci"
+
+#: jet/dashboard/models.py:19
+msgid "collapsed"
+msgstr ""
+
+#: jet/dashboard/models.py:22
+msgid "user dashboard module"
+msgstr "moduł panelu użytkowika"
+
+#: jet/dashboard/models.py:23
+msgid "user dashboard modules"
+msgstr "moduły panelu użytkowika"
+
+#: jet/dashboard/modules.py:163
+msgid "URL"
+msgstr "Adres URL"
+
+#: jet/dashboard/modules.py:165
+msgid "External link"
+msgstr "Link zewnętrzny"
+
+#: jet/dashboard/modules.py:169
+msgid "Layout"
+msgstr "Układ"
+
+#: jet/dashboard/modules.py:169
+msgid "Stacked"
+msgstr ""
+
+#: jet/dashboard/modules.py:169
+msgid "Inline"
+msgstr ""
+
+#: jet/dashboard/modules.py:215 jet/dashboard/modules.py:239
+msgid "Links"
+msgstr ""
+
+#: jet/dashboard/modules.py:238
+msgid "Link"
+msgstr ""
+
+#: jet/dashboard/modules.py:372
+msgid "Models"
+msgstr "Modele"
+
+#: jet/dashboard/modules.py:416 jet/dashboard/modules.py:523
+msgid "Items limit"
+msgstr "Limit pozycji"
+
+#: jet/dashboard/modules.py:524
+msgid "Feed URL"
+msgstr "RSS URL"
+
+#: jet/dashboard/modules.py:555
+msgid "RSS Feed"
+msgstr "Kanał RSS"
+
+#: jet/dashboard/modules.py:601
+msgid "You must install the FeedParser python module"
+msgstr "Zainstaluj moduł FeedParser w pythonie"
+
+#: jet/dashboard/modules.py:606
+msgid "You must provide a valid feed URL"
+msgstr "Podaj prawidłowy adres URL"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard.html:17
+msgid "Delete widget"
+msgstr "Usuń widget"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard.html:18
+msgid "Are you sure want to delete this widget?"
+msgstr "Czy jesteś pewien że chcesz usunąć ten widget"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:12
+msgid "widgets"
+msgstr ""
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:13
+msgid "available"
+msgstr "dostępny"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:18
+msgid "initials"
+msgstr "inicjały"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:23
+#: jet/dashboard/templates/jet.dashboard/modules/app_list.html:18
+#: jet/dashboard/templates/jet.dashboard/modules/model_list.html:8
+msgid "Add"
+msgstr "Dodaj"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:26
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:32
+msgid "Reset widgets"
+msgstr "Resetuj widżety"
+
+#: jet/dashboard/templates/jet.dashboard/dashboard_tools.html:33
+msgid "Are you sure want to reset widgets?"
+msgstr "Czy jesteś pewien że chcesz zrestartować widgety?"
+
+#: jet/dashboard/templates/jet.dashboard/module.html:9
+#: jet/dashboard/templates/jet.dashboard/modules/app_list.html:24
+#: jet/dashboard/templates/jet.dashboard/modules/model_list.html:14
+#: jet/dashboard/views.py:90
+msgid "Change"
+msgstr "Zmiana"
+
+#: jet/dashboard/templates/jet.dashboard/module.html:12
+#: jet/dashboard/templates/jet.dashboard/update_module.html:55
+#: jet/dashboard/templates/jet.dashboard/update_module.html:57
+msgid "Delete"
+msgstr "Usuń"
+
+#: jet/dashboard/templates/jet.dashboard/modules/app_list.html:7
+#: jet/dashboard/templates/jet.dashboard/modules/app_list.html:10
+#, python-format
+msgid "Models in the %(name)s application"
+msgstr "Modele w aplikacji %(name)s"
+
+#: jet/dashboard/templates/jet.dashboard/modules/feed.html:13
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:34
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_visitors_chart.html:30
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_visitors_totals.html:23
+#: jet/dashboard/templates/jet.dashboard/modules/link_list.html:26
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:34
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_visitors_chart.html:30
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_visitors_totals.html:23
+msgid "Nothing to show"
+msgstr "Brak danych do wyświetlenia"
+
+#: jet/dashboard/templates/jet.dashboard/modules/google_analytics_period_visitors.html:14
+#: jet/dashboard/templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:14
+msgid "Date"
+msgstr "Data"
+
+#: jet/dashboard/templates/jet.dashboard/modules/recent_actions.html:6
+msgid "None available"
+msgstr "Brak dostępnych akcji"
+
+#: jet/dashboard/templates/jet.dashboard/modules/recent_actions.html:30
+msgid "Unknown content"
+msgstr ""
+
+#: jet/dashboard/templates/jet.dashboard/update_module.html:7
+msgid "Home"
+msgstr "Strona główna"
+
+#: jet/dashboard/templates/jet.dashboard/update_module.html:25
+msgid "Please correct the errors below."
+msgstr "Proszę popraw poniższe błędy"
+
+#: jet/dashboard/templates/jet.dashboard/update_module.html:69
+#, python-format
+msgid "Add another %(verbose_name)s"
+msgstr "Dodaj kolejny %(verbose_name)s"
+
+#: jet/dashboard/templates/jet.dashboard/update_module.html:81
+msgid "Save"
+msgstr "Zapisz"
+
+#: jet/dashboard/views.py:19
+msgid "Widget was successfully updated"
+msgstr "Widget został pomyślnie zaktualizowany"
+
+#: jet/dashboard/views.py:94 jet/dashboard/views.py:95
+msgid "Items"
+msgstr "Pozycje"
+
+#: jet/dashboard/views.py:161
+msgid "Widget has been successfully added"
+msgstr "Widget został pomyślnie dodany"

BIN
jet/dashboard/locale/zh_cn/LC_MESSAGES/django.mo


+ 488 - 0
jet/dashboard/locale/zh_cn/LC_MESSAGES/django.po

@@ -0,0 +1,488 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-01-20 10:30+0800\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: dashboard.py:210
+msgid "Quick links"
+msgstr "快捷链接"
+
+#: dashboard.py:216
+msgid "Return to site"
+msgstr "返回站点"
+
+#: dashboard.py:217
+msgid "Change password"
+msgstr "修改密码"
+
+#: dashboard.py:219
+msgid "Log out"
+msgstr "退出"
+
+#: dashboard.py:227 modules.py:299
+msgid "Applications"
+msgstr "应用"
+
+#: dashboard.py:235
+msgid "Administration"
+msgstr "管理"
+
+#: dashboard.py:243 modules.py:446
+msgid "Recent Actions"
+msgstr "最近操作"
+
+#: dashboard.py:251
+msgid "Latest Django News"
+msgstr "Django动态"
+
+#: dashboard.py:260
+msgid "Support"
+msgstr "支持"
+
+#: dashboard.py:263
+msgid "Django documentation"
+msgstr "Django文档"
+
+#: dashboard.py:268
+msgid "Django \"django-users\" mailing list"
+msgstr "Django \"django-users\" 邮件列表"
+
+#: dashboard.py:273
+msgid "Django irc channel"
+msgstr "Django IRC频道"
+
+#: dashboard.py:288
+msgid "Application models"
+msgstr "应用Models"
+
+#: dashboard_modules/google_analytics.py:145
+#: dashboard_modules/yandex_metrika.py:103
+msgid "Revoke access"
+msgstr "收回访问权"
+
+#: dashboard_modules/google_analytics.py:150
+#: dashboard_modules/yandex_metrika.py:108
+msgid "Grant access"
+msgstr "分配访问权"
+
+#: dashboard_modules/google_analytics.py:163
+#: dashboard_modules/yandex_metrika.py:118
+msgid "Access"
+msgstr "访问"
+
+#: dashboard_modules/google_analytics.py:164
+#: dashboard_modules/yandex_metrika.py:119
+msgid "Counter"
+msgstr "统计"
+
+#: dashboard_modules/google_analytics.py:165
+#: dashboard_modules/yandex_metrika.py:120
+msgid "Statistics period"
+msgstr "统计周期"
+
+#: dashboard_modules/google_analytics.py:166
+#: dashboard_modules/yandex_metrika.py:121
+msgid "Today"
+msgstr "今日"
+
+#: dashboard_modules/google_analytics.py:167
+#: dashboard_modules/yandex_metrika.py:122
+msgid "Last week"
+msgstr "上周"
+
+#: dashboard_modules/google_analytics.py:168
+#: dashboard_modules/yandex_metrika.py:123
+msgid "Last month"
+msgstr "上月"
+
+#: dashboard_modules/google_analytics.py:169
+#: dashboard_modules/yandex_metrika.py:124
+msgid "Last quarter"
+msgstr "最近15分钟"
+
+#: dashboard_modules/google_analytics.py:170
+#: dashboard_modules/yandex_metrika.py:125
+msgid "Last year"
+msgstr "去年"
+
+#: dashboard_modules/google_analytics.py:180
+#: dashboard_modules/yandex_metrika.py:135
+msgid "none"
+msgstr "无"
+
+#: dashboard_modules/google_analytics.py:183
+#: dashboard_modules/yandex_metrika.py:138
+msgid "grant access first"
+msgstr "优先分配访问权"
+
+#: dashboard_modules/google_analytics.py:183
+#: dashboard_modules/yandex_metrika.py:138
+msgid "counters loading failed"
+msgstr "统计信息加载失败"
+
+#: dashboard_modules/google_analytics.py:188
+#: dashboard_modules/yandex_metrika.py:143
+msgid "Show"
+msgstr "显示"
+
+#: dashboard_modules/google_analytics.py:189
+#: dashboard_modules/google_analytics.py:326
+#: templates/jet.dashboard/modules/google_analytics_period_visitors.html:15
+msgid "users"
+msgstr "用户"
+
+#: dashboard_modules/google_analytics.py:190
+#: dashboard_modules/google_analytics.py:327
+#: templates/jet.dashboard/modules/google_analytics_period_visitors.html:16
+msgid "sessions"
+msgstr "用户会话"
+
+#: dashboard_modules/google_analytics.py:191
+#: dashboard_modules/google_analytics.py:328
+#: dashboard_modules/yandex_metrika.py:146
+#: dashboard_modules/yandex_metrika.py:267
+#: templates/jet.dashboard/modules/google_analytics_period_visitors.html:17
+#: templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:17
+msgid "views"
+msgstr "视图"
+
+#: dashboard_modules/google_analytics.py:193
+#: dashboard_modules/google_analytics.py:201
+#: dashboard_modules/yandex_metrika.py:148
+#: dashboard_modules/yandex_metrika.py:156
+msgid "Group"
+msgstr "组"
+
+#: dashboard_modules/google_analytics.py:194
+#: dashboard_modules/google_analytics.py:202
+#: dashboard_modules/yandex_metrika.py:149
+#: dashboard_modules/yandex_metrika.py:157
+msgid "By day"
+msgstr "按天"
+
+#: dashboard_modules/google_analytics.py:195
+#: dashboard_modules/google_analytics.py:203
+#: dashboard_modules/yandex_metrika.py:150
+#: dashboard_modules/yandex_metrika.py:158
+msgid "By week"
+msgstr "按周"
+
+#: dashboard_modules/google_analytics.py:196
+#: dashboard_modules/google_analytics.py:204
+#: dashboard_modules/yandex_metrika.py:151
+#: dashboard_modules/yandex_metrika.py:159
+msgid "By month"
+msgstr "按月"
+
+#: dashboard_modules/google_analytics.py:277
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Google account and choose Google Analytics "
+"counter</a> to start using widget"
+msgstr ""
+
+#: dashboard_modules/google_analytics.py:280
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Google Analytics counter</a> to start using "
+"widget"
+msgstr ""
+
+#: dashboard_modules/google_analytics.py:299
+#: dashboard_modules/google_analytics_views.py:42
+#: dashboard_modules/yandex_metrika.py:236
+#: dashboard_modules/yandex_metrika_views.py:37
+msgid "API request failed."
+msgstr "API请求失败"
+
+#: dashboard_modules/google_analytics.py:301
+#: dashboard_modules/yandex_metrika.py:238
+#, python-format
+msgid " Try to <a href=\"%s\">revoke and grant access</a> again"
+msgstr ""
+
+#: dashboard_modules/google_analytics.py:311
+msgid "Google Analytics visitors totals"
+msgstr ""
+
+#: dashboard_modules/google_analytics.py:330
+#: dashboard_modules/google_analytics.py:388
+#: dashboard_modules/google_analytics.py:438
+#: dashboard_modules/yandex_metrika.py:269
+#: dashboard_modules/yandex_metrika.py:321
+#: dashboard_modules/yandex_metrika.py:365
+msgid "Bad server response"
+msgstr "服务器响应异常"
+
+#: dashboard_modules/google_analytics.py:340
+msgid "Google Analytics visitors chart"
+msgstr ""
+
+#: dashboard_modules/google_analytics.py:398
+msgid "Google Analytics period visitors"
+msgstr ""
+
+#: dashboard_modules/google_analytics_views.py:26
+#: dashboard_modules/google_analytics_views.py:46
+#: dashboard_modules/yandex_metrika_views.py:23
+#: dashboard_modules/yandex_metrika_views.py:45
+msgid "Module not found"
+msgstr "未找到模块"
+
+#: dashboard_modules/google_analytics_views.py:44
+#: dashboard_modules/yandex_metrika_views.py:43
+msgid "Bad arguments"
+msgstr "参数错误"
+
+#: dashboard_modules/yandex_metrika.py:144
+#: dashboard_modules/yandex_metrika.py:265
+#: templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:15
+msgid "visitors"
+msgstr "访问者"
+
+#: dashboard_modules/yandex_metrika.py:145
+#: dashboard_modules/yandex_metrika.py:266
+#: templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:16
+msgid "visits"
+msgstr ""
+
+#: dashboard_modules/yandex_metrika.py:219
+#, python-format
+msgid ""
+"Please <a href=\"%s\">attach Yandex account and choose Yandex Metrika "
+"counter</a> to start using widget"
+msgstr ""
+
+#: dashboard_modules/yandex_metrika.py:222
+#, python-format
+msgid ""
+"Please <a href=\"%s\">select Yandex Metrika counter</a> to start using widget"
+msgstr ""
+
+#: dashboard_modules/yandex_metrika.py:250
+msgid "Yandex Metrika visitors totals"
+msgstr ""
+
+#: dashboard_modules/yandex_metrika.py:279
+msgid "Yandex Metrika visitors chart"
+msgstr ""
+
+#: dashboard_modules/yandex_metrika.py:331
+msgid "Yandex Metrika period visitors"
+msgstr ""
+
+#: models.py:11 modules.py:164
+msgid "Title"
+msgstr "标题"
+
+#: models.py:12
+msgid "module"
+msgstr "模块"
+
+#: models.py:13
+msgid "application name"
+msgstr "应用名称"
+
+#: models.py:14
+msgid "user"
+msgstr "用户"
+
+#: models.py:15
+msgid "column"
+msgstr "列"
+
+#: models.py:16
+msgid "order"
+msgstr "排序"
+
+#: models.py:17
+msgid "settings"
+msgstr "设置"
+
+#: models.py:18
+msgid "children"
+msgstr "子项"
+
+#: models.py:19
+msgid "collapsed"
+msgstr "展开"
+
+#: models.py:22
+msgid "user dashboard module"
+msgstr "用户dashboard模块"
+
+#: models.py:23
+msgid "user dashboard modules"
+msgstr "用户dashboard模块"
+
+#: modules.py:163
+msgid "URL"
+msgstr "URL"
+
+#: modules.py:165
+msgid "External link"
+msgstr "外部链接"
+
+#: modules.py:169
+msgid "Layout"
+msgstr "布局"
+
+#: modules.py:169
+msgid "Stacked"
+msgstr ""
+
+#: modules.py:169
+msgid "Inline"
+msgstr ""
+
+#: modules.py:215 modules.py:239
+msgid "Links"
+msgstr "链接"
+
+#: modules.py:238
+msgid "Link"
+msgstr "链接"
+
+#: modules.py:372
+msgid "Models"
+msgstr ""
+
+#: modules.py:416 modules.py:523
+msgid "Items limit"
+msgstr ""
+
+#: modules.py:524
+msgid "Feed URL"
+msgstr ""
+
+#: modules.py:555
+msgid "RSS Feed"
+msgstr ""
+
+#: modules.py:601
+msgid "You must install the FeedParser python module"
+msgstr ""
+
+#: modules.py:606
+msgid "You must provide a valid feed URL"
+msgstr ""
+
+#: templates/jet.dashboard/dashboard.html:17
+msgid "Delete widget"
+msgstr "删除widget"
+
+#: templates/jet.dashboard/dashboard.html:18
+msgid "Are you sure want to delete this widget?"
+msgstr "你确定要删除这个widget吗?"
+
+#: templates/jet.dashboard/dashboard_tools.html:12
+msgid "widgets"
+msgstr ""
+
+#: templates/jet.dashboard/dashboard_tools.html:13
+msgid "available"
+msgstr "可用的"
+
+#: templates/jet.dashboard/dashboard_tools.html:18
+msgid "initials"
+msgstr ""
+
+#: templates/jet.dashboard/dashboard_tools.html:23
+#: templates/jet.dashboard/modules/app_list.html:18
+#: templates/jet.dashboard/modules/model_list.html:8
+msgid "Add"
+msgstr "添加"
+
+#: templates/jet.dashboard/dashboard_tools.html:26
+#: templates/jet.dashboard/dashboard_tools.html:32
+msgid "Reset widgets"
+msgstr "重置widgets"
+
+#: templates/jet.dashboard/dashboard_tools.html:33
+msgid "Are you sure want to reset widgets?"
+msgstr "你确定要重置widgets吗?"
+
+#: templates/jet.dashboard/module.html:9
+#: templates/jet.dashboard/modules/app_list.html:24
+#: templates/jet.dashboard/modules/model_list.html:14 views.py:90
+msgid "Change"
+msgstr "修改"
+
+#: templates/jet.dashboard/module.html:12
+#: templates/jet.dashboard/update_module.html:55
+#: templates/jet.dashboard/update_module.html:57
+msgid "Delete"
+msgstr "删除"
+
+#: templates/jet.dashboard/modules/app_list.html:7
+#: templates/jet.dashboard/modules/app_list.html:10
+#, python-format
+msgid "Models in the %(name)s application"
+msgstr "在%(name)s应用下的Models"
+
+#: templates/jet.dashboard/modules/feed.html:13
+#: templates/jet.dashboard/modules/google_analytics_period_visitors.html:34
+#: templates/jet.dashboard/modules/google_analytics_visitors_chart.html:30
+#: templates/jet.dashboard/modules/google_analytics_visitors_totals.html:23
+#: templates/jet.dashboard/modules/link_list.html:26
+#: templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:34
+#: templates/jet.dashboard/modules/yandex_metrika_visitors_chart.html:30
+#: templates/jet.dashboard/modules/yandex_metrika_visitors_totals.html:23
+msgid "Nothing to show"
+msgstr "没有内容"
+
+#: templates/jet.dashboard/modules/google_analytics_period_visitors.html:14
+#: templates/jet.dashboard/modules/yandex_metrika_period_visitors.html:14
+msgid "Date"
+msgstr "日期"
+
+#: templates/jet.dashboard/modules/recent_actions.html:6
+msgid "None available"
+msgstr "没有可用内容"
+
+#: templates/jet.dashboard/modules/recent_actions.html:30
+msgid "Unknown content"
+msgstr "未知内容"
+
+#: templates/jet.dashboard/update_module.html:7
+msgid "Home"
+msgstr "首页"
+
+#: templates/jet.dashboard/update_module.html:25
+msgid "Please correct the errors below."
+msgstr "请修正以下错误"
+
+#: templates/jet.dashboard/update_module.html:69
+#, python-format
+msgid "Add another %(verbose_name)s"
+msgstr "新增%(verbose_name)s"
+
+#: templates/jet.dashboard/update_module.html:81
+msgid "Save"
+msgstr "保存"
+
+#: views.py:19
+msgid "Widget was successfully updated"
+msgstr "Widget成功更新"
+
+#: views.py:94 views.py:95
+msgid "Items"
+msgstr ""
+
+#: views.py:161
+msgid "Widget has been successfully added"
+msgstr "Widget成功添加"

+ 1 - 1
jet/forms.py

@@ -119,7 +119,7 @@ class ModelLookupForm(forms.Form):
         content_type = ContentType.objects.get_for_model(self.model_cls)
         permission = Permission.objects.filter(content_type=content_type, codename__startswith='change_').first()
 
-        if not self.request.user.has_perm(permission.codename):
+        if not self.request.user.has_perm('{}.{}'.format(data['app_label'], permission.codename)):
             raise ValidationError('error')
 
         return data

BIN
jet/locale/ar/LC_MESSAGES/django.mo


+ 71 - 0
jet/locale/ar/LC_MESSAGES/django.po

@@ -0,0 +1,71 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-28 13:32+0000\n"
+"PO-Revision-Date: 2017-02-12 16:57+0300\n"
+"Language: ar\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Last-Translator: Bashar <poedit@bashar.com>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.7.1\n"
+
+#: models.py:16 templates/admin/base.html:294
+msgid "bookmarks"
+msgstr "التفضيلات"
+
+#: templates/admin/base.html:133
+msgid "back"
+msgstr "الرجوع"
+
+#: templates/admin/base.html:60
+msgid "View site"
+msgstr "عرض الموقع"
+
+#: templates/admin/base.html:273 templates/admin/base.html:292
+msgid "Add bookmark"
+msgstr "أضف تفضيله"
+
+#: templates/admin/base.html:286
+msgid "Delete bookmark"
+msgstr "أحذف تفضيله"
+
+#: templates/admin/base.html:287
+msgid "Are you sure want to delete this bookmark?"
+msgstr "هل أنت متأكد من حذف هذه التفضيله؟"
+
+#: templates/admin/base.html:339
+msgid "Application page"
+msgstr "صفحة تطبيق"
+
+#: templates/admin/base.html:276
+msgid "Title"
+msgstr "العنوان"
+
+#: templates/admin/base.html:278
+msgid "URL"
+msgstr "الرابط"
+
+#: templates/admin/base.html:217
+msgid "Applications"
+msgstr "التطبيقات"
+
+#: templates/admin/base.html:243
+msgid "Hide applications"
+msgstr "إخفاء التطبيقات"
+
+#: templates/admin/base.html:244
+msgid "Show hidden"
+msgstr "عرض المخفي"
+
+#: templates/admin/base.html:363
+msgid "current theme"
+msgstr "القالب الحالي"

BIN
jet/locale/ar/LC_MESSAGES/djangojs.mo


+ 47 - 0
jet/locale/ar/LC_MESSAGES/djangojs.po

@@ -0,0 +1,47 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-09-11 12:44+0000\n"
+"PO-Revision-Date: 2017-02-12 17:02+0300\n"
+"Language: ar\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Bashar <poedit@bashar.com>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.7.1\n"
+
+#: static/jet/js/src/features/sidebar/bookmarks.js:80
+msgid "Add"
+msgstr "أضف"
+
+#: static/jet/js/src/features/sidebar/bookmarks.js:85
+#: static/jet/js/src/features/sidebar/bookmarks.js:118
+msgid "Cancel"
+msgstr "إلغاء"
+
+#: static/jet/js/src/features/sidebar/bookmarks.js:113
+msgid "Delete"
+msgstr "حذف"
+
+#: static/jet/js/src/features/changeform.js:11
+msgid "Warning: you have unsaved changes"
+msgstr "تحذير: لديك تغيرات غير محفوظة"
+
+#: static/jet/js/src/features/selects.js:109
+msgid "select all"
+msgstr "تحديد الكل"
+
+#: static/jet/js/src/features/selects.js:112
+msgid "deselect all"
+msgstr "إلغاء تحديد الكل"
+
+#: static/jet/js/src/layout-updaters/changeform-tabs.js:15
+#: static/jet/js/src/layout-updaters/changeform-tabs.js:30
+msgid "General"
+msgstr "عام"

BIN
jet/locale/pl/LC_MESSAGES/django.mo


+ 164 - 0
jet/locale/pl/LC_MESSAGES/django.po

@@ -0,0 +1,164 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-01 17:53+0000\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+#: jet/filters.py:67
+msgid "From date"
+msgstr ""
+
+#: jet/filters.py:73
+msgid "To date"
+msgstr ""
+
+#: jet/models.py:9 jet/templates/admin/base.html:276
+msgid "URL"
+msgstr "Adres URL"
+
+#: jet/models.py:10
+msgid "title"
+msgstr "tytuł"
+
+#: jet/models.py:11 jet/models.py:26
+msgid "user"
+msgstr "użytkownik"
+
+#: jet/models.py:12 jet/models.py:27
+msgid "date created"
+msgstr "data utworzenia"
+
+#: jet/models.py:15
+msgid "bookmark"
+msgstr "zakładka"
+
+#: jet/models.py:16 jet/templates/admin/base.html:292
+msgid "bookmarks"
+msgstr "zakładki"
+
+#: jet/models.py:25
+msgid "application name"
+msgstr "nazwa aplikacji"
+
+#: jet/models.py:30
+msgid "pinned application"
+msgstr "przypięta aplikacja"
+
+#: jet/models.py:31
+msgid "pinned applications"
+msgstr "przypięte aplikacje"
+
+#: jet/templates/admin/base.html:53
+msgid "Welcome,"
+msgstr "Witaj,"
+
+#: jet/templates/admin/base.html:58 jet/templates/admin/base.html:159
+msgid "View site"
+msgstr "Zobacz stronę"
+
+#: jet/templates/admin/base.html:63 jet/templates/admin/base.html:168
+msgid "Documentation"
+msgstr "Dokumentacja"
+
+#: jet/templates/admin/base.html:67
+msgid "Change password"
+msgstr "Zmień hasło"
+
+#: jet/templates/admin/base.html:69
+msgid "Log out"
+msgstr "Wyloguj"
+
+#: jet/templates/admin/base.html:78 jet/templates/admin/base.html:151
+msgid "Home"
+msgstr "Strona domowa"
+
+#: jet/templates/admin/base.html:131
+msgid "back"
+msgstr "wstecz"
+
+#: jet/templates/admin/base.html:215
+msgid "Applications"
+msgstr "Aplikacje"
+
+#: jet/templates/admin/base.html:241
+msgid "Hide applications"
+msgstr "Ukryj aplikacje"
+
+#: jet/templates/admin/base.html:242
+msgid "Show hidden"
+msgstr "Pokaż ukryte"
+
+#: jet/templates/admin/base.html:271 jet/templates/admin/base.html:290
+msgid "Add bookmark"
+msgstr "Dodaj zakładkę"
+
+#: jet/templates/admin/base.html:274
+msgid "Title"
+msgstr "Tytuł"
+
+#: jet/templates/admin/base.html:284
+msgid "Delete bookmark"
+msgstr "Usuń zakładkę"
+
+#: jet/templates/admin/base.html:285
+msgid "Are you sure want to delete this bookmark?"
+msgstr "Czy jesteś pewien że chcesz usnąć zakładkę"
+
+#: jet/templates/admin/base.html:300 jet/templates/admin/base.html:307
+#: jet/templates/admin/edit_inline/compact.html:3
+msgid "Remove"
+msgstr "Usuń"
+
+#: jet/templates/admin/base.html:337
+msgid "Application page"
+msgstr "Strona aplikacji"
+
+#: jet/templates/admin/base.html:361
+msgid "current theme"
+msgstr "obecny motyw"
+
+#: jet/templates/admin/edit_inline/compact.html:12
+#, python-format
+msgid "Add another %(verbose_name)s"
+msgstr "Dodaj kolejny %(verbose_name)s"
+
+#: jet/templates/admin/edit_inline/compact.html:37
+msgid "Change"
+msgstr "Zmień"
+
+#: jet/templates/admin/edit_inline/compact.html:43
+msgid "View on site"
+msgstr "Zobacz na stronie"
+
+#: jet/templates/admin/popup_response.html:4
+msgid "Popup closing..."
+msgstr ""
+
+#: jet/templates/jet/related_field_ajax_list_filter.html:2
+#: jet/templates/rangefilter/date_filter.html:2
+#: jet/templates/rangefilter/date_filter.html:16
+#, python-format
+msgid " By %(filter_title)s "
+msgstr ""
+
+#: jet/templates/rangefilter/date_filter.html:33
+msgid "Search"
+msgstr "Szukaj"
+
+#: jet/templates/rangefilter/date_filter.html:34
+msgid "Reset"
+msgstr ""

BIN
jet/locale/pl/LC_MESSAGES/djangojs.mo


+ 23 - 0
jet/locale/pl/LC_MESSAGES/djangojs.po

@@ -0,0 +1,23 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-01 17:54+0000\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+#: jet/static/jet/js/build/bundle.min.js:3
+msgid "'"
+msgstr ""

BIN
jet/locale/zh_cn/LC_MESSAGES/django.mo


+ 163 - 0
jet/locale/zh_cn/LC_MESSAGES/django.po

@@ -0,0 +1,163 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-01-20 10:03+0800\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: jet/filters.py:67
+msgid "From date"
+msgstr "起始日期"
+
+#: jet/filters.py:73
+msgid "To date"
+msgstr "结束日期"
+
+#: jet/models.py:9 jet/templates/admin/base.html:276
+msgid "URL"
+msgstr "URL"
+
+#: jet/models.py:10
+msgid "title"
+msgstr "标题"
+
+#: jet/models.py:11 jet/models.py:26
+msgid "user"
+msgstr "用户"
+
+#: jet/models.py:12 jet/models.py:27
+msgid "date created"
+msgstr "创建日期"
+
+#: jet/models.py:15
+msgid "bookmark"
+msgstr "书签"
+
+#: jet/models.py:16 jet/templates/admin/base.html:292
+msgid "bookmarks"
+msgstr "书签"
+
+#: jet/models.py:25
+msgid "application name"
+msgstr "应用名称"
+
+#: jet/models.py:30
+msgid "pinned application"
+msgstr "固定应用"
+
+#: jet/models.py:31
+msgid "pinned applications"
+msgstr "固定应用"
+
+#: jet/templates/admin/base.html:53
+msgid "Welcome,"
+msgstr "欢迎,"
+
+#: jet/templates/admin/base.html:58 jet/templates/admin/base.html:159
+msgid "View site"
+msgstr "查看站点"
+
+#: jet/templates/admin/base.html:63 jet/templates/admin/base.html:168
+msgid "Documentation"
+msgstr "文档"
+
+#: jet/templates/admin/base.html:67
+msgid "Change password"
+msgstr "修改密码"
+
+#: jet/templates/admin/base.html:69
+msgid "Log out"
+msgstr "退出"
+
+#: jet/templates/admin/base.html:78 jet/templates/admin/base.html:151
+msgid "Home"
+msgstr "首页"
+
+#: jet/templates/admin/base.html:131
+msgid "back"
+msgstr "返回"
+
+#: jet/templates/admin/base.html:215
+msgid "Applications"
+msgstr "应用"
+
+#: jet/templates/admin/base.html:241
+msgid "Hide applications"
+msgstr "隐藏应用"
+
+#: jet/templates/admin/base.html:242
+msgid "Show hidden"
+msgstr "显示隐藏项"
+
+#: jet/templates/admin/base.html:271 jet/templates/admin/base.html:290
+msgid "Add bookmark"
+msgstr "添加书签"
+
+#: jet/templates/admin/base.html:274
+msgid "Title"
+msgstr "标题"
+
+#: jet/templates/admin/base.html:284
+msgid "Delete bookmark"
+msgstr "删除书签"
+
+#: jet/templates/admin/base.html:285
+msgid "Are you sure want to delete this bookmark?"
+msgstr "你确定要删除这个书签吗?"
+
+#: jet/templates/admin/base.html:300 jet/templates/admin/base.html:307
+#: jet/templates/admin/edit_inline/compact.html:3
+msgid "Remove"
+msgstr "删除"
+
+#: jet/templates/admin/base.html:337
+msgid "Application page"
+msgstr "应用页"
+
+#: jet/templates/admin/base.html:361
+msgid "current theme"
+msgstr "当前主题"
+
+#: jet/templates/admin/edit_inline/compact.html:12
+#, python-format
+msgid "Add another %(verbose_name)s"
+msgstr "添加另一个%(verbose_name)s"
+
+#: jet/templates/admin/edit_inline/compact.html:37
+msgid "Change"
+msgstr "修改"
+
+#: jet/templates/admin/edit_inline/compact.html:43
+msgid "View on site"
+msgstr "在站点中查看"
+
+#: jet/templates/admin/popup_response.html:4
+msgid "Popup closing..."
+msgstr "弹窗关闭中..."
+
+#: jet/templates/jet/related_field_ajax_list_filter.html:2
+#: jet/templates/rangefilter/date_filter.html:2
+#: jet/templates/rangefilter/date_filter.html:16
+#, python-format
+msgid " By %(filter_title)s "
+msgstr "By %(filter_title)s"
+
+#: jet/templates/rangefilter/date_filter.html:33
+msgid "Search"
+msgstr "查找"
+
+#: jet/templates/rangefilter/date_filter.html:34
+msgid "Reset"
+msgstr "重置"

+ 0 - 1
jet/static/jet/css/_sidebar.scss

@@ -10,7 +10,6 @@
   background-color: $sidebar-background-color;
   color: $sidebar-text-color;
   transition: background-color $transitions-duration;
-  padding-bottom: 32px;
 
   @include for-mobile {
     width: 360px;

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/default/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/default/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/green/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/green/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-blue/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-blue/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-gray/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-gray/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-green/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-green/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-violet/base.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/themes/light-violet/base.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/css/vendor.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
jet/static/jet/js/build/bundle.min.js


+ 1 - 1
jet/static/jet/js/src/features/related-popups.js

@@ -217,7 +217,7 @@ RelatedPopups.prototype = {
             = window.showRelatedObjectPopup
             = function() { };
 
-        window.opener = this.windowStorage.previous();
+        window.opener = this.windowStorage.previous() || window.opener;
         window.dismissRelatedLookupPopup = function(win, chosenId) {
             self.closePopup({
                 action: 'lookup',

+ 0 - 1
jet/templates/admin/base.html

@@ -312,7 +312,6 @@
                     </div>
                 {% endif %}
             </div>
-            <div class="sidebar-copyright">powered by DJANGO JET</div>
 
             {% if app_list and not SIDE_MENU_COMPACT %}
                 <div class="sidebar-popup-container">

+ 6 - 3
jet/templatetags/jet_tags.py

@@ -160,9 +160,12 @@ def jet_select2_lookups(field):
                 field.field.choices = choices
             elif hasattr(field, 'field') and isinstance(field.field, ModelChoiceField):
                 if initial_value:
-                    initial_object = model.objects.get(pk=initial_value)
-                    attrs['data-object-id'] = initial_value
-                    choices.append((initial_object.pk, get_model_instance_label(initial_object)))
+                    try:
+                        initial_object = model.objects.get(pk=initial_value)
+                        attrs['data-object-id'] = initial_value
+                        choices.append((initial_object.pk, get_model_instance_label(initial_object)))
+                    except model.DoesNotExist:
+                        pass
 
                 if isinstance(field.field.widget, RelatedFieldWidgetWrapper):
                     field.field.widget.widget = Select(attrs)

Vissa filer visades inte eftersom för många filer har ändrats