-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.py
34 lines (28 loc) · 1.72 KB
/
i18n.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
ARGS_HELP_IPS = "List of IP addresses or subnets to ping, separated by a comma. Example 8.8.8.8,4.4.4.4/29"
ARGS_HELP_FILE = "File containing ip addresses or subnets, separated by commas."
ARGS_HELP_PROFILE = "Profile containing ip addresses or subnets, automatically saved in APPDATA directory"
ARGS_HELP_README = "Print README file to console"
ARGS_HELP_SHOW_PROFILES = "Show all save profiles"
SHOW_PROFILES_TITLE = "All profiles in {}"
SHOW_PROFILE = "Profile {} : {}..."
DRAW_TITLE = "Pinging your IPs:"
DRAW_NO_IP = "Press 'a' to add an ip"
INFO_BAR = "Selected IP: {} | Showing entry {}-{} (total: {}) | Threads {} | h: help"
HELP_BAR = "q: exit | a: add IP | n: edit name | x: delete IP | s: save profile | p: change ping time | t: show timeout"
PING_TIMEOUT = "Ping {} timeout"
PING_RESULT = "Ping {} in {} ms"
PING_WAITING = "... {}"
ADD_IP_TITLE = "Type new IP address..."
ADD_IP_ERROR = "Error while adding new IP address"
ADD_IP_SUCCESS = "IP/s {} added succesfully"
EDIT_IP_TITLE = "Edit name of IP {}. Leave blank to erase name."
DELETE_IP_SUCCESS = "IP {} deleted"
SAVE_PROFILE = "Save profile as... (Leave blank to overwrite current profile: {})"
SAVE_PROFILE_SUCCESS_NEW = "Profile {} saved successfully"
SAVE_PROFILE_SUCCESS_OVERWRITE = "Overwrite profile {} successfully"
SAVE_PROFILE_EXIT = "Exiting... Save profile? y/n (Current profile: {})"
PROFILE_NOT_EXISTS = "Profile {} does not exist. Exiting..."
FILE_UNABLE_ACCESS = "Unable to access file {}"
FILE_PATH_NOT_PRESENT = "File path not present"
CONFIG_TIMEOUT = "Current timeout for pings is {} seconds. Type new number below, leave blank to keep current."
CONFIG_PING_LOOP_SLEEP = "Current sleep time between pings: {} seconds. Type new number below, leave blank to keep current."