Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add localization and transifex support #151

Merged
merged 18 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com

[o:divio:p:django-cms-alias:r:djangopo]
file_filter = djangocms_alias/locale/<lang>/LC_MESSAGES/django.po
source_file = djangocms_alias/locale/en/LC_MESSAGES/django.po
type = PO
minimum_perc = 0
resource_name = django.po

7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ django CMS Alias
django CMS Alias replicates and extends the alias function of django CMS version 3
for django CMS version 4.

An alias is a collection of plugins that is managed centrally. A reference
can be added to any placeholder using the Alias plugin. Since the Alias plugin
creates a reference any changes to the alias are immediately reflected at all
places it is used.

django CMS Alias supports versioning aliases by django CMS Versioning.

.. warning::

This is the development branch for django CMS version 4.1 support.
Expand Down
Binary file added djangocms_alias/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
351 changes: 351 additions & 0 deletions djangocms_alias/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
# 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.
#
# Translators:
# Fabian Braun <fsbraun@gmx.de>, 2023
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-10 22:20+0100\n"
"PO-Revision-Date: 2023-01-10 21:21+0000\n"
"Last-Translator: Fabian Braun <fsbraun@gmx.de>, 2023\n"
"Language-Team: German (https://www.transifex.com/divio/teams/58664/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: admin.py:128 models.py:60 models.py:85
msgid "category"
msgstr "Kategorie"

#: apps.py:7
msgid "django CMS Alias"
msgstr "django CMS Alias"

#: cms_plugins.py:29 cms_toolbars.py:46 forms.py:291 views.py:46 views.py:304
msgid "Alias"
msgstr "Alias"

#: cms_plugins.py:52
msgid "Edit Alias"
msgstr "Alias editieren"

#: cms_plugins.py:66
msgid "Detach Alias"
msgstr ""

#: cms_plugins.py:81 cms_plugins.py:98
msgid "Create Alias"
msgstr "Alias erstellen"

#: cms_toolbars.py:47 cms_toolbars.py:69 templates/djangocms_alias/base.html:4
msgid "Aliases"
msgstr "Aliasse"

#: cms_toolbars.py:86
#: templates/admin/djangocms_alias/icons/change_alias_settings.html:3
msgid "Change alias settings"
msgstr "Alias-Einstellungen ändern"

#: cms_toolbars.py:94
#: templates/admin/djangocms_alias/icons/rename_alias.html:3
msgid "Rename alias"
msgstr "Alias umbenennen"

#: cms_toolbars.py:102 templates/admin/djangocms_alias/icons/view_usage.html:3
#: templates/djangocms_alias/alias_usage.html:46
msgid "View usage"
msgstr "Verwendung anzeigen"

#: cms_toolbars.py:112
msgid "Delete alias"
msgstr "Alias löschen"

#: cms_toolbars.py:164 templates/djangocms_alias/create_alias.html:31
msgid "Create"
msgstr "Erstellen"

#: cms_toolbars.py:178 filters.py:22 internal_search.py:31
msgid "Language"
msgstr "Sprache"

#: cms_toolbars.py:231
msgid "Add Translation"
msgstr "Übersetzung hinzufügen"

#: cms_toolbars.py:242
msgid "Delete Translation"
msgstr "Übersetzung löschen"

#: cms_toolbars.py:260
msgid "Copy all plugins"
msgstr "Alle Plugins kopieren"

#: cms_toolbars.py:262
#, python-format
msgid "from %s"
msgstr "von %s"

#: cms_toolbars.py:263
#, python-format
msgid "Are you sure you want to copy all plugins from %s?"
msgstr "Sind Sie sicher, dass Sie alle Plugins aus %s kopieren wollen?"

#: cms_wizards.py:27
msgid "New alias"
msgstr "Neuer Alias"

#: cms_wizards.py:31
msgid "Create a new alias."
msgstr "Neuen Alias erstellen"

#: cms_wizards.py:34
msgid "New alias category"
msgstr "Neue Alias-Kategorie"

#: cms_wizards.py:38
msgid "Create a new alias category."
msgstr "Neue Alias-Kategorie erstellen"

#: filters.py:38
msgid "Current"
msgstr "Aktuell"

#: filters.py:51 forms.py:269
msgid "Site"
msgstr "Site"

#: filters.py:69 filters.py:108
msgid "All"
msgstr "Alle"

#: filters.py:76
msgid "No site"
msgstr "Kein Site"

#: filters.py:89 forms.py:280 internal_search.py:24
msgid "Category"
msgstr "Kategorie"

#: filters.py:126
msgid "Unpublished"
msgstr "Nicht veröffentlicht"

#: filters.py:130
msgid "Show"
msgstr "Zeigen"

#: filters.py:142
msgid "Hide"
msgstr "Verstecken"

#: forms.py:74
msgid "A plugin or placeholder is required to create an alias."
msgstr ""
"Ein Plugin oder ein Platzhalter is notwendig, um einen Alias zu erstellen."

#: forms.py:80
msgid "An alias can only be created from a plugin or placeholder, not both."
msgstr ""
"Ein Alias kann nur entweder mit einem Plugin oder mit einem Platzhalter "
"erstellt werden, nicht mit beidem."

#: forms.py:99
msgid "Replace current plugin"
msgstr "Aktuelles Plugin ersetzen"

#: forms.py:100
msgid "Replace current plugin with alias"
msgstr "Aktuelles Plugin mit Alias ersetzen"

#: forms.py:124 forms.py:354
msgid "Alias with this Name and Category already exists."
msgstr "Ein Alias mit diesem Namen und in dieser Kategorie existiert bereits."

#: forms.py:175 templates/djangocms_alias/alias_usage.html:32
msgid "Name"
msgstr "Name"

#: forms.py:273
msgid "Select site to restrict the list of aliases below"
msgstr "Site auswählen, um die Liste von Aliassen unten einzuschränken."

#: forms.py:284
msgid "Select category to restrict the list of aliases below"
msgstr "Kategorie auswählen, um die Liste von Aliassen unten einzuschränken."

#: forms.py:295
msgid "Select an alias"
msgstr "Alias auswählen"

#: internal_search.py:17
msgid "Title"
msgstr "Titel"

#: internal_search.py:38
msgid "URL"
msgstr "URL"

#: internal_search.py:45
msgid "Version status"
msgstr "Version-Status"

#: models.py:40
msgid "Default"
msgstr ""

#: models.py:53 models.py:269
msgid "name"
msgstr "Name"

#: models.py:61
msgid "categories"
msgstr "Kategorien"

#: models.py:76
msgid "by template"
msgstr ""

#: models.py:77
msgid "by code"
msgstr ""

#: models.py:80
msgid "creation_method"
msgstr ""

#: models.py:90
msgid "position"
msgstr "Position"

#: models.py:94
msgid "static code"
msgstr ""

#: models.py:98
msgid "To render the alias in templates."
msgstr "Um Aliasse in Vorlagen zu rendern"

#: models.py:103 models.py:390
msgid "alias"
msgstr "Alias"

#: models.py:104
msgid "aliases"
msgstr "Aliasse"

#: models.py:281
msgid "alias content"
msgstr "Alias-Inhalt"

#: models.py:282
msgid "alias contents"
msgstr "Alias-Inhalte"

#: models.py:395
msgid "template"
msgstr "Vorlage"

#: models.py:402
msgid "alias plugin model"
msgstr "Alias-Plugin-Model"

#: models.py:403
msgid "alias plugin models"
msgstr "Alias-Plugin-Modelle"

#: templates/admin/djangocms_alias/alias/change_form.html:8
msgid "Save"
msgstr "Speichern"

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:9
#, python-format
msgid ""
"You don't have permissions to delete %(object_name)s \"%(escaped_object)s\"."
" Please request your site admin to add permissions to delete alias, or "
"delete alias from all places that it being used."
msgstr ""

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:11
#, python-format
msgid ""
"Are you sure you want to delete the %(object_name)s \"%(escaped_object)s\"?"
msgstr ""
"Sind Sie sicher, dass Sie %(object_name)s \"%(escaped_object)s\" löschen "
"möchten?"

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:18
msgid "This alias is used by following objects:"
msgstr "Dieser Alias wird von folgenden Objekten genutzt:"

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:28
msgid "This alias wasn't used by any object."
msgstr "Dieser Alias wird nirgendwo genutzt."

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:35
#: templates/djangocms_alias/detach_alias.html:16
msgid "Yes, I'm sure"
msgstr "Ja, ich bin sicher!"

#: templates/admin/djangocms_alias/alias/delete_confirmation.html:37
#: templates/djangocms_alias/detach_alias.html:17
msgid "No, take me back"
msgstr ""

#: templates/djangocms_alias/add_alias.html:5
msgid "Add alias"
msgstr "Alias hinzufügen"

#: templates/djangocms_alias/add_alias.html:14
#, python-format
msgid ""
"Are you sure you want to add alias <a "
"href=\"%(alias.get_absolute_url)s\">%(alias_name)s</a>?"
msgstr ""

#: templates/djangocms_alias/add_alias.html:28
msgid "Add"
msgstr "Hinzufügen"

#: templates/djangocms_alias/alias_usage.html:16
msgid "Home"
msgstr "Start"

#: templates/djangocms_alias/alias_usage.html:20
msgid "Usage of alias"
msgstr "Verwendung des Alias"

#: templates/djangocms_alias/alias_usage.html:26
msgid "Back"
msgstr "Zurück"

#: templates/djangocms_alias/alias_usage.html:31
msgid "Type"
msgstr "Typ"

#: templates/djangocms_alias/create_alias.html:5
msgid "Create alias"
msgstr "Alias erstellen"

#: templates/djangocms_alias/create_alias.html:8
msgid "Please correct the error below."
msgid_plural "Please correct the errors below."
msgstr[0] "Bitte korrigieren Sie den Fehler unten."
msgstr[1] "Bitte korrigieren Sie die Fehler unten."

#: templates/djangocms_alias/detach_alias.html:8
#, python-format
msgid ""
"Are you sure you want to detach the %(object_name)s \"%(escaped_object)s\"?"
msgstr ""

#: views.py:297
msgid "Objects using alias: {}"
msgstr "Objekte, die Alias nutzen: {}"
Binary file added djangocms_alias/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
Loading