Skip to content

Commit

Permalink
Merge pull request Scifabric#575 from PyBossa/issue-434-french
Browse files Browse the repository at this point in the history
Add French translation by @quentinms Closes Scifabric#434
  • Loading branch information
teleyinex committed Aug 8, 2013
2 parents 056d2c5 + bb9983a commit 686933f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pybossa/view/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def set_locales(self, locales):
lang = gettext("English")
if locale == 'es':
lang = gettext("Spanish")
if locale == 'fr':
lang = gettext("French")
choices.append((locale, lang))
self.locale.choices = choices

Expand Down
2 changes: 1 addition & 1 deletion settings_local.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CONTACT_TWITTER = 'PyBossa'

## Supported Languages

LOCALES = ['en', 'es']
LOCALES = ['en', 'es', 'fr']

## list of administrator emails to which error emails get sent
# ADMINS = ['[email protected]']
Expand Down
2 changes: 1 addition & 1 deletion settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
MAIL_FAIL_SILENTLY = False
MAIL_DEFAULT_SENDER = 'PyBossa Support <[email protected]>'
ANNOUNCEMENT = {'admin': 'Root Message', 'user': 'User Message', 'owner': 'Owner Message'}
LOCALES = ['en', 'es']
LOCALES = ['en', 'es', 'fr']
ENFORCE_PRIVACY = False

0 comments on commit 686933f

Please sign in to comment.