Update language settings and locales

This commit is contained in:
Livvy Mackintosh 2017-06-16 18:18:59 +02:00
parent 0811936382
commit 1238ff5258
3 changed files with 36 additions and 11 deletions

View File

@ -146,12 +146,12 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
LANGUAGES = [ LANGUAGES = [
('en', _('English')), ('en_GB', _('English (British)')),
('es', _('Spanish')), ('es', _('Spanish')),
] ]
LOCALE_PATHS = [ LOCALE_PATHS = [
os.path.join(BASE_DIR, 'support/locales') os.path.join(BASE_DIR, 'support/locale')
] ]
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)

View File

@ -7,11 +7,11 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-22 22:45+0000\n" "POT-Creation-Date: 2017-06-16 16:18+0000\n"
"PO-Revision-Date: 2017-06-16 15:59+0000\n" "PO-Revision-Date: 2017-06-16 15:59+0000\n"
"Last-Translator: Livvy <livvy@base.nu>\n" "Last-Translator: Livvy <livvy@base.nu>\n"
"Language-Team: English (United Kingdom) " "Language-Team: English (United Kingdom) <http://i18n.ojuso.org/projects/"
"<http://i18n.ojuso.org/projects/platform/map/en_GB/>\n" "platform/map/en_GB/>\n"
"Language: en_GB\n" "Language: en_GB\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -19,14 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2.14\n" "X-Generator: Weblate 2.14\n"
#: apps/map/templates/map/index.html:8 #: apps/map/templates/map/base.html:15 apps/map/templates/map/index.html:15
msgid "Ojuso Platform Map" msgid "Ojuso Platform Map"
msgstr "Ojuso Platform Map" msgstr "Ojuso Platform Map"
#: ojusomap/settings.py:148 #: apps/map/templates/map/form.html:15 apps/map/templates/map/index.html:108
msgid "English" msgid "Submit a Case Study"
msgstr "English" msgstr ""
#: apps/map/templates/map/form.html:16
msgid ""
"Here you can submit a case study for review and it will be added to the map."
msgstr ""
#: apps/map/templates/map/index.html:51
msgid "Quick View"
msgstr ""
#: apps/map/templates/map/index.html:58 apps/map/templates/map/index.html:89
msgid "Close"
msgstr ""
#: apps/map/templates/map/index.html:92
msgid "Save changes"
msgstr ""
#: ojusomap/settings.py:149 #: ojusomap/settings.py:149
msgid "English (British)"
msgstr ""
#: ojusomap/settings.py:150
msgid "Spanish" msgid "Spanish"
msgstr "Spanish" msgstr "Spanish"
#~ msgid "English"
#~ msgstr "English"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-16 16:05+0000\n" "POT-Creation-Date: 2017-06-16 16:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,6 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps/map/templates/map/base.html:15 apps/map/templates/map/index.html:15 #: apps/map/templates/map/base.html:15 apps/map/templates/map/index.html:15
msgid "Ojuso Platform Map" msgid "Ojuso Platform Map"
msgstr "" msgstr ""
@ -43,7 +44,7 @@ msgid "Save changes"
msgstr "" msgstr ""
#: ojusomap/settings.py:149 #: ojusomap/settings.py:149
msgid "English" msgid "English (British)"
msgstr "" msgstr ""
#: ojusomap/settings.py:150 #: ojusomap/settings.py:150