refactor: minor translation improvements

This commit is contained in:
Fabio Di Stasio 2023-08-03 18:36:09 +02:00
parent 1dd2147b68
commit 92fe029906
3 changed files with 7 additions and 6 deletions

View File

View File

@ -14,12 +14,12 @@
<div class="tr text-uppercase"> <div class="tr text-uppercase">
<div class="th no-border"> <div class="th no-border">
<div> <div>
{{ t('database.event') }} {{ t('application.event') }}
</div> </div>
</div> </div>
<div class="th no-border" style="width: 100%;"> <div class="th no-border" style="width: 100%;">
<div> <div>
{{ t('database.key', 2) }} {{ t('application.key', 2) }}
</div> </div>
</div> </div>
<div class="th no-border" /> <div class="th no-border" />
@ -71,7 +71,7 @@
<template #body> <template #body>
<div class="mb-2"> <div class="mb-2">
<div class="form-group"> <div class="form-group">
<label class="form-label">{{ t('database.event') }}</label> <label class="form-label">{{ t('application.event') }}</label>
<BaseSelect <BaseSelect
v-model="shortcutToAdd.event" v-model="shortcutToAdd.event"
class="form-select" class="form-select"
@ -81,7 +81,7 @@
</div> </div>
<div class="mb-2"> <div class="mb-2">
<div class="form-group"> <div class="form-group">
<label class="form-label">{{ t('database.key', 2) }}</label> <label class="form-label">{{ t('application.key', 2) }}</label>
<KeyPressDetector v-model="typedShortcut" /> <KeyPressDetector v-model="typedShortcut" />
</div> </div>
</div> </div>
@ -105,7 +105,7 @@
<template #body> <template #body>
<div class="mb-2"> <div class="mb-2">
<div class="form-group"> <div class="form-group">
<label class="form-label">{{ t('database.event') }}</label> <label class="form-label">{{ t('application.event') }}</label>
<BaseSelect <BaseSelect
v-model="shortcutToEdit.event" v-model="shortcutToEdit.event"
class="form-select" class="form-select"
@ -116,7 +116,7 @@
</div> </div>
<div class="mb-2"> <div class="mb-2">
<div class="form-group"> <div class="form-group">
<label class="form-label">{{ t('database.key', 2) }}</label> <label class="form-label">{{ t('application.key', 2) }}</label>
<KeyPressDetector v-model="shortcutToEdit.keys[0]" /> <KeyPressDetector v-model="shortcutToEdit.keys[0]" />
</div> </div>
</div> </div>

View File

@ -276,6 +276,7 @@ export const enUS = {
language: 'Language', language: 'Language',
shortcuts: 'Shortcuts', shortcuts: 'Shortcuts',
key: 'Key | Keys', // Keyboard key key: 'Key | Keys', // Keyboard key
event: 'Event',
light: 'Light', light: 'Light',
dark: 'Dark', dark: 'Dark',
autoCompletion: 'Auto Completion', autoCompletion: 'Auto Completion',