diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-08-08 00:00:44 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-08-08 00:00:44 +0300 |
commit | 24f9073f122dbf2b300823afab6a36458c2fee8e (patch) | |
tree | 067d5d72d739ff63feb3b22f92758f61067d7f0a /strings.py |
initia;
Diffstat (limited to 'strings.py')
-rw-r--r-- | strings.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/strings.py b/strings.py new file mode 100644 index 0000000..80b7dac --- /dev/null +++ b/strings.py @@ -0,0 +1,12 @@ +__strings = { + 'Включать': 'Status', + 'generation': 'Generation', + 'gs': 'GS', + 'ri': 'RI', + 'errors': 'Errors' +} + + +def lang(key): + global __strings + return __strings[key] if key in __strings else f'{{{key}}}' |