From 59d010b7a3d501de097f9c44a897cdea214c4705 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Tue, 1 Mar 2016 18:49:04 +0000 Subject: [PATCH] Set up translations for wagtail.contrib.settings --- .tx/config | 6 +++ .../settings/locale/en/LC_MESSAGES/django.po | 44 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po diff --git a/.tx/config b/.tx/config index 113f0f9a41..3125e35b39 100644 --- a/.tx/config +++ b/.tx/config @@ -78,3 +78,9 @@ file_filter = wagtail/contrib/wagtailstyleguide/locale//LC_MESSAGES/django source_file = wagtail/contrib/wagtailstyleguide/locale/en/LC_MESSAGES/django.po source_lang = en type = PO + +[wagtail.wagtailsettings] +file_filter = wagtail/contrib/settings/locale//LC_MESSAGES/django.po +source_file = wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +source_lang = en +type = PO diff --git a/wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po b/wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po new file mode 100644 index 0000000000..f0183b6846 --- /dev/null +++ b/wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po @@ -0,0 +1,44 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-01 18:36+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \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" + +#: templates/wagtailsettings/edit.html:3 +#, python-format +msgid "Editing %(setting_type_name)s - %(instance)s" +msgstr "" + +#: templates/wagtailsettings/edit.html:11 +msgid "Editing" +msgstr "" + +#: templates/wagtailsettings/edit.html:36 +msgid "Save" +msgstr "" + +#: templates/wagtailsettings/index.html:3 +msgid "Settings" +msgstr "" + +#: views.py:62 +#, python-brace-format +msgid "{setting_type} updated." +msgstr "" + +#: views.py:69 +msgid "The setting could not be saved due to errors." +msgstr ""