mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Add translation to the app name
This commit is contained in:
parent
789d71476a
commit
ecde8c7b11
3 changed files with 14 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from django.apps import AppConfig
|
||||
from constance.config import Config
|
||||
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
class ConstanceConfig(AppConfig):
|
||||
name = 'constance'
|
||||
verbose_name = 'Constance'
|
||||
verbose_name = _('Constance')
|
||||
|
||||
def ready(self):
|
||||
self.module.config = Config()
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-03-02 09:54-0600\n"
|
||||
"POT-Creation-Date: 2014-08-07 13:13+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -17,14 +17,23 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: admin.py:86
|
||||
#: admin.py:98
|
||||
msgid "Live settings updated successfully."
|
||||
msgstr "Настройки успешно сохранены"
|
||||
|
||||
#: admin.py:91
|
||||
#: admin.py:103
|
||||
msgid "Constance config"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: admin.py:146
|
||||
msgid "config"
|
||||
msgstr "настройки"
|
||||
|
||||
#: apps.py:7
|
||||
#, fuzzy
|
||||
msgid "Constance"
|
||||
msgstr "настройки"
|
||||
|
||||
#: backends/database/models.py:19
|
||||
msgid "constance"
|
||||
msgstr "настройки"
|
||||
|
|
|
|||
Loading…
Reference in a new issue