kopia lustrzana https://github.com/wagtail/wagtail
Set up translations for modeladmin and table_block apps
rodzic
616a18aeff
commit
41dd5e89c8
12
.tx/config
12
.tx/config
|
@ -84,3 +84,15 @@ file_filter = wagtail/contrib/settings/locale/<lang>/LC_MESSAGES/django.po
|
|||
source_file = wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailmodeladmin]
|
||||
file_filter = wagtail/contrib/modeladmin/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/contrib/modeladmin/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailtableblock]
|
||||
file_filter = wagtail/contrib/table_block/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
|
|
@ -0,0 +1,251 @@
|
|||
# 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: 2016-05-11 20:12+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"
|
||||
|
||||
#: forms.py:20
|
||||
msgid "Parent page"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:255 views.py:722
|
||||
#, python-format
|
||||
msgid "Add %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:257
|
||||
#, python-format
|
||||
msgid "Add a new %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:265
|
||||
msgid "Inspect"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:267
|
||||
#, python-format
|
||||
msgid "Inspect this %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:275 views.py:155
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:277
|
||||
#, python-format
|
||||
msgid "Edit this %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:285 templates/modeladmin/edit.html.py:13 views.py:748
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:287
|
||||
#, python-format
|
||||
msgid "Delete this %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:321
|
||||
msgid "Unpublish"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:323
|
||||
#, python-format
|
||||
msgid "Unpublish this %s"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:331
|
||||
msgid "Copy"
|
||||
msgstr ""
|
||||
|
||||
#: helpers.py:333
|
||||
#, python-format
|
||||
msgid "Copy this %s"
|
||||
msgstr ""
|
||||
|
||||
#: options.py:59
|
||||
msgid "image"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/choose_parent.html:25
|
||||
msgid "Choose a parent page"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/choose_parent.html:26
|
||||
#, python-format
|
||||
msgid ""
|
||||
"%(plural)s can be added to more than one place within your site. Which of "
|
||||
"the following would you like to be the parent of your new page?"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/choose_parent.html:34
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/create.html:33 templates/modeladmin/edit.html.py:8
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/delete.html:15
|
||||
#, python-format
|
||||
msgid "%(model_name)s could not be deleted"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/delete.html:16
|
||||
#, python-format
|
||||
msgid ""
|
||||
"'%(instance_name)s' is currently referenced by other objects, and cannot be "
|
||||
"deleted without jeopardising data integrity. To delete it successfully, "
|
||||
"first remove references from the following objects, then try again:"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/delete.html:20
|
||||
msgid "Go back to listing"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/delete.html:25
|
||||
msgid "Yes, delete"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/includes/breadcrumb.html:3
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/includes/filter.html:2
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/includes/result_list.html:25
|
||||
#, python-format
|
||||
msgid "Sorry, there are no %(name)s matching your search parameters."
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/includes/search_form.html:7
|
||||
msgid "Search for"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/includes/search_form.html:10
|
||||
#, python-format
|
||||
msgid "Search %(name)s"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/index.html:46
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/index.html:57
|
||||
#, python-format
|
||||
msgid ""
|
||||
"No %(name)s have been created yet. One of the following must be created "
|
||||
"before you can add any %(name)s:"
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/index.html:62
|
||||
#, python-format
|
||||
msgid "No %(name)s have been created yet."
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/index.html:64
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Why not <a href=\"%(url)s"
|
||||
"\">add one</a>?\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/index.html:78
|
||||
#, python-format
|
||||
msgid "Page %(current_page)s of %(num_pages)s."
|
||||
msgstr ""
|
||||
|
||||
#: templates/modeladmin/inspect.html:25
|
||||
#, python-format
|
||||
msgid "Back to %(model_name)s list"
|
||||
msgstr ""
|
||||
|
||||
#: templatetags/modeladmin_tags.py:116
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: templatetags/modeladmin_tags.py:129
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:149
|
||||
#, python-brace-format
|
||||
msgid "{model_name} '{instance}' created."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:160
|
||||
#, python-format
|
||||
msgid "The %s could not be created due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:647
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:672
|
||||
#, python-format
|
||||
msgid "Create new %s"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:682
|
||||
msgid "Editing"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:696
|
||||
#, python-format
|
||||
msgid "Editing %s"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:699
|
||||
#, python-brace-format
|
||||
msgid "{model_name} '{instance}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:709
|
||||
#, python-format
|
||||
msgid "The %s could not be saved due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:764
|
||||
#, python-format
|
||||
msgid "Confirm deletion of %s"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:768
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Are you sure you want to delete this %s? If other things in your site are "
|
||||
"related to it, they may also be affected."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:784
|
||||
#, python-brace-format
|
||||
msgid "{model} '{instance}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: views.py:809
|
||||
msgid "Inspecting"
|
||||
msgstr ""
|
||||
|
||||
#: views.py:822
|
||||
#, python-format
|
||||
msgid "Inspecting %s"
|
||||
msgstr ""
|
|
@ -0,0 +1,34 @@
|
|||
# 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: 2016-05-11 20:15+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"
|
||||
|
||||
#: templates/table_block/widgets/table.html:3
|
||||
msgid "Row header"
|
||||
msgstr ""
|
||||
|
||||
#: templates/table_block/widgets/table.html:8
|
||||
msgid "Display the first row as a header."
|
||||
msgstr ""
|
||||
|
||||
#: templates/table_block/widgets/table.html:13
|
||||
msgid "Column header"
|
||||
msgstr ""
|
||||
|
||||
#: templates/table_block/widgets/table.html:18
|
||||
msgid "Display the first column as a header."
|
||||
msgstr ""
|
Ładowanie…
Reference in New Issue