This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
storage.json
103 lines (103 loc) · 3.93 KB
/
storage.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"messages": {
"greeting": "Welcome to Node Messenger (° ͜ʖ͡°)╭∩╮",
"unknown": "Unknown command",
"helpComm": "type \"help\" to see the command list",
"logComm": "type \"login\" for login",
"regComm": "type \"registration\" for registration",
"logFail": "Authorization failed",
"logSuccess": "You are successfully logged in",
"logoutFail": "You are not logged in",
"logoutSuccess": "You have logged out",
"regFail": "Registration failed",
"regSuccess": "Your account has been successfully created",
"infoAddSuccess": "Information successfully added",
"infoAddLater": "You can always add information later",
"infoCheck": "Information about your account:",
"infoUpdate": "Information was updated successfully",
"passCheckFail": "Password is incorrect",
"passChangeSuccess": "Password was successfully changed",
"passChangeFail": "Password mismatch",
"loggedIn": "You are logged in",
"notLoggedIn": "You are not logged in",
"invalidInput": "Invalid input, please try again:",
"messageSuccess": "The message was successfully sent",
"messagesNew": "You don`t have any messages with this user",
"bye": "Goodbye. Have a good day!",
"sendFile": "(if you want to send file, type 'send file')",
"whatChange": "What do you want to change:"
},
"questions": {
"login": "Login: ",
"password": "Password: ",
"addInfo": "Would you like to add some extra info to your profile? [y/n]: ",
"loginCreate": "Create a login: ",
"passwordCreate": "Pick a password: ",
"newInfo": "New information: ",
"currentPass": "Current password: ",
"newPass": "Enter new password: ",
"repeatPass": "Repeat new password: ",
"options": "[1/2/3/4/5/6]: ",
"seeEdit": "Do you want to see or edit your account? [see/edit]: ",
"friendName": "Enter friend`s username: ",
"addFriend": "Do you want to add a new friend? [y/n]: ",
"username": "Enter username: ",
"writeMess": "Who do you want to write to? [username]: ",
"newMess": "New message: ",
"filePath": "Enter file path: ",
"postSmth": "Do you want to post something? [y/n]: ",
"newPost": "Enter text: "
},
"registrationQuestions": [
"What is your name? ",
"How old are you? ",
"What country are you from? ",
"In which city of do you live? ",
"You can add some extra info about yourself: "
],
"commandsDescription": {
"help": "see the full commands list",
"hotkeys": "see the full hotckeys list",
"registration": "create a new account (new login and password)",
"login": "sign in to an existing account (login and password required)",
"logout": "sign out from an account",
"account": "get or set information about your account",
"friends": "check your friend list and add new friends",
"messages": "check message history and write new messages",
"news": "see the latest news from other users",
"exit": "stop running Node Messanger"
},
"hotkeysDescription": {
"login": "Ctrl + q",
"account": "Ctrl + w",
"messages": "Ctrl + e",
"friends": "Ctrl + r",
"news": "Ctrl + t"
},
"buttons": {
"q": "login",
"w": "account",
"e": "messages",
"r": "friends",
"t": "news"
},
"profileInfo": [
"name",
"birth",
"country",
"city",
"info",
"password"
],
"colors": {
"black": "\u001b[30m",
"red": "\u001b[31m",
"green": "\u001b[32m",
"yellow": "\u001b[33m",
"blue": "\u001b[34m",
"magenta": "\u001b[35m",
"cyan": "\u001b[36m",
"white": "\u001b[37m",
"reset": "\u001b[0m"
}
}