Skip to content

Commit

Permalink
updated some translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jabelone authored and proffalken committed Oct 19, 2023
1 parent fc3aa2e commit 48a7a1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src-frontend/src/components/AccessList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</q-item-label>

<div class="q-pa-md" v-if="!doors.length">
{{ $t('access.noDoors') }}
{{ $t('doors.nodata') }}
</div>

<div
Expand Down Expand Up @@ -48,7 +48,7 @@
</q-item-label>

<q-item-label class="q-pa-md" v-if="!interlocks.length">
{{ $t('access.noInterlocks') }}
{{ $t('interlocks.nodata') }}
</q-item-label>

<div
Expand Down
2 changes: 1 addition & 1 deletion src-frontend/src/components/RecentSwipesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default {
sessionStart: humanReadableStart,
userOff:
value.userOff === null
? this.$t('recentSwipes.timedOut')
? this.$t('recentSwipes.system')
: value.userOff,
sessionEnd: value.sessionComplete
? humanReadableEnd
Expand Down
4 changes: 1 addition & 3 deletions src-frontend/src/i18n/en-AU/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,8 @@ export default {
unauthorised: 'Unauthorised',
door: 'Door',
doors: 'Doors',
noDoors: 'There are no doors in the system.',
interlock: 'Interlock',
interlocks: 'Interlocks',
noInterlocks: 'There are no interlocks in the system.',
defaultAccess: 'Members have access by default',
maintenanceLockout: 'Maintenance lockout is enabled',
playTheme: 'Play theme on swipe',
Expand All @@ -205,7 +203,7 @@ export default {
pageDescription:
'Here is a list of the last 300 swipes from doors and interlocks.',
inProgress: 'In Progress',
timedOut: 'TIMED OUT',
system: 'SYSTEM',
},
reportIssue: {
pageDescription: 'Report an issue',
Expand Down

0 comments on commit 48a7a1e

Please sign in to comment.