i18n, tests and more

This commit is contained in:
2024-05-25 22:12:11 +02:00
parent c21167f941
commit 161525fbb5
17 changed files with 117 additions and 58 deletions

View File

@@ -1,7 +1,8 @@
import yaml
import os
config_file = "config.yml"
workdir, filename = os.path.split(os.path.abspath(__file__))
config_file = f"{workdir}{os.sep}config.yml"
def get_config():
@@ -13,3 +14,4 @@ class Config:
def __init__(self, data):
self.src = data['src']
self.dst = data['dst']
self.language = data['language']