Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:DefGuard/client into db_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dzania committed Sep 18, 2023
2 parents 6507f1e + 5463e0d commit 07f986f
Show file tree
Hide file tree
Showing 28 changed files with 1,023 additions and 118 deletions.
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

0 comments on commit 07f986f

Please sign in to comment.