-
Notifications
You must be signed in to change notification settings - Fork 4
/
web_lang.js
179 lines (178 loc) · 5.14 KB
/
web_lang.js
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
const en = {
Header: {
Links: {
Startseite: "Startpage",
Einkaufliste: "Shoppinglist",
Strom: "Electricity",
UserBestellungen: "Orders",
Inventar: "Inventory",
Gäste: "Guests",
Plugs: "Plugs",
Bestellungen: "Orders",
Ausloggen: "Logout"
},
Willkommen: "Welcome"
},
Startseite: {
Guthaben: "Your remaining balance is {{restguthaben}}",
Text: "Your start balance is {{guthaben}}, from which you will be deducted {{essenkosten}} for food and {{stromkosten}} for used energy.",
DontationText: "Special thanks to the people listed below, they donated {{TotalDonated}}.",
},
Shoppingseite: {
Text: "Your total expenses on Buffet, Drinks and Orders are {{total}}."
},
Stromseite: {
Text: "Your energy consumption is {{totalkwh}}kWh. This costs you {{totalkostenkwh}}"
},
UserBestellungenseite: {
Text: "",
Form: {
orderid: "Order ID",
FormName: "Add Article",
article: "Exact Article Name + Extras",
price: "Price",
Submit: "Add",
Success: "Add successful!",
Errors: {
PriceNumber: "Price must be a number",
PriceNull: "Price must be filled",
ArticleNull: "Article must be filled",
OrderidNull: "Order ID must be filled",
TomManyRequests: "Too many requests, please try again later!",
OutOfTime: "Unfortunately the time period for this order has expired!"
}
}
},
GästeSeite: {
},
InventarSeite: {
Text: "The inventory has a total value of {{TotalCost}}, {{SoledAmount}} for food and the current value is {{InventoryAmount}}.",
DontationText: "Total ammount of donations are {{TotalDonated}}."
},
Bestellungen: {
Text: "Create a new order",
Form: {
FormNameOrderList: "Orders of the user",
orderid: "Order ID",
FormName: "New Order",
EssenListe: "Link to the menu",
Zeit: "Time for order in minutes",
Submit: "New Order",
SubmitOrderList: "Show Orders",
Result: "New Order successfully created"
}
},
Tabeles: {
StartSeiteUserTabelle: {
username: "Username",
pc: "PC",
displays_count: "Monitors",
network_cable: "LAN-Cable",
vr: "VR",
expected_arrival: "Arrival",
expected_departure: "Departure"
},
GästeAdminUserTabelle: {
username: "Username",
userid: "UserID",
payed: "Payed",
admin: "TG Admin",
vaccinated: "Vaccinated",
payed_ammount: "Payment",
pyed_id: "Payment ID",
button_chancePlugAllowedState: "Plug Allowed",
dropdown_permisionGroup: "Permission Group",
},
GästeNotPayedTabelle: {
username: "Username",
userid: "UserID",
payed: "Payed",
payed_ammount: "Payment",
pyed_id: "Payment ID",
button_chanceSetPayed: "Payed",
setPayed: "Has payed",
headline: "Users who have not payed yet"
},
AdminUserOrderTabelle: {
username: "Username",
artikel: "Article",
amount: "Amount",
price: "Price",
totale_price: "Total price:",
button_SetPrice: "Change Price",
button_SetStatus: "Ordered?",
button_SetStatus_text_true: "Orderd",
button_SetStatus_text_false: "Order",
},
PlugsManagmentTabelle: {
input_name: "Username",
allowed_state: "Plug Allowed",
ipaddr: "IP-Address",
controlername: "Location Name",
token: "Location Token",
power_used: "Power used",
state: "State",
},
UserUserOrderTabelle: {
username: "Username",
artikel: "Article",
amount: "Amount",
totale_price: "Total price:",
price: "Price",
status: "Status",
status_text_true: "Ordered",
status_text_false: "Not ordered",
button_delete: "Delete",
button_delete_text: "X"
},
ShoppinglistTabelle: {
username: "Username",
byer_userid: "ID of the buyer",
produktname: "Product Name",
produktcompany: "Manufacturer",
bought: "Amount",
price: "Price"
},
InventoryTabelle: {
produktname: "Article",
produktcompany: "Manufacturer",
amount: "Amount",
bought: "Bought",
left: "Available",
price: "Price"
},
SpendeTabelle: {
username: "Donor",
total_donation: "Donation"
}
},
Tage: {
Long: {
0: "Sunday",
1: "Monday",
2: "Tuesday",
3: "Wednesday",
4: "Thursday",
5: "Friday",
6: "Saturday"
},
Short: {
0: "SO",
1: "MO",
2: "DI",
3: "MI",
4: "DO",
5: "FR",
6: "SA"
}
},
undefined: "Undefined",
Buttons: {
toggle_allowed_state: {
no_chance: "Error: This user probably has no plug"
},
delete_user_order_by_key: {
notime: "The time period for this order has expired!"
}
}
}