chore: replace the same i18n string with a single entry

This commit is contained in:
kolaente 2022-04-24 18:14:41 +02:00
parent 62adf171ec
commit 8257586c90
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
4 changed files with 9 additions and 8 deletions

View file

@ -113,8 +113,10 @@
<template #header><span>{{ $t('task.attachment.delete') }}</span></template> <template #header><span>{{ $t('task.attachment.delete') }}</span></template>
<template #text> <template #text>
<p>{{ $t('task.attachment.deleteText1', {filename: attachmentToDelete.file.name}) }}<br/> <p>
<strong>{{ $t('task.attachment.deleteText2') }}</strong></p> {{ $t('task.attachment.deleteText1', {filename: attachmentToDelete.file.name}) }}<br/>
<strong class="has-text-white">{{ $t('misc.cannotBeUndone') }}</strong>
</p>
</template> </template>
</modal> </modal>
</transition> </transition>

View file

@ -143,7 +143,7 @@
<template #text> <template #text>
<p> <p>
{{ $t('task.comment.deleteText1') }}<br/> {{ $t('task.comment.deleteText1') }}<br/>
<strong>{{ $t('task.comment.deleteText2') }}</strong> <strong class="has-text-white">{{ $t('misc.cannotBeUndone') }}</strong>
</p> </p>
</template> </template>
</modal> </modal>

View file

@ -126,8 +126,10 @@
<template #header><span>{{ $t('task.relation.delete') }}</span></template> <template #header><span>{{ $t('task.relation.delete') }}</span></template>
<template #text> <template #text>
<p>{{ $t('task.relation.deleteText1') }}<br/> <p>
<strong>{{ $t('task.relation.deleteText2') }}</strong></p> {{ $t('task.relation.deleteText1') }}<br/>
<strong class="has-text-white">{{ $t('misc.cannotBeUndone') }}</strong>
</p>
</template> </template>
</modal> </modal>
</transition> </transition>

View file

@ -691,7 +691,6 @@
"delete": "Delete attachment", "delete": "Delete attachment",
"deleteTooltip": "Delete this attachment", "deleteTooltip": "Delete this attachment",
"deleteText1": "Are you sure you want to delete the attachment {filename}?", "deleteText1": "Are you sure you want to delete the attachment {filename}?",
"deleteText2": "This cannot be undone!",
"copyUrl": "Copy URL", "copyUrl": "Copy URL",
"copyUrlTooltip": "Copy the url of this attachment for usage in text" "copyUrlTooltip": "Copy the url of this attachment for usage in text"
}, },
@ -704,7 +703,6 @@
"comment": "Comment", "comment": "Comment",
"delete": "Delete this comment", "delete": "Delete this comment",
"deleteText1": "Are you sure you want to delete this comment?", "deleteText1": "Are you sure you want to delete this comment?",
"deleteText2": "This cannot be undone!",
"addedSuccess": "The comment was added successfully." "addedSuccess": "The comment was added successfully."
}, },
"deferDueDate": { "deferDueDate": {
@ -749,7 +747,6 @@
"noneYet": "No task relations yet.", "noneYet": "No task relations yet.",
"delete": "Delete Task Relation", "delete": "Delete Task Relation",
"deleteText1": "Are you sure you want to delete this task relation?", "deleteText1": "Are you sure you want to delete this task relation?",
"deleteText2": "This cannot be undone!",
"select": "Select a relation kind", "select": "Select a relation kind",
"taskRequired": "Please select a task or enter a new task title.", "taskRequired": "Please select a task or enter a new task title.",
"kinds": { "kinds": {