Commit b85828a0 authored by dindigala's avatar dindigala
Browse files

refactor: updated style and added language change

parent 9482003e
Pipeline #196435 passed with stages
in 5 minutes and 52 seconds
......@@ -23,8 +23,11 @@
</q-list>
</div>
<div v-else>
<Notification :message="messages.none" />
<div
v-else
class="q-pa-sm"
>
<Notification :message="$t(messages.none)" />
</div>
</template>
......@@ -50,7 +53,7 @@ export default {
data() {
return {
messages: {
none: 'No annotations available',
none: 'noAnnotationMessage',
},
};
},
......
......@@ -10,7 +10,7 @@
color="red-9"
size="sm"
/>
<span class="text-body1 text-uppercase vertical-middle">Please note</span>
<span class="text-body1 text-uppercase vertical-middle">{{ $t('notificationTitle') }}</span>
</q-card-section>
<q-separator inset />
......
......@@ -35,6 +35,8 @@ export default {
Manuscript: 'Manuskript',
Metadata: 'Metadaten',
next: 'Näch.',
notificationTitle: 'Nicht Annotationen verfügbar',
noAnnotationMessage: 'Das aktuelle Blatt enthält keine anzuzeigenden Anmerkungen.',
Origin: 'Ursprung',
osdFullPage: 'Vollbildmodus wechseln',
osdHome: 'Ansicht zurücksetzen',
......
......@@ -35,6 +35,8 @@ export default {
Manuscript: 'Manuscript',
Metadata: 'Metadata',
next: 'Next',
notificationTitle: 'No Annotations available',
noAnnotationMessage: 'The current sheet has no annotations to display.',
Origin: 'Origin',
osdFullPage: 'Toggle full page',
osdHome: 'Go home',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment