From 88a479f7a41fa61bb719f7b9198fe92c147f7b53 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Fri, 17 Feb 2012 16:35:48 +0100 Subject: [PATCH] allow translation of the help_text and add german translations. --- constance/admin.py | 2 +- constance/locale/de/LC_MESSAGES/django.mo | Bin 0 -> 833 bytes constance/locale/de/LC_MESSAGES/django.po | 59 ++++++++++++++++++++++ 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 constance/locale/de/LC_MESSAGES/django.mo create mode 100644 constance/locale/de/LC_MESSAGES/django.po diff --git a/constance/admin.py b/constance/admin.py index 459e47a..4081ca3 100644 --- a/constance/admin.py +++ b/constance/admin.py @@ -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] diff --git a/constance/locale/de/LC_MESSAGES/django.mo b/constance/locale/de/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..78a8951ac676b41719ffe554d132ebfdb18d00f4 GIT binary patch literal 833 zcmZvZ&2AGh5XTLauOL3eg$oBGE+FJIn-(bB1{&J5L`_T7rr~UMCtFj;UfJG4`yRXn zPrzgF0EnKrb3x()e@O}%@6?3G zcm;|U>=J-Gsg38+t^kxx?ib@|@jVk;v&IK$GUAyvBUP|<8p%or_R5Zlbv+;3T#Xdv ztf!8MdkR6B!t<)kWuTnxg4p(j%Eim7@M2(7UhBUeh&4wtph&FaUny@klBQ@hMe>v< zPtt{jM~$S>K%&^CBNdzfKW}lG*ONYofs@8-8LUhBhPF;g!`r3R+8T0vMNZsgVRh=@ ztWMSQT2Gpyk_CwY$#Kei?VZj2_=J^SZ&jWvzv9LV7J$0gno z=tGz8%R2zOJ0qV#B(zPq`^4p>H*p z`P6MaF#KMNCl70Ew%D!7Vo?}J$%fXE!p=$S$`oubNEfi@aJJ|ZMTplG@wo59e@prM h%H_n#jjS%vBs<{pFjP`w_9*(h{W5+bXV{zA=?^$B+JXQ8 literal 0 HcmV?d00001 diff --git a/constance/locale/de/LC_MESSAGES/django.po b/constance/locale/de/LC_MESSAGES/django.po new file mode 100644 index 0000000..0266ef6 --- /dev/null +++ b/constance/locale/de/LC_MESSAGES/django.po @@ -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 , 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 \n" +"Language-Team: LANGUAGE \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" +