Commit 6ad7c2eb authored by Patrik Dufresne's avatar Patrik Dufresne

Add .mo file to git.

As recommended, add the .mo file to git as source code.
parent 1f5616d1
Pipeline #148 passed with stages
in 63 minutes and 58 seconds
......@@ -24,9 +24,6 @@ pip-log.txt
coverage*.xml
nosetests*.xml
#Translations
*.mo
#Mr Developer
.mr.developer.cfg
/node_modules/
......
......@@ -143,7 +143,7 @@ class TestI18nWebCase(WebCase):
def testLanguage_WithUnknown(self):
# Query the page without login-in
self.getPage("/", headers=[("Accept-Language", "es")])
self.getPage("/", headers=[("Accept-Language", "it")])
self.assertStatus('200 OK')
self.assertHeaderItemValue("Content-Language", "en_US")
self.assertInBody("Sign in")
......
......@@ -20,7 +20,7 @@ domain = messages
directory = rdiffweb/locales
[compile_all_catalogs]
locales = en, fr, ru
locales = en, fr, ru, es, ca
domain = messages
directory = rdiffweb/locales
......
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