fix: i18n keys

This commit is contained in:
kolaente 2023-01-17 22:35:04 +01:00
parent a9cee4474f
commit fd22f42949
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
7 changed files with 11 additions and 11 deletions

View File

@ -156,7 +156,7 @@
<template
v-if="['filters.create', 'project.edit', 'filter.settings.edit'].includes($route.name as string)">
<div class="field">
<label class="label">{{ $t('project.projects') }}</label>
<label class="label">{{ $t('project.lists') }}</label>
<div class="control">
<SelectProject
v-model="entities.projects"

View File

@ -227,7 +227,7 @@ type SelectedViewMapper = Record<IProject['id'], ProjectView>
const selectedView = ref<SelectedViewMapper>({})
const availableViews = computed<Record<ProjectView, string>>(() => ({
project: t('project.project.title'),
project: t('project.list.title'),
gantt: t('project.gantt.title'),
table: t('project.table.title'),
kanban: t('project.kanban.title'),

View File

@ -228,7 +228,7 @@ const shareTypeName = createShareTypeNameComputed(1)
const sharableName = computed(() => {
if (props.type === 'project') {
return t('project.project.title')
return t('project.list.title')
}
if (props.shareType === 'namespace') {

View File

@ -5,7 +5,7 @@
<textarea
class="add-task-textarea input"
:class="{'textarea-empty': newTaskTitle === ''}"
:placeholder="$t('project.project.addPlaceholder')"
:placeholder="$t('project.list.addPlaceholder')"
rows="1"
v-focus
v-model="newTaskTitle"
@ -24,10 +24,10 @@
@click="addTask()"
icon="plus"
:loading="loading"
:aria-label="$t('project.project.add')"
:aria-label="$t('project.list.add')"
>
<span class="button-text">
{{ $t('project.project.add') }}
{{ $t('project.list.add') }}
</span>
</x-button>
</p>

View File

@ -37,7 +37,7 @@
{{ $t('task.quickAddMagic.multiple') }}
</p>
<h3>{{ $t('project.project.title') }}</h3>
<h3>{{ $t('project.list.title') }}</h3>
<p>
{{ $t('task.quickAddMagic.project1', {prefix: prefixes.project}) }}
{{ $t('task.quickAddMagic.project2') }}

View File

@ -271,8 +271,8 @@
"delete": "Delete"
}
},
"project": {
"title": "Project",
"list": {
"title": "List",
"add": "Add",
"addPlaceholder": "Add a new task…",
"empty": "This project is currently empty.",

View File

@ -62,9 +62,9 @@
/>
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
{{ $t('project.project.empty') }}
{{ $t('project.list.empty') }}
<ButtonLink @click="focusNewTaskInput()">
{{ $t('project.project.newTaskCta') }}
{{ $t('project.list.newTaskCta') }}
</ButtonLink>
</nothing>