3 Commits

Author SHA1 Message Date
Tony Dunbar
114da86135 Added a django extract for .csv files
The CSV files from the overview panels were mostly not 
translated when using the pseudo translation tool. We 
inspected the django.pot files and the messages from the CSV 
files were not present.

This patch updates the babel-django config file to ensure that 
*.csv files are included for translation extraction.

We tried to update the babel-django config file with one 
django extraction line which included both the html file 
descriptor and the csv file descriptor separated by a comma 
but testing showed this did not work properly.  We could only 
get this to work with two separate extraction lines.

Change-Id: I04b3a1f49c7c680a4f3dfdc336183749404973ec
Closes-Bug: #1496080
2015-09-15 21:57:42 +00:00
Thai Tran
28394578c3 Fixed translation in python modal templates
In several dialogs there is untranslatable text. These dialogs were
translatable in kilo. The path added in the configuration was not adequate.

Change-Id: Ib2b5592d8e01084fcfd91c6d7912fc91766585d2
Closes-Bug: #1481045
2015-08-13 15:36:22 -07:00
Neill Cox
4e0b09a357 Replace makemessages with babel
Replace django's makemessages with babel and babel-django.

This changes the makemessages command to use babel rather than
Django's builtin makemessages.

There is a follow on patch to add support for angular-gettext.

Change-Id: If4352aba01ce0ca6337f590c0689d8fe9f0867c8
Depends-On: Iaa835b03af3929b7314b174210079c34de976755
2015-06-22 09:44:12 -07:00