Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
e85bc606
Commit
e85bc606
authored
Mar 21, 2016
by
Okhin
Browse files
Fixing the translations issues
parent
06430137
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
locale/fr/LC_MESSAGES/django.mo
deleted
100644 → 0
View file @
06430137
File deleted
locale/de/LC_MESSAGES/django.mo
→
nnmon/
locale/de/LC_MESSAGES/django.mo
View file @
e85bc606
No preview for this file type
locale/e
s
/LC_MESSAGES/django.po
→
nnmon/
locale/
d
e/LC_MESSAGES/django.po
View file @
e85bc606
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -1887,6 +1887,14 @@ msgstr ""
msgid "Error running spellchecker"
msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations"
msgstr ""
...
...
locale/en/LC_MESSAGES/django.mo
→
nnmon/
locale/en/LC_MESSAGES/django.mo
View file @
e85bc606
No preview for this file type
locale/
d
e/LC_MESSAGES/django.po
→
nnmon/
locale/e
n
/LC_MESSAGES/django.po
View file @
e85bc606
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -16,7 +16,6 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: bt/forms.py:22
msgid "Please describe the discrimination"
...
...
@@ -1887,6 +1886,14 @@ msgstr ""
msgid "Error running spellchecker"
msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations"
msgstr ""
...
...
locale/es/LC_MESSAGES/django.mo
→
nnmon/
locale/es/LC_MESSAGES/django.mo
View file @
e85bc606
No preview for this file type
locale/e
n
/LC_MESSAGES/django.po
→
nnmon/
locale/e
s
/LC_MESSAGES/django.po
View file @
e85bc606
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -16,6 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: bt/forms.py:22
msgid "Please describe the discrimination"
...
...
@@ -1886,6 +1887,14 @@ msgstr ""
msgid "Error running spellchecker"
msgstr ""
#: nnmon/settings.py:47
msgid "French"
msgstr ""
#: nnmon/settings.py:48
msgid "English"
msgstr ""
#: nnmon/templates/base.html:40
msgid "Report cases of Net Neutrality violations"
msgstr ""
...
...
nnmon/locale/fr/LC_MESSAGES/django.mo
0 → 100644
View file @
e85bc606
File added
locale/fr/LC_MESSAGES/django.po
→
nnmon/
locale/fr/LC_MESSAGES/django.po
View file @
e85bc606
This diff is collapsed.
Click to expand it.
nnmon/settings.py
View file @
e85bc606
# Django settings for nnmon project.
from
django.utils.translation
import
ugettext_lazy
as
_
import
os
BASE_PATH
=
os
.
path
.
dirname
(
__file__
)
DEBUG
=
True
...
...
@@ -41,6 +42,12 @@ TIME_ZONE = 'Europe/Brussels'
# http:/www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE
=
'en'
# Languages supported by the website
LANGUAGES
=
[
(
'fr'
,
_
(
'French'
)),
(
'en'
,
_
(
'English'
)),
]
SITE_ID
=
1
# 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",
'django.core.context_processors.request'
,
"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
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment