-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib_english.py
65 lines (57 loc) · 1.83 KB
/
lib_english.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
#!/usr/bin/python
# -*- coding: utf-8 -*-
# lib_english.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 = ('seconds', 'minutes', 'hours')
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 = 'Panic'
cancel = 'Cancel'
all_channels = 'All'
stop_bot = 'End'
live_stream = 'Take a look!'
emergency_stop = 'EMERGENCY STOP'
grouping = 'Grouping'
btn_finished = 'Finished'
btn_cancel = cancel
reload = 'Reload'
channel_1 = 'Channel 1'
channel_2 = 'Channel 2'
channel_3 = 'Channel 3'
channel_4 = 'Channel 4'
channel_5 = 'Channel 5'
channel_6 = 'Channel 6'
channel_7 = 'Channel 7'
channel_8 = 'Channel 8'
temp = 'Temperature'
hum = 'Humidity'
core = 'Core temperature'
# messages
msg_grouping = '`Grouping, please select`'
msg_grouping_selection = '`Selected group {}`'
msg_live = '[Click here for the live stream]({})'
msg_temperature = '`{}Current values\n{}, {}\n{}`'
msg_welcome = '`Hello {}!`'
msg_stop = '` S T A N D B Y \n Restart ->` /start'
msg_duration = '`Specify switching time for \'{}\' in ' + time_units_name[time_units_index] + ':`'
water_on = '`\'{}\' is switched on for {}' + time_units_sign[time_units_index] + '.`'
water_off = '`\'{}\' was switched off after {}' + time_units_sign[time_units_index] + '.\n\n`'
msg_choice = '`Please select:`'
msg_new_choice = '`New choice or end?`'
msg_panic = '`PANIC MODE!`'
private_warning = '`Hello {}, this is a private bot!\nYour chat id: {} has been blocked.`'
if __name__ == '__main__':
pass