summaryrefslogtreecommitdiff
path: root/strings.py
diff options
context:
space:
mode:
Diffstat (limited to 'strings.py')
-rw-r--r--strings.py12
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}}}'