Skip to content

Commit d7ab8a9

Browse files
authored
feat: add localization and transifex support (#151)
* Update readme to clarify target cms version of package * Add: tests for Django 4.0/4.1, Python 3.10, 3.11
1 parent 7f0a180 commit d7ab8a9

File tree

10 files changed

+716
-4
lines changed

10 files changed

+716
-4
lines changed

.tx/config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[main]
2+
host = https://www.transifex.com
3+
4+
[o:divio:p:django-cms-alias:r:djangopo]
5+
file_filter = djangocms_alias/locale/<lang>/LC_MESSAGES/django.po
6+
source_file = djangocms_alias/locale/en/LC_MESSAGES/django.po
7+
type = PO
8+
minimum_perc = 0
9+
resource_name = django.po
10+

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ django CMS Alias
99
django CMS Alias replicates and extends the alias function of django CMS version 3
1010
for django CMS version 4.
1111

12+
An alias is a collection of plugins that is managed centrally. A reference
13+
can be added to any placeholder using the Alias plugin. Since the Alias plugin
14+
creates a reference any changes to the alias are immediately reflected at all
15+
places it is used.
16+
17+
django CMS Alias supports versioning aliases by django CMS Versioning.
18+
1219
.. warning::
1320

1421
This is the development branch for django CMS version 4.1 support.
4.47 KB
Binary file not shown.
Lines changed: 351 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,351 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
# Translators:
7+
# Fabian Braun <[email protected]>, 2023
8+
#
9+
#, fuzzy
10+
msgid ""
11+
msgstr ""
12+
"Project-Id-Version: PACKAGE VERSION\n"
13+
"Report-Msgid-Bugs-To: \n"
14+
"POT-Creation-Date: 2023-01-10 22:20+0100\n"
15+
"PO-Revision-Date: 2023-01-10 21:21+0000\n"
16+
"Last-Translator: Fabian Braun <[email protected]>, 2023\n"
17+
"Language-Team: German (https://www.transifex.com/divio/teams/58664/de/)\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Transfer-Encoding: 8bit\n"
21+
"Language: de\n"
22+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
23+
24+
#: admin.py:128 models.py:60 models.py:85
25+
msgid "category"
26+
msgstr "Kategorie"
27+
28+
#: apps.py:7
29+
msgid "django CMS Alias"
30+
msgstr "django CMS Alias"
31+
32+
#: cms_plugins.py:29 cms_toolbars.py:46 forms.py:291 views.py:46 views.py:304
33+
msgid "Alias"
34+
msgstr "Alias"
35+
36+
#: cms_plugins.py:52
37+
msgid "Edit Alias"
38+
msgstr "Alias editieren"
39+
40+
#: cms_plugins.py:66
41+
msgid "Detach Alias"
42+
msgstr ""
43+
44+
#: cms_plugins.py:81 cms_plugins.py:98
45+
msgid "Create Alias"
46+
msgstr "Alias erstellen"
47+
48+
#: cms_toolbars.py:47 cms_toolbars.py:69 templates/djangocms_alias/base.html:4
49+
msgid "Aliases"
50+
msgstr "Aliasse"
51+
52+
#: cms_toolbars.py:86
53+
#: templates/admin/djangocms_alias/icons/change_alias_settings.html:3
54+
msgid "Change alias settings"
55+
msgstr "Alias-Einstellungen ändern"
56+
57+
#: cms_toolbars.py:94
58+
#: templates/admin/djangocms_alias/icons/rename_alias.html:3
59+
msgid "Rename alias"
60+
msgstr "Alias umbenennen"
61+
62+
#: cms_toolbars.py:102 templates/admin/djangocms_alias/icons/view_usage.html:3
63+
#: templates/djangocms_alias/alias_usage.html:46
64+
msgid "View usage"
65+
msgstr "Verwendung anzeigen"
66+
67+
#: cms_toolbars.py:112
68+
msgid "Delete alias"
69+
msgstr "Alias löschen"
70+
71+
#: cms_toolbars.py:164 templates/djangocms_alias/create_alias.html:31
72+
msgid "Create"
73+
msgstr "Erstellen"
74+
75+
#: cms_toolbars.py:178 filters.py:22 internal_search.py:31
76+
msgid "Language"
77+
msgstr "Sprache"
78+
79+
#: cms_toolbars.py:231
80+
msgid "Add Translation"
81+
msgstr "Übersetzung hinzufügen"
82+
83+
#: cms_toolbars.py:242
84+
msgid "Delete Translation"
85+
msgstr "Übersetzung löschen"
86+
87+
#: cms_toolbars.py:260
88+
msgid "Copy all plugins"
89+
msgstr "Alle Plugins kopieren"
90+
91+
#: cms_toolbars.py:262
92+
#, python-format
93+
msgid "from %s"
94+
msgstr "von %s"
95+
96+
#: cms_toolbars.py:263
97+
#, python-format
98+
msgid "Are you sure you want to copy all plugins from %s?"
99+
msgstr "Sind Sie sicher, dass Sie alle Plugins aus %s kopieren wollen?"
100+
101+
#: cms_wizards.py:27
102+
msgid "New alias"
103+
msgstr "Neuer Alias"
104+
105+
#: cms_wizards.py:31
106+
msgid "Create a new alias."
107+
msgstr "Neuen Alias erstellen"
108+
109+
#: cms_wizards.py:34
110+
msgid "New alias category"
111+
msgstr "Neue Alias-Kategorie"
112+
113+
#: cms_wizards.py:38
114+
msgid "Create a new alias category."
115+
msgstr "Neue Alias-Kategorie erstellen"
116+
117+
#: filters.py:38
118+
msgid "Current"
119+
msgstr "Aktuell"
120+
121+
#: filters.py:51 forms.py:269
122+
msgid "Site"
123+
msgstr "Site"
124+
125+
#: filters.py:69 filters.py:108
126+
msgid "All"
127+
msgstr "Alle"
128+
129+
#: filters.py:76
130+
msgid "No site"
131+
msgstr "Kein Site"
132+
133+
#: filters.py:89 forms.py:280 internal_search.py:24
134+
msgid "Category"
135+
msgstr "Kategorie"
136+
137+
#: filters.py:126
138+
msgid "Unpublished"
139+
msgstr "Nicht veröffentlicht"
140+
141+
#: filters.py:130
142+
msgid "Show"
143+
msgstr "Zeigen"
144+
145+
#: filters.py:142
146+
msgid "Hide"
147+
msgstr "Verstecken"
148+
149+
#: forms.py:74
150+
msgid "A plugin or placeholder is required to create an alias."
151+
msgstr ""
152+
"Ein Plugin oder ein Platzhalter is notwendig, um einen Alias zu erstellen."
153+
154+
#: forms.py:80
155+
msgid "An alias can only be created from a plugin or placeholder, not both."
156+
msgstr ""
157+
"Ein Alias kann nur entweder mit einem Plugin oder mit einem Platzhalter "
158+
"erstellt werden, nicht mit beidem."
159+
160+
#: forms.py:99
161+
msgid "Replace current plugin"
162+
msgstr "Aktuelles Plugin ersetzen"
163+
164+
#: forms.py:100
165+
msgid "Replace current plugin with alias"
166+
msgstr "Aktuelles Plugin mit Alias ersetzen"
167+
168+
#: forms.py:124 forms.py:354
169+
msgid "Alias with this Name and Category already exists."
170+
msgstr "Ein Alias mit diesem Namen und in dieser Kategorie existiert bereits."
171+
172+
#: forms.py:175 templates/djangocms_alias/alias_usage.html:32
173+
msgid "Name"
174+
msgstr "Name"
175+
176+
#: forms.py:273
177+
msgid "Select site to restrict the list of aliases below"
178+
msgstr "Site auswählen, um die Liste von Aliassen unten einzuschränken."
179+
180+
#: forms.py:284
181+
msgid "Select category to restrict the list of aliases below"
182+
msgstr "Kategorie auswählen, um die Liste von Aliassen unten einzuschränken."
183+
184+
#: forms.py:295
185+
msgid "Select an alias"
186+
msgstr "Alias auswählen"
187+
188+
#: internal_search.py:17
189+
msgid "Title"
190+
msgstr "Titel"
191+
192+
#: internal_search.py:38
193+
msgid "URL"
194+
msgstr "URL"
195+
196+
#: internal_search.py:45
197+
msgid "Version status"
198+
msgstr "Version-Status"
199+
200+
#: models.py:40
201+
msgid "Default"
202+
msgstr ""
203+
204+
#: models.py:53 models.py:269
205+
msgid "name"
206+
msgstr "Name"
207+
208+
#: models.py:61
209+
msgid "categories"
210+
msgstr "Kategorien"
211+
212+
#: models.py:76
213+
msgid "by template"
214+
msgstr ""
215+
216+
#: models.py:77
217+
msgid "by code"
218+
msgstr ""
219+
220+
#: models.py:80
221+
msgid "creation_method"
222+
msgstr ""
223+
224+
#: models.py:90
225+
msgid "position"
226+
msgstr "Position"
227+
228+
#: models.py:94
229+
msgid "static code"
230+
msgstr ""
231+
232+
#: models.py:98
233+
msgid "To render the alias in templates."
234+
msgstr "Um Aliasse in Vorlagen zu rendern"
235+
236+
#: models.py:103 models.py:390
237+
msgid "alias"
238+
msgstr "Alias"
239+
240+
#: models.py:104
241+
msgid "aliases"
242+
msgstr "Aliasse"
243+
244+
#: models.py:281
245+
msgid "alias content"
246+
msgstr "Alias-Inhalt"
247+
248+
#: models.py:282
249+
msgid "alias contents"
250+
msgstr "Alias-Inhalte"
251+
252+
#: models.py:395
253+
msgid "template"
254+
msgstr "Vorlage"
255+
256+
#: models.py:402
257+
msgid "alias plugin model"
258+
msgstr "Alias-Plugin-Model"
259+
260+
#: models.py:403
261+
msgid "alias plugin models"
262+
msgstr "Alias-Plugin-Modelle"
263+
264+
#: templates/admin/djangocms_alias/alias/change_form.html:8
265+
msgid "Save"
266+
msgstr "Speichern"
267+
268+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:9
269+
#, python-format
270+
msgid ""
271+
"You don't have permissions to delete %(object_name)s \"%(escaped_object)s\"."
272+
" Please request your site admin to add permissions to delete alias, or "
273+
"delete alias from all places that it being used."
274+
msgstr ""
275+
276+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:11
277+
#, python-format
278+
msgid ""
279+
"Are you sure you want to delete the %(object_name)s \"%(escaped_object)s\"?"
280+
msgstr ""
281+
"Sind Sie sicher, dass Sie %(object_name)s \"%(escaped_object)s\" löschen "
282+
"möchten?"
283+
284+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:18
285+
msgid "This alias is used by following objects:"
286+
msgstr "Dieser Alias wird von folgenden Objekten genutzt:"
287+
288+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:28
289+
msgid "This alias wasn't used by any object."
290+
msgstr "Dieser Alias wird nirgendwo genutzt."
291+
292+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:35
293+
#: templates/djangocms_alias/detach_alias.html:16
294+
msgid "Yes, I'm sure"
295+
msgstr "Ja, ich bin sicher!"
296+
297+
#: templates/admin/djangocms_alias/alias/delete_confirmation.html:37
298+
#: templates/djangocms_alias/detach_alias.html:17
299+
msgid "No, take me back"
300+
msgstr ""
301+
302+
#: templates/djangocms_alias/add_alias.html:5
303+
msgid "Add alias"
304+
msgstr "Alias hinzufügen"
305+
306+
#: templates/djangocms_alias/add_alias.html:14
307+
#, python-format
308+
msgid ""
309+
"Are you sure you want to add alias <a "
310+
"href=\"%(alias.get_absolute_url)s\">%(alias_name)s</a>?"
311+
msgstr ""
312+
313+
#: templates/djangocms_alias/add_alias.html:28
314+
msgid "Add"
315+
msgstr "Hinzufügen"
316+
317+
#: templates/djangocms_alias/alias_usage.html:16
318+
msgid "Home"
319+
msgstr "Start"
320+
321+
#: templates/djangocms_alias/alias_usage.html:20
322+
msgid "Usage of alias"
323+
msgstr "Verwendung des Alias"
324+
325+
#: templates/djangocms_alias/alias_usage.html:26
326+
msgid "Back"
327+
msgstr "Zurück"
328+
329+
#: templates/djangocms_alias/alias_usage.html:31
330+
msgid "Type"
331+
msgstr "Typ"
332+
333+
#: templates/djangocms_alias/create_alias.html:5
334+
msgid "Create alias"
335+
msgstr "Alias erstellen"
336+
337+
#: templates/djangocms_alias/create_alias.html:8
338+
msgid "Please correct the error below."
339+
msgid_plural "Please correct the errors below."
340+
msgstr[0] "Bitte korrigieren Sie den Fehler unten."
341+
msgstr[1] "Bitte korrigieren Sie die Fehler unten."
342+
343+
#: templates/djangocms_alias/detach_alias.html:8
344+
#, python-format
345+
msgid ""
346+
"Are you sure you want to detach the %(object_name)s \"%(escaped_object)s\"?"
347+
msgstr ""
348+
349+
#: views.py:297
350+
msgid "Objects using alias: {}"
351+
msgstr "Objekte, die Alias nutzen: {}"
380 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)