summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-05-01 13:55:11 +0200
committeremkael <emkael@tlen.pl>2018-05-01 13:55:11 +0200
commiteaa2912f4dc571cb92fb68a6b0f53cc5fbff2670 (patch)
tree0a804bc6236aa2af368faa08c84e8b56143a76f3 /jfr_playoff
parent24a151f45b5104471a1a07e2a5aa72066cba3be9 (diff)
If i18n string is not found, pass-thru the original braces
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/i18n.py2
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)