diff options
author | emkael <emkael@tlen.pl> | 2018-05-01 13:55:11 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-05-01 13:55:11 +0200 |
commit | eaa2912f4dc571cb92fb68a6b0f53cc5fbff2670 (patch) | |
tree | 0a804bc6236aa2af368faa08c84e8b56143a76f3 | |
parent | 24a151f45b5104471a1a07e2a5aa72066cba3be9 (diff) |
If i18n string is not found, pass-thru the original braces
-rw-r--r-- | jfr_playoff/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/i18n.py b/jfr_playoff/i18n.py index 0caa107..e22a563 100644 --- a/jfr_playoff/i18n.py +++ b/jfr_playoff/i18n.py @@ -28,4 +28,4 @@ class PlayoffI18N(object): for dictionary in [self.settings, PLAYOFF_I18N_DEFAULTS]: if string in dictionary: return dictionary[string].decode('utf8') - return string + return '{{%s}}' % (string) |