wagtail 6.1.1__py3-none-any.whl → 6.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wagtail/__init__.py +1 -1
- wagtail/admin/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/django.po +75 -1
- wagtail/admin/locale/fa/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/djangojs.po +5 -1
- wagtail/admin/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/django.po +89 -3
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.po +228 -2
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.po +20 -1
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.po +11 -1
- wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/django.po +97 -0
- wagtail/admin/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/django.po +74 -0
- wagtail/admin/locale/sv/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/djangojs.po +5 -2
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.po +71 -1
- wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
- wagtail/admin/views/generic/base.py +3 -2
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.po +14 -1
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.po +5 -2
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.po +56 -2
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.po +5 -2
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.po +10 -1
- wagtail/contrib/settings/tests/generic/test_admin.py +144 -16
- wagtail/contrib/settings/tests/site_specific/test_admin.py +142 -17
- wagtail/contrib/settings/views.py +3 -0
- wagtail/contrib/simple_translation/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/styleguide/locale/sk_SK/LC_MESSAGES/django.po +5 -1
- wagtail/contrib/styleguide/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/styleguide/locale/zh_Hans/LC_MESSAGES/django.po +3 -0
- wagtail/contrib/styleguide/tests.py +33 -0
- wagtail/contrib/styleguide/views.py +4 -1
- wagtail/contrib/table_block/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/fr/LC_MESSAGES/django.po +27 -1
- wagtail/contrib/table_block/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/is_IS/LC_MESSAGES/django.po +28 -2
- wagtail/contrib/table_block/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/sl/LC_MESSAGES/django.po +27 -1
- wagtail/contrib/typed_table_block/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/fr/LC_MESSAGES/django.po +12 -1
- wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.po +12 -1
- wagtail/contrib/typed_table_block/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/sl/LC_MESSAGES/django.po +12 -2
- wagtail/documents/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ca/LC_MESSAGES/django.po +3 -2
- wagtail/documents/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fa/LC_MESSAGES/django.po +9 -0
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.po +17 -2
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.po +45 -2
- wagtail/documents/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sl/LC_MESSAGES/django.po +11 -2
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.po +7 -1
- wagtail/images/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fa/LC_MESSAGES/django.po +20 -1
- wagtail/images/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/is_IS/LC_MESSAGES/django.po +28 -2
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.po +15 -0
- wagtail/images/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sl/LC_MESSAGES/django.po +14 -2
- wagtail/images/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sv/LC_MESSAGES/django.po +14 -2
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.po +45 -1
- wagtail/images/models.py +1 -0
- wagtail/images/tests/test_admin_views.py +32 -0
- wagtail/images/tests/test_image_operations.py +12 -0
- wagtail/images/tests/tests.py +27 -2
- wagtail/images/views/images.py +7 -3
- wagtail/images/views/serve.py +1 -0
- wagtail/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fa/LC_MESSAGES/django.po +3 -0
- wagtail/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fr/LC_MESSAGES/django.po +23 -4
- wagtail/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/is_IS/LC_MESSAGES/django.po +22 -2
- wagtail/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sl/LC_MESSAGES/django.po +77 -0
- wagtail/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sv/LC_MESSAGES/django.po +11 -2
- wagtail/locales/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/locales/locale/it/LC_MESSAGES/django.po +16 -17
- wagtail/search/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/search/locale/fa/LC_MESSAGES/django.po +24 -0
- wagtail/search/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/search/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/search/tests/test_queries.py +24 -0
- wagtail/search/utils.py +6 -12
- wagtail/snippets/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fa/LC_MESSAGES/django.po +17 -1
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.po +3 -0
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.po +40 -1
- wagtail/test/testapp/templates/tests/icons/single-quotes.svg +1 -0
- wagtail/tests/test_blocks.py +27 -0
- wagtail/tests/test_utils.py +28 -1
- wagtail/users/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fa/LC_MESSAGES/django.po +63 -1
- wagtail/users/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fr/LC_MESSAGES/django.po +44 -3
- wagtail/users/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/is_IS/LC_MESSAGES/django.po +44 -2
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.po +8 -1
- wagtail/users/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sl/LC_MESSAGES/django.po +46 -2
- wagtail/users/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sv/LC_MESSAGES/django.po +41 -2
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.po +45 -1
- wagtail/utils/utils.py +26 -0
- wagtail/widget_adapters.py +1 -1
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/METADATA +1 -1
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/RECORD +147 -145
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/LICENSE +0 -0
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/WHEEL +0 -0
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/entry_points.txt +0 -0
- {wagtail-6.1.1.dist-info → wagtail-6.1.3.dist-info}/top_level.txt +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
# Translators:
|
|
6
6
|
# dellax <michalnebbia@gmail.com>, 2015
|
|
7
|
+
# Ivan Waginger <ivan.waginger@gmail.com>, 2024
|
|
7
8
|
# Martin Janšto <mato@jansto.sk>, 2017
|
|
8
9
|
# Martin Janšto <mato@jansto.sk>, 2017
|
|
9
10
|
# dellax <michalnebbia@gmail.com>, 2015
|
|
@@ -15,7 +16,7 @@ msgstr ""
|
|
|
15
16
|
"Report-Msgid-Bugs-To: \n"
|
|
16
17
|
"POT-Creation-Date: 2024-05-02 10:04+0100\n"
|
|
17
18
|
"PO-Revision-Date: 2014-02-19 11:54+0000\n"
|
|
18
|
-
"Last-Translator:
|
|
19
|
+
"Last-Translator: Ivan Waginger <ivan.waginger@gmail.com>, 2024\n"
|
|
19
20
|
"Language-Team: Slovak (Slovakia) (http://app.transifex.com/torchbox/wagtail/"
|
|
20
21
|
"language/sk_SK/)\n"
|
|
21
22
|
"MIME-Version: 1.0\n"
|
|
@@ -25,6 +26,9 @@ msgstr ""
|
|
|
25
26
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n "
|
|
26
27
|
">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
27
28
|
|
|
29
|
+
msgid "Wagtail users"
|
|
30
|
+
msgstr "Wagtail užívatelia"
|
|
31
|
+
|
|
28
32
|
msgid "This value may contain only letters, numbers and @/./+/-/_ characters."
|
|
29
33
|
msgstr "Táto hodnota môže obsahovať len písmená, čísla a znaky @/./+/-/_ "
|
|
30
34
|
|
|
@@ -105,6 +109,9 @@ msgstr "Vymazať"
|
|
|
105
109
|
msgid "Yes, delete"
|
|
106
110
|
msgstr "Áno, zmazať"
|
|
107
111
|
|
|
112
|
+
msgid "No, don't delete"
|
|
113
|
+
msgstr "Nie, nezmazať"
|
|
114
|
+
|
|
108
115
|
msgid ""
|
|
109
116
|
"Deleting this group will revoke this group's permissions from all member "
|
|
110
117
|
"users."
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# Translators:
|
|
6
6
|
# Andrej Marsetič, 2022
|
|
7
7
|
# Andrej Marsetič, 2022
|
|
8
|
-
# Andrej Marsetič, 2022-
|
|
8
|
+
# Andrej Marsetič, 2022-2024
|
|
9
9
|
# Mitja Pagon <mitja.pagon@inueni.com>, 2016
|
|
10
10
|
msgid ""
|
|
11
11
|
msgstr ""
|
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
|
14
14
|
"POT-Creation-Date: 2024-05-02 10:04+0100\n"
|
|
15
15
|
"PO-Revision-Date: 2014-02-19 11:54+0000\n"
|
|
16
|
-
"Last-Translator: Andrej Marsetič, 2022-
|
|
16
|
+
"Last-Translator: Andrej Marsetič, 2022-2024\n"
|
|
17
17
|
"Language-Team: Slovenian (http://app.transifex.com/torchbox/wagtail/language/"
|
|
18
18
|
"sl/)\n"
|
|
19
19
|
"MIME-Version: 1.0\n"
|
|
@@ -131,6 +131,14 @@ msgstr "predloga skrbnika"
|
|
|
131
131
|
msgid "Default"
|
|
132
132
|
msgstr "Privzeta"
|
|
133
133
|
|
|
134
|
+
msgid "Snug"
|
|
135
|
+
msgstr "Udobno"
|
|
136
|
+
|
|
137
|
+
#. Translators: "Density" is the term used to describe the amount of space
|
|
138
|
+
#. between elements in the user interface
|
|
139
|
+
msgid "density"
|
|
140
|
+
msgstr "gostota"
|
|
141
|
+
|
|
134
142
|
msgid "user profile"
|
|
135
143
|
msgstr "uporabniški profil"
|
|
136
144
|
|
|
@@ -272,6 +280,30 @@ msgstr "Odkleni"
|
|
|
272
280
|
msgid "Custom permissions"
|
|
273
281
|
msgstr "Dovoljenja po meri"
|
|
274
282
|
|
|
283
|
+
msgid "Toggle all"
|
|
284
|
+
msgstr "Preklopi vse"
|
|
285
|
+
|
|
286
|
+
msgid "Toggle all add permissions"
|
|
287
|
+
msgstr "Preklop vseh dovoljenj za dodajanje"
|
|
288
|
+
|
|
289
|
+
msgid "Toggle all change permissions"
|
|
290
|
+
msgstr "Preklop vseh dovoljenj za spremembe"
|
|
291
|
+
|
|
292
|
+
msgid "Toggle all delete permissions"
|
|
293
|
+
msgstr "Preklop vseh dovoljenj za brisanje"
|
|
294
|
+
|
|
295
|
+
msgid "Toggle all publish permissions"
|
|
296
|
+
msgstr "Preklop vseh dovoljenj za objavo"
|
|
297
|
+
|
|
298
|
+
msgid "Toggle all lock permissions"
|
|
299
|
+
msgstr "Preklop vseh dovoljenj za zaklepanje"
|
|
300
|
+
|
|
301
|
+
msgid "Toggle all unlock permissions"
|
|
302
|
+
msgstr "Preklop vseh dovoljenj za odklepanje"
|
|
303
|
+
|
|
304
|
+
msgid "Toggle all custom permissions"
|
|
305
|
+
msgstr "Preklop vseh dovoljenj po meri"
|
|
306
|
+
|
|
275
307
|
msgid "Other permissions"
|
|
276
308
|
msgstr "Ostala dovoljenja"
|
|
277
309
|
|
|
@@ -314,6 +346,9 @@ msgstr "Izbriši uporabnika"
|
|
|
314
346
|
msgid "Select all users in listing"
|
|
315
347
|
msgstr "Izberite vse uporabnike na seznamu"
|
|
316
348
|
|
|
349
|
+
msgid "Sorry, no users match your query"
|
|
350
|
+
msgstr "Žal ni uporabnikov, ki bi ustrezali vaši poizvedbi"
|
|
351
|
+
|
|
317
352
|
#, python-format
|
|
318
353
|
msgid ""
|
|
319
354
|
"There are no users configured. Why not <a "
|
|
@@ -346,6 +381,9 @@ msgstr "Aktiven"
|
|
|
346
381
|
msgid "Inactive"
|
|
347
382
|
msgstr "Neaktiven"
|
|
348
383
|
|
|
384
|
+
msgid "Mark as active"
|
|
385
|
+
msgstr "Označi kot aktivno"
|
|
386
|
+
|
|
349
387
|
msgid "Change the active state for selected users"
|
|
350
388
|
msgstr "Spremenite aktivno stanje za izbrane uporabnike"
|
|
351
389
|
|
|
@@ -392,6 +430,12 @@ msgstr "Ogled uporabnikov v tej skupini"
|
|
|
392
430
|
msgid "Group '%(object)s' deleted."
|
|
393
431
|
msgstr "Skupina '%(object)s' izbrisana."
|
|
394
432
|
|
|
433
|
+
msgid "Last login"
|
|
434
|
+
msgstr "Zadnja prijava"
|
|
435
|
+
|
|
436
|
+
msgid "Group"
|
|
437
|
+
msgstr "Skupina"
|
|
438
|
+
|
|
395
439
|
msgid "Add a user"
|
|
396
440
|
msgstr "Dodaj uporabnika"
|
|
397
441
|
|
|
Binary file
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
# Translators:
|
|
6
6
|
# Jim Brouzoulis <jim.brouzoulis@chalmers.se>, 2017
|
|
7
|
-
# Martin Sandström <martin@marteinn.se>, 2020-2021
|
|
7
|
+
# Martin Sandström <martin@marteinn.se>, 2020-2021,2024
|
|
8
8
|
# Philip Andersen <renegadevi@codeofmagi.net>, 2018-2019
|
|
9
9
|
# Thomas Kunambi <kunambi@gmail.com>, 2015,2017,2021-2023
|
|
10
10
|
msgid ""
|
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
|
14
14
|
"POT-Creation-Date: 2024-05-02 10:04+0100\n"
|
|
15
15
|
"PO-Revision-Date: 2014-02-19 11:54+0000\n"
|
|
16
|
-
"Last-Translator:
|
|
16
|
+
"Last-Translator: Martin Sandström <martin@marteinn.se>, 2020-2021,2024\n"
|
|
17
17
|
"Language-Team: Swedish (http://app.transifex.com/torchbox/wagtail/language/"
|
|
18
18
|
"sv/)\n"
|
|
19
19
|
"MIME-Version: 1.0\n"
|
|
@@ -115,6 +115,18 @@ msgstr "Välj din nuvarande tidszon"
|
|
|
115
115
|
msgid "profile picture"
|
|
116
116
|
msgstr "profilbild"
|
|
117
117
|
|
|
118
|
+
msgid "System default"
|
|
119
|
+
msgstr "Systeminställningar"
|
|
120
|
+
|
|
121
|
+
msgid "Light"
|
|
122
|
+
msgstr "Ljust"
|
|
123
|
+
|
|
124
|
+
msgid "Dark"
|
|
125
|
+
msgstr "Mörkt"
|
|
126
|
+
|
|
127
|
+
msgid "admin theme"
|
|
128
|
+
msgstr "admintema"
|
|
129
|
+
|
|
118
130
|
msgid "Default"
|
|
119
131
|
msgstr "Standard"
|
|
120
132
|
|
|
@@ -244,6 +256,21 @@ msgstr "Lås upp"
|
|
|
244
256
|
msgid "Custom permissions"
|
|
245
257
|
msgstr "Anpassade rättigheter"
|
|
246
258
|
|
|
259
|
+
msgid "Toggle all"
|
|
260
|
+
msgstr "Växla alla"
|
|
261
|
+
|
|
262
|
+
msgid "Toggle all add permissions"
|
|
263
|
+
msgstr "Växla alla lägg till rättigheter"
|
|
264
|
+
|
|
265
|
+
msgid "Toggle all change permissions"
|
|
266
|
+
msgstr "Växla alla redigera rättigheter"
|
|
267
|
+
|
|
268
|
+
msgid "Toggle all delete permissions"
|
|
269
|
+
msgstr "Växla alla radera rättigheter"
|
|
270
|
+
|
|
271
|
+
msgid "Toggle all publish permissions"
|
|
272
|
+
msgstr "Växla alla publicera rättigheter"
|
|
273
|
+
|
|
247
274
|
msgid "Other permissions"
|
|
248
275
|
msgstr "Andra rättigheter"
|
|
249
276
|
|
|
@@ -322,6 +349,9 @@ msgstr "Aktiv"
|
|
|
322
349
|
msgid "Inactive"
|
|
323
350
|
msgstr "Inaktiv"
|
|
324
351
|
|
|
352
|
+
msgid "Mark as active"
|
|
353
|
+
msgstr "Markera som aktiv"
|
|
354
|
+
|
|
325
355
|
msgid "Change the active state for selected users"
|
|
326
356
|
msgstr "Ändra aktiv status för valda användare"
|
|
327
357
|
|
|
@@ -364,6 +394,12 @@ msgstr "Visa användare i denna grupp"
|
|
|
364
394
|
msgid "Group '%(object)s' deleted."
|
|
365
395
|
msgstr "Grupp '%(object)s' raderad."
|
|
366
396
|
|
|
397
|
+
msgid "Last login"
|
|
398
|
+
msgstr "Senast inloggad"
|
|
399
|
+
|
|
400
|
+
msgid "Group"
|
|
401
|
+
msgstr "Grupp"
|
|
402
|
+
|
|
367
403
|
msgid "Add a user"
|
|
368
404
|
msgstr "Lägg till en användare"
|
|
369
405
|
|
|
@@ -376,6 +412,9 @@ msgstr "Användarnamn"
|
|
|
376
412
|
msgid "Admin"
|
|
377
413
|
msgstr "Administratör"
|
|
378
414
|
|
|
415
|
+
msgid "Access level"
|
|
416
|
+
msgstr "Behörighetsnivå"
|
|
417
|
+
|
|
379
418
|
msgid "Status"
|
|
380
419
|
msgstr "Status"
|
|
381
420
|
|
|
Binary file
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
# Vincent Zhao <zhaopu2008@gmail.com>, 2017
|
|
18
18
|
# yi huang <yi.codeplayer@gmail.com>, 2018
|
|
19
19
|
# Yin Guanhao <sopium@mysterious.site>, 2021
|
|
20
|
+
# Yu Cheng, 2024
|
|
20
21
|
# 祝沙军 <zhushajun@gmail.com>, 2017
|
|
21
22
|
# 汇民 王 <whuim@qq.com>, 2017,2019-2021
|
|
22
23
|
# 祝沙军 <zhushajun@gmail.com>, 2016
|
|
@@ -27,7 +28,7 @@ msgstr ""
|
|
|
27
28
|
"Report-Msgid-Bugs-To: \n"
|
|
28
29
|
"POT-Creation-Date: 2024-05-02 10:04+0100\n"
|
|
29
30
|
"PO-Revision-Date: 2014-02-19 11:54+0000\n"
|
|
30
|
-
"Last-Translator:
|
|
31
|
+
"Last-Translator: Yu Cheng, 2024\n"
|
|
31
32
|
"Language-Team: Chinese (China) (http://app.transifex.com/torchbox/wagtail/"
|
|
32
33
|
"language/zh_CN/)\n"
|
|
33
34
|
"MIME-Version: 1.0\n"
|
|
@@ -122,6 +123,15 @@ msgstr "选择你所在时区"
|
|
|
122
123
|
msgid "profile picture"
|
|
123
124
|
msgstr "配置图片"
|
|
124
125
|
|
|
126
|
+
msgid "System default"
|
|
127
|
+
msgstr "系统默认"
|
|
128
|
+
|
|
129
|
+
msgid "Light"
|
|
130
|
+
msgstr "浅色"
|
|
131
|
+
|
|
132
|
+
msgid "Dark"
|
|
133
|
+
msgstr "深色"
|
|
134
|
+
|
|
125
135
|
msgid "Default"
|
|
126
136
|
msgstr "默认"
|
|
127
137
|
|
|
@@ -173,6 +183,11 @@ msgstr "确认删除"
|
|
|
173
183
|
msgid "No, don't delete"
|
|
174
184
|
msgstr "否,不删除"
|
|
175
185
|
|
|
186
|
+
#, python-format
|
|
187
|
+
msgid "Change active state for 1 user"
|
|
188
|
+
msgid_plural "Change active state for %(counter)s users"
|
|
189
|
+
msgstr[0] "更改 %(counter)s 个用户的活动状态"
|
|
190
|
+
|
|
176
191
|
msgid "Set active state"
|
|
177
192
|
msgstr "设置活动状态"
|
|
178
193
|
|
|
@@ -188,6 +203,13 @@ msgstr "是的,更改状态"
|
|
|
188
203
|
msgid "No, don't change state"
|
|
189
204
|
msgstr "否,不更改状态"
|
|
190
205
|
|
|
206
|
+
#, python-format
|
|
207
|
+
msgid ""
|
|
208
|
+
"The group '%(group_name)s' has <strong>%(group_user_count)s</strong> member."
|
|
209
|
+
msgid_plural ""
|
|
210
|
+
"The group '%(group_name)s' has <strong>%(group_user_count)s</strong> members."
|
|
211
|
+
msgstr[0] "“%(group_name)s”组有 <strong>%(group_user_count)s</strong> 个成员。"
|
|
212
|
+
|
|
191
213
|
msgid ""
|
|
192
214
|
"Deleting this group will revoke this group's permissions from all member "
|
|
193
215
|
"users."
|
|
@@ -229,6 +251,12 @@ msgstr "解锁"
|
|
|
229
251
|
msgid "Custom permissions"
|
|
230
252
|
msgstr "定制权限"
|
|
231
253
|
|
|
254
|
+
msgid "Toggle all"
|
|
255
|
+
msgstr "全部切换"
|
|
256
|
+
|
|
257
|
+
msgid "Toggle all add permissions"
|
|
258
|
+
msgstr "切换所有添加权限"
|
|
259
|
+
|
|
232
260
|
msgid "Other permissions"
|
|
233
261
|
msgstr "其他权限"
|
|
234
262
|
|
|
@@ -270,6 +298,9 @@ msgstr "删除用户"
|
|
|
270
298
|
msgid "Select all users in listing"
|
|
271
299
|
msgstr "选择列表中的所有用户"
|
|
272
300
|
|
|
301
|
+
msgid "Sorry, no users match your query"
|
|
302
|
+
msgstr "抱歉,没有用户符合您的查询"
|
|
303
|
+
|
|
273
304
|
#, python-format
|
|
274
305
|
msgid ""
|
|
275
306
|
"There are no users configured. Why not <a "
|
|
@@ -303,6 +334,9 @@ msgstr "有效"
|
|
|
303
334
|
msgid "Inactive"
|
|
304
335
|
msgstr "无效"
|
|
305
336
|
|
|
337
|
+
msgid "Mark as active"
|
|
338
|
+
msgstr "标记为活动状态"
|
|
339
|
+
|
|
306
340
|
msgid "Change the active state for selected users"
|
|
307
341
|
msgstr "更改所选用户的活动状态"
|
|
308
342
|
|
|
@@ -343,6 +377,9 @@ msgstr "查看此组中的用户"
|
|
|
343
377
|
msgid "Group '%(object)s' deleted."
|
|
344
378
|
msgstr "组 '%(object)s' 已删除。"
|
|
345
379
|
|
|
380
|
+
msgid "Last login"
|
|
381
|
+
msgstr "上次登录"
|
|
382
|
+
|
|
346
383
|
msgid "Group"
|
|
347
384
|
msgstr "组"
|
|
348
385
|
|
|
@@ -358,9 +395,16 @@ msgstr "用户名"
|
|
|
358
395
|
msgid "Admin"
|
|
359
396
|
msgstr "管理"
|
|
360
397
|
|
|
398
|
+
msgid "Access level"
|
|
399
|
+
msgstr "访问权限"
|
|
400
|
+
|
|
361
401
|
msgid "Status"
|
|
362
402
|
msgstr "状态"
|
|
363
403
|
|
|
404
|
+
#, python-format
|
|
405
|
+
msgid "More options for '%(title)s'"
|
|
406
|
+
msgstr "“%(title)s”的更多选项"
|
|
407
|
+
|
|
364
408
|
#, python-format
|
|
365
409
|
msgid "User '%(object)s' created."
|
|
366
410
|
msgstr "用户 '%(object)s' 已创建."
|
wagtail/utils/utils.py
CHANGED
|
@@ -13,3 +13,29 @@ def deep_update(source, overrides):
|
|
|
13
13
|
else:
|
|
14
14
|
source[key] = overrides[key]
|
|
15
15
|
return source
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def flatten_choices(choices):
|
|
19
|
+
"""
|
|
20
|
+
Convert potentially grouped choices into a flat dict of choices.
|
|
21
|
+
flatten_choices([(1, '1st'), (2, '2nd')]) -> {1: '1st', 2: '2nd'}
|
|
22
|
+
flatten_choices([('Group', [(1, '1st'), (2, '2nd')])]) -> {1: '1st', 2: '2nd'}
|
|
23
|
+
flatten_choices({'Group': {'1': '1st', '2': '2nd'}}) -> {'1': '1st', '2': '2nd'}
|
|
24
|
+
"""
|
|
25
|
+
ret = {}
|
|
26
|
+
|
|
27
|
+
to_unpack = choices.items() if isinstance(choices, dict) else choices
|
|
28
|
+
|
|
29
|
+
for key, value in to_unpack:
|
|
30
|
+
if isinstance(value, (list, tuple)):
|
|
31
|
+
# grouped choices (category, sub choices)
|
|
32
|
+
for sub_key, sub_value in value:
|
|
33
|
+
ret[str(sub_key)] = sub_value
|
|
34
|
+
elif isinstance(value, (dict)):
|
|
35
|
+
# grouped choices using dict (category, sub choices)
|
|
36
|
+
for sub_key, sub_value in value.items():
|
|
37
|
+
ret[str(sub_key)] = sub_value
|
|
38
|
+
else:
|
|
39
|
+
# choice (key, display value)
|
|
40
|
+
ret[str(key)] = value
|
|
41
|
+
return ret
|
wagtail/widget_adapters.py
CHANGED
|
@@ -36,7 +36,6 @@ class WidgetAdapter(Adapter):
|
|
|
36
36
|
|
|
37
37
|
register(WidgetAdapter(), forms.widgets.Input)
|
|
38
38
|
register(WidgetAdapter(), forms.Textarea)
|
|
39
|
-
register(WidgetAdapter(), forms.CheckboxSelectMultiple)
|
|
40
39
|
|
|
41
40
|
|
|
42
41
|
class CheckboxInputAdapter(WidgetAdapter):
|
|
@@ -51,6 +50,7 @@ class RadioSelectAdapter(WidgetAdapter):
|
|
|
51
50
|
|
|
52
51
|
|
|
53
52
|
register(RadioSelectAdapter(), forms.RadioSelect)
|
|
53
|
+
register(RadioSelectAdapter(), forms.CheckboxSelectMultiple)
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
class SelectAdapter(WidgetAdapter):
|