mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[ux] make warning clearer because users often report it
This commit is contained in:
parent
de1db14327
commit
b7d415dc2c
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Translator(object):
|
||||||
logger.exception("Failed to format translatable string '%s' with error: %s" % (key, e))
|
logger.exception("Failed to format translatable string '%s' with error: %s" % (key, e))
|
||||||
return self._translations[self.locale][key].encode('utf-8')
|
return self._translations[self.locale][key].encode('utf-8')
|
||||||
|
|
||||||
logger.exception("unable to retrieve key '%s' for default locale '%s'",
|
logger.exception("unable to retrieve key '%s' for default locale '%s' (don't panic this is just a warning)",
|
||||||
key, self.default_locale)
|
key, self.default_locale)
|
||||||
return key
|
return key
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue