mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] syntax error, again -_-'
This commit is contained in:
parent
599bec33b8
commit
1f10529209
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Translator(object):
|
|||
|
||||
return self._translations[self.default_locale][key].encode('utf-8')
|
||||
|
||||
error_message = "unable to retrieve string to translate with key '%s' for default locale 'locales/%s.json' file (don't panic this is just a warning)" % key, self.default_locale
|
||||
error_message = "unable to retrieve string to translate with key '%s' for default locale 'locales/%s.json' file (don't panic this is just a warning)" % (key, self.default_locale)
|
||||
|
||||
if not during_unittests_run():
|
||||
logger.exception(error_message)
|
||||
|
|
Loading…
Add table
Reference in a new issue