Add basic frontend structure
This commit is contained in:
parent
486977f828
commit
2959599ced
29 changed files with 4656 additions and 3811 deletions
21
frontend/static/locales/de/common.json
Normal file
21
frontend/static/locales/de/common.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"navbar": {
|
||||
"link": {
|
||||
"idtoken": "Ladekarten",
|
||||
"transaction": "Ladevorgänge",
|
||||
"chargepoint": "Ladestationen",
|
||||
"profile": "Profil",
|
||||
"logout": "Abmelden"
|
||||
}
|
||||
},
|
||||
"transactionTable": {
|
||||
"noPreviousTransactions": "Du hast noch keine abgeschlossenen Ladevorgänge.",
|
||||
"headerDate": "Zeitpunkt",
|
||||
"headerChargepoint": "Ladestation",
|
||||
"headerEnergyTotal": "Ladevolumen",
|
||||
"headerCost": "Kosten",
|
||||
"startTime": "Beginn: {{ time, datetime }} Uhr",
|
||||
"endTime": "Ende: {{ time, datetime }} Uhr",
|
||||
"detailButton": "Details"
|
||||
}
|
||||
}
|
28
frontend/static/locales/de/dashboard.json
Normal file
28
frontend/static/locales/de/dashboard.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"greeting": {
|
||||
"morning": "Guten Morgen {{name}}!",
|
||||
"day": "Guten Tag {{name}}!",
|
||||
"evening": "Guten Abend {{name}}!"
|
||||
},
|
||||
"cards": {
|
||||
"currentTransaction": "Aktueller Ladevorgang",
|
||||
"chargepoint": "Ladestation: {{name}}",
|
||||
"toCurrentTransactionButton": "Zum Ladevorgang",
|
||||
"noCurrentTransaction": "Kein Ladevorgang aktiv",
|
||||
"transactionCount": "Ladevorgänge",
|
||||
"transactionEnergyTotal": "Ladevolumen",
|
||||
"transactionCostTotal": "Kosten",
|
||||
"lastMonth": "{{val}} {{unit}} im letzten Monat"
|
||||
},
|
||||
"table": {
|
||||
"title": "Deine letzten Ladevorgänge",
|
||||
"noPreviousTransactions": "Du hast noch keine abgeschlossenen Ladevorgänge.",
|
||||
"headerDate": "Zeitpunkt",
|
||||
"headerChargepoint": "Ladestation",
|
||||
"headerEnergyTotal": "Ladevolumen",
|
||||
"headerCost": "Kosten",
|
||||
"startTime": "Beginn: {{ time, datetime }} Uhr",
|
||||
"endTime": "Ende: {{ time, datetime }} Uhr",
|
||||
"detailButton": "Details"
|
||||
}
|
||||
}
|
10
frontend/static/locales/de/login.json
Normal file
10
frontend/static/locales/de/login.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"title": "Anmelden",
|
||||
"text": "Bitte melde dich mit deinem Account an:",
|
||||
"passwordPlaceholder": "Passwort",
|
||||
"button": "Anmelden",
|
||||
"toast": {
|
||||
"reauth": "Deine Sitzung ist abgelaufen. Bitte melde dich erneut an.",
|
||||
"logoutSuccess": "Abmeldung erfolgreich."
|
||||
}
|
||||
}
|
21
frontend/static/locales/en/common.json
Normal file
21
frontend/static/locales/en/common.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"navbar": {
|
||||
"link": {
|
||||
"idtoken": "Charging Cards",
|
||||
"transaction": "Transactions",
|
||||
"chargepoint": "Charging Stations",
|
||||
"profile": "Profile",
|
||||
"logout": "Logout"
|
||||
}
|
||||
},
|
||||
"transactionTable": {
|
||||
"noPreviousTransactions": "You don't have any completed transactions yet.",
|
||||
"headerDate": "Date",
|
||||
"headerChargepoint": "Chargepoint",
|
||||
"headerEnergyTotal": "Energy charged",
|
||||
"headerCost": "Cost",
|
||||
"startTime": "Start: {{ time, datetime }}",
|
||||
"endTime": "End: {{ time, datetime }}",
|
||||
"detailButton": "Details"
|
||||
}
|
||||
}
|
28
frontend/static/locales/en/dashboard.json
Normal file
28
frontend/static/locales/en/dashboard.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"greeting": {
|
||||
"morning": "Good morning {{name}}!",
|
||||
"day": "Hello {{name}}!",
|
||||
"evening": "Good evening {{name}}!"
|
||||
},
|
||||
"cards": {
|
||||
"currentTransaction": "Current Transaction",
|
||||
"chargepoint": "Chargepoint: {{name}}",
|
||||
"toCurrentTransactionButton": "More",
|
||||
"noCurrentTransaction": "No active transaction",
|
||||
"transactionCount": "Transactions",
|
||||
"transactionEnergyTotal": "Energy Ammount",
|
||||
"transactionCostTotal": "Cost",
|
||||
"lastMonth": "{{val}} {{unit}} last month"
|
||||
},
|
||||
"table": {
|
||||
"title": "Your recent transactions",
|
||||
"noPreviousTransactions": "You don't have any completed transactions yet.",
|
||||
"headerDate": "Date",
|
||||
"headerChargepoint": "Chargepoint",
|
||||
"headerEnergyTotal": "Energy charged",
|
||||
"headerCost": "Cost",
|
||||
"startTime": "Start: {{ time, datetime }}",
|
||||
"endTime": "End: {{ time, datetime }}",
|
||||
"detailButton": "Details"
|
||||
}
|
||||
}
|
10
frontend/static/locales/en/login.json
Normal file
10
frontend/static/locales/en/login.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"title": "Login",
|
||||
"text": "Please login to your account:",
|
||||
"passwordPlaceholder": "Password",
|
||||
"button": "Login",
|
||||
"toast": {
|
||||
"reauth": "Your session expired. Please log in again.",
|
||||
"logoutSuccess": "Successfully logged out."
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue