Commit e85bc606 authored by Okhin's avatar Okhin
Browse files

Fixing the translations issues

parent 06430137
...@@ -8,7 +8,7 @@ msgid "" ...@@ -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: 2016-03-15 13:58+0100\n" "POT-Creation-Date: 2016-03-21 12:13+0100\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"
...@@ -1887,6 +1887,14 @@ msgstr "" ...@@ -1887,6 +1887,14 @@ msgstr ""
msgid "Error running spellchecker" msgid "Error running spellchecker"
msgstr "" msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40 #: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations" msgid "Report cases of Net Neutrality violations"
msgstr "" msgstr ""
......
...@@ -8,7 +8,7 @@ msgid "" ...@@ -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: 2016-03-15 13:58+0100\n" "POT-Creation-Date: 2016-03-21 12:13+0100\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"
...@@ -16,7 +16,6 @@ msgstr "" ...@@ -16,7 +16,6 @@ msgstr ""
"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"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: bt/forms.py:22 #: bt/forms.py:22
msgid "Please describe the discrimination" msgid "Please describe the discrimination"
...@@ -1887,6 +1886,14 @@ msgstr "" ...@@ -1887,6 +1886,14 @@ msgstr ""
msgid "Error running spellchecker" msgid "Error running spellchecker"
msgstr "" msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40 #: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations" msgid "Report cases of Net Neutrality violations"
msgstr "" msgstr ""
......
...@@ -8,7 +8,7 @@ msgid "" ...@@ -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: 2016-03-15 13:58+0100\n" "POT-Creation-Date: 2016-03-21 12:13+0100\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"
...@@ -16,6 +16,7 @@ msgstr "" ...@@ -16,6 +16,7 @@ msgstr ""
"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"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: bt/forms.py:22 #: bt/forms.py:22
msgid "Please describe the discrimination" msgid "Please describe the discrimination"
...@@ -1886,6 +1887,14 @@ msgstr "" ...@@ -1886,6 +1887,14 @@ msgstr ""
msgid "Error running spellchecker" msgid "Error running spellchecker"
msgstr "" msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40 #: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations" msgid "Report cases of Net Neutrality violations"
msgstr "" msgstr ""
......
# Django settings for nnmon project. # Django settings for nnmon project.
from django.utils.translation import ugettext_lazy as _
import os import os
BASE_PATH = os.path.dirname(__file__) BASE_PATH = os.path.dirname(__file__)
DEBUG = True DEBUG = True
...@@ -41,6 +42,12 @@ TIME_ZONE = 'Europe/Brussels' ...@@ -41,6 +42,12 @@ TIME_ZONE = 'Europe/Brussels'
# http:/www.i18nguy.com/unicode/language-identifiers.html # http:/www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en' LANGUAGE_CODE = 'en'
# Languages supported by the website
LANGUAGES = [
('fr', _('French')),
('en', _('English')),
]
SITE_ID = 1 SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not # If you set this to False, Django will make some optimizations so as not
...@@ -160,6 +167,14 @@ TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth", ...@@ -160,6 +167,14 @@ TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
'django.core.context_processors.request', 'django.core.context_processors.request',
"django.contrib.messages.context_processors.messages") "django.contrib.messages.context_processors.messages")
LOCALE_PATHS = (
os.path.join(BASE_PATH, 'locale/'),
)
LANGUAGES = (
('en', 'English'),
('fr', 'Francais'),
)
# A sample logging configuration. The only tangible logging # A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to # performed by this configuration is to send an email to
# the site admins on every HTTP 500 error. # the site admins on every HTTP 500 error.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment