feat: rename lists to projects #2697

Closed
konrad wants to merge 53 commits from feature/rename-lists-to-projects into main
7 changed files with 11 additions and 11 deletions
Showing only changes of commit fd22f42949 - Show all commits

View File

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

View File

@ -227,7 +227,7 @@ type SelectedViewMapper = Record<IProject['id'], ProjectView>
const selectedView = ref<SelectedViewMapper>({}) const selectedView = ref<SelectedViewMapper>({})
const availableViews = computed<Record<ProjectView, string>>(() => ({ const availableViews = computed<Record<ProjectView, string>>(() => ({
project: t('project.project.title'), project: t('project.list.title'),
konrad marked this conversation as resolved Outdated

The view is still called list:

list: t('project.list.title'),
The view is still called `list`: ```ts list: t('project.list.title'), ```

That's true. Fixed.

That's true. Fixed.
gantt: t('project.gantt.title'), gantt: t('project.gantt.title'),
table: t('project.table.title'), table: t('project.table.title'),
kanban: t('project.kanban.title'), kanban: t('project.kanban.title'),

View File

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

View File

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

View File

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

View File

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

View File

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