mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
allow translation of the help_text and add german translations.
This commit is contained in:
parent
bcf2143703
commit
88a479f7a4
3 changed files with 60 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class ConstanceAdmin(admin.ModelAdmin):
|
|||
context['config'].append({
|
||||
'name': name,
|
||||
'default': localize(default),
|
||||
'help_text': help_text,
|
||||
'help_text': _(help_text),
|
||||
'value': localize(value),
|
||||
'modified': value != default,
|
||||
'form_field': form[name]
|
||||
|
|
|
|||
BIN
constance/locale/de/LC_MESSAGES/django.mo
Normal file
BIN
constance/locale/de/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
59
constance/locale/de/LC_MESSAGES/django.po
Normal file
59
constance/locale/de/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# 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: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-17 16:33+0100\n"
|
||||
"PO-Revision-Date: 2012-02-17 16:34+0100\n"
|
||||
"Last-Translator: Florian Apolloner <apollo13@apolloner.eu>\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=2; plural=(n != 1)\n"
|
||||
|
||||
#: admin.py:79
|
||||
msgid "Live settings updated successfully."
|
||||
msgstr "Die Livekonfiguration wurde erfolgreich aktualisiert."
|
||||
|
||||
#: admin.py:83
|
||||
msgid "Constance config"
|
||||
msgstr "Constance Konfiguration"
|
||||
|
||||
#: backends/database/models.py:18
|
||||
msgid "constance"
|
||||
msgstr ""
|
||||
|
||||
#: backends/database/models.py:19
|
||||
msgid "constances"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/constance/change_list.html:39
|
||||
msgid "Name"
|
||||
msgstr "Name"
|
||||
|
||||
#: templates/admin/constance/change_list.html:40
|
||||
msgid "Default"
|
||||
msgstr "Voreinstellung"
|
||||
|
||||
#: templates/admin/constance/change_list.html:41
|
||||
msgid "Value"
|
||||
msgstr "Wert"
|
||||
|
||||
#: templates/admin/constance/change_list.html:42
|
||||
msgid "Is modified"
|
||||
msgstr "Ist modifiziert"
|
||||
|
||||
#: templates/admin/constance/change_list.html:64
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
|
||||
#: templates/admin/constance/change_list.html:74
|
||||
msgid "Home"
|
||||
msgstr "Start"
|
||||
|
||||
Loading…
Reference in a new issue