aboutsummaryrefslogtreecommitdiff
path: root/strings.py
blob: 065210af45bedb3624c5f1aafe84a46fc33b16f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
__strings = {
    'status': 'Status',
    'generation': 'Generation',
    'gs': 'GS',
    'ri': 'RI',
    'errors': 'Errors'
}


def lang(key):
    global __strings
    return __strings[key] if key in __strings else f'{{{key}}}'