kopia lustrzana https://github.com/wagtail/wagtail
Set up translation for new locales app
rodzic
7c86c4e14f
commit
00740a4941
|
@ -68,6 +68,12 @@ source_file = wagtail/sites/locale/en/LC_MESSAGES/django.po
|
|||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtaillocales]
|
||||
file_filter = wagtail/locales/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/locales/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailsearchpromotions]
|
||||
file_filter = wagtail/contrib/search_promotions/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po
|
||||
|
|
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,99 @@
|
|||
# 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.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-09-17 12:11+0000\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"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: apps.py:8
|
||||
msgid "Wagtail locales"
|
||||
msgstr ""
|
||||
|
||||
#: forms.py:10 templates/wagtaillocales/index.html:13
|
||||
#: templates/wagtaillocales/index.html:17
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: forms.py:27
|
||||
msgid "Select a new language"
|
||||
msgstr ""
|
||||
|
||||
#: templates/wagtaillocales/confirm_delete.html:13
|
||||
msgid "Yes, delete"
|
||||
msgstr ""
|
||||
|
||||
#: templates/wagtaillocales/confirm_delete.html:14
|
||||
#: templates/wagtaillocales/confirm_delete.html:19
|
||||
msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: templates/wagtaillocales/edit.html:7
|
||||
msgid ""
|
||||
"This locale's current language code is not supported. Please choose a new "
|
||||
"language or delete this locale."
|
||||
msgstr ""
|
||||
|
||||
#: templates/wagtaillocales/index.html:21
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: templates/wagtaillocales/index.html:31
|
||||
msgid "This locale's language code is not supported"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:15 wagtail_hooks.py:26
|
||||
msgid "Locales"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:16
|
||||
msgid "Add a locale"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:30
|
||||
msgid "Add locale"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:31
|
||||
#, python-brace-format
|
||||
msgid "Locale '{0}' created."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:36
|
||||
#, python-brace-format
|
||||
msgid "Locale '{0}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:37
|
||||
msgid "The locale could not be saved due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:38 views.py:47
|
||||
msgid "Delete locale"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:45
|
||||
#, python-brace-format
|
||||
msgid "Locale '{0}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:46
|
||||
msgid ""
|
||||
"This locale cannot be deleted because there are pages and/or other objects "
|
||||
"using it."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:48
|
||||
msgid "Are you sure you want to delete this locale?"
|
||||
msgstr ""
|
Ładowanie…
Reference in New Issue