-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib_german.py
66 lines (57 loc) · 1.86 KB
/
lib_german.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/python
# -*- coding: utf-8 -*-
# lib_german.py
"""
author: Thomas Kaulke, [email protected]
"""
import lib_global as global_lib
empty = global_lib.empty
space = global_lib.space
colon_space = global_lib.colon_space
pipe_space = global_lib.pipe_space
line_break = global_lib.line_break
decimal = ','
# time units
time_units_index = global_lib.time_units_index
time_units_name = ('Sekunden', 'Minuten', 'Stunden')
time_units_sign = global_lib.time_units_sign
time_units_conversion = global_lib.time_units_conversion
time_conversion = global_lib.time_conversion
# commands and descriptions
panic = 'Panik'
cancel = 'Abbrechen'
all_channels = 'Alles'
stop_bot = 'Beenden'
live_stream = 'Schau mal!'
reload = 'Aktualisieren'
emergency_stop = 'NOT - STOP'
grouping = 'Gruppierung'
btn_finished = 'Fertig'
btn_cancel = cancel
channel_1 = 'Kanal 1'
channel_2 = 'Kanal 2'
channel_3 = 'Kanal 3'
channel_4 = 'Kanal 4'
channel_5 = 'Kanal 5'
channel_6 = 'Kanal 6'
channel_7 = 'Kanal 7'
channel_8 = 'Kanal 8'
temp = 'Temperatur'
hum = 'Luftfeuchtigkeit'
core = 'Kern-Temperatur'
# messages
msg_grouping = '`Gruppierung, bitte auswählen!`'
msg_grouping_selection = '`Ausgewählte Gruppe {}`'
msg_live = '[Hier gehts zum Live Stream]({})'
msg_temperature = '`{}Aktuelle Werte\n{}, {}\n{}`'
msg_welcome = '`Hallo {}!`'
msg_stop = '` S T A N D B Y \n Neustart ->` /start'
msg_duration = '`Schaltzeit für \'{}\' in ' + time_units_name[time_units_index] + ' angeben:`'
water_on = '`\'{}\' wird jetzt für {}' + time_units_sign[time_units_index] + ' eingeschaltet.`'
water_off = '`\'{}\' nach {}' + time_units_sign[time_units_index] + ' abgeschalten.\n\n`'
msg_choice = '`Bitte auswählen:`'
msg_new_choice = '`Neue Auswahl oder Beenden?`'
msg_panic = '*PANIK-MODUS*'
private_warning = '`Hallo {}, dies ist ein privater Bot!\nDeine ChatID: {} ist geblockt worden.`'
if __name__ == '__main__':
pass