Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static view on mock data #5

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
</head>
<body>
<div id="root"></div>
<div id="modals-root"></div>
<div id="toasts-root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
68 changes: 65 additions & 3 deletions src/i18n/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const en = {
back: 'Back',
next: 'Next',
submit: 'Submit',
cancel: 'Cancel',
close: 'Close',
reset: 'Reset',
},
},
components: {
Expand All @@ -44,9 +47,68 @@ const en = {
},
pages: {
client: {
title: 'Device Overview',
locationsList: {
title: 'Available Locations',
title: 'Locations',
sideBar: {
instances: 'Instances',
addInstance: 'Add Instance',
copyright: {
copyright: `Copyright © 2023`,
appVersion: 'Application version: {version:string}',
},
},
controls: {
connect: 'Connect',
disconnect: 'Disconnect',
},
header: {
title: 'Locations',
filters: {
views: {
grid: 'Grid View',
detail: 'Detail View',
},
},
},
connectionLabels: {
lastConnectedFrom: 'Last connected from',
lastConnected: 'Last connected',
assignedIp: 'Assigned IP',
},
locationNoData:
'This device was never connected to this location, connect to view statistics and information about connection',
detailView: {
history: {
title: 'Connection history',
headers: {
date: 'Date',
duration: 'Duration',
connectedFrom: 'Connected from',
upload: 'Upload',
download: 'Download',
},
},
},
modals: {
addInstanceModal: {
title: 'Add instance',
messages: {
success: {
add: 'Instance added',
update: 'Instance information updated',
},
error: 'Fetching information failed.',
},
form: {
fields: {
token: {
label: 'Token',
},
url: {
label: 'Proxy URL:',
},
},
},
},
},
},
enrollment: {
Expand Down
Loading
Loading