-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathi18n.py
More file actions
44 lines (42 loc) · 2 KB
/
Copy pathi18n.py
File metadata and controls
44 lines (42 loc) · 2 KB
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
class firstrun():
prompt1 = "Could not determine server's "
empty_config = "Server configuration is empty. Deleting..."
prompt2 = "Is this the first time you are running the server?"
config_not_found = "Configuration file not found!"
exec = "Server will now run its configuration process"
fix_missing = "Please enter the Server's"
welcome_message = "Welcome to PesuPy Chat Server Software!"
setup_server_dir = "Please enter the path to a folder where the server can store its files"
keypair_setup = "Setting up Server Keypair..."
initialize_db = "Setting up Databases for use..."
security = "For security reasons, enter server launch password again."
exit = "Server will now exit. Please run it again!"
class savedata():
gui = "Opening file chooser dialog..."
nogui = "Cannot open file chooser! Enter the path manually:"
error = "An error occurred"
write_error = "An error occurred while trying to write server files.\nPlease choose another path"
not_a_dir = "Please enter path to a folder!"
creating = "Folder not accessible."
input_writable = "Please enter a writeable folder path"
created = "Written Server files successfully."
created_new = "Created Server folder successfully."
data_exists = "Previous Installation Detected! Please delete the files or choose another folder."
class database():
host = 'Enter MySQL/MariaDB Server IP Address: '
port = 'Enter MySQL/MariaDB Server Port (leave blank for 3306): '
user = 'Enter Username of user with CREATE privilege: '
passwd = 'Enter Password of the user: '
class passwd():
explain = "\
\
"
input = "Enter the server's launch password: "
confirm = "Enter it again to confirm: "
retry = "Passwords do not match!"
class log():
class tags():
info = '[INFO] '
warn = '[WARN] '
error = '[ERR] '
server_start = "Server starting from path {0}...."