Add missing translations for the editor buttons and the notifications title

This commit is contained in:
andreymal 2021-07-08 16:26:08 +03:00
parent 6ddd775530
commit caa2fda2a4
Signed by untrusted user: andreymal
GPG Key ID: CB605DA977D27A93
3 changed files with 6 additions and 4 deletions

View File

@ -35,15 +35,15 @@
<p class="has-text-centered has-text-grey is-italic" v-if="isPreviewActive && text === '' && emptyText !== ''"> <p class="has-text-centered has-text-grey is-italic" v-if="isPreviewActive && text === '' && emptyText !== ''">
{{ emptyText }} {{ emptyText }}
<template v-if="isEditEnabled"> <template v-if="isEditEnabled">
<a @click="toggleEdit">Edit</a>. <a @click="toggleEdit">{{ $t('input.editor.edit') }}</a>.
</template> </template>
</p> </p>
<ul class="actions"> <ul class="actions">
<template v-if="hasEditBottom && isEditEnabled"> <template v-if="hasEditBottom && isEditEnabled">
<li> <li>
<a v-if="!isEditActive" @click="toggleEdit">Edit</a> <a v-if="!isEditActive" @click="toggleEdit">{{ $t('input.editor.edit') }}</a>
<a v-else @click="toggleEdit">Done</a> <a v-else @click="toggleEdit">{{ $t('input.editor.done') }}</a>
</li> </li>
</template> </template>
<li v-for="(action, k) in bottomActions" :key="k"> <li v-for="(action, k) in bottomActions" :key="k">

View File

@ -9,7 +9,7 @@
<transition name="fade"> <transition name="fade">
<div class="notifications-list" v-if="showNotifications" ref="popup"> <div class="notifications-list" v-if="showNotifications" ref="popup">
<span class="head">Notifications</span> <span class="head">{{ $t('notification.title') }}</span>
<div <div
v-for="(n, index) in notifications" v-for="(n, index) in notifications"
:key="n.id" :key="n.id"

View File

@ -414,6 +414,7 @@
"chooseDate": "Choose a date" "chooseDate": "Choose a date"
}, },
"editor": { "editor": {
"edit": "Edit",
"done": "Done", "done": "Done",
"heading1": "Heading 1", "heading1": "Heading 1",
"heading2": "Heading 2", "heading2": "Heading 2",
@ -716,6 +717,7 @@
"contact": "contact us" "contact": "contact us"
}, },
"notification": { "notification": {
"title": "Notifications",
"none": "You don't have any notifications. Have a nice day!", "none": "You don't have any notifications. Have a nice day!",
"explainer": "Notifications will appear here when actions on namespaces, lists or tasks you subscribed to happen." "explainer": "Notifications will appear here when actions on namespaces, lists or tasks you subscribed to happen."
}, },