Merge pull request #234 from shancds/test/row-kanban-board-v1.1.1
feat(localization): add new translations for Kanban board sections
This commit is contained in:
@@ -19,5 +19,7 @@
|
|||||||
"archive": "Arkivo",
|
"archive": "Arkivo",
|
||||||
|
|
||||||
"newTaskNamePlaceholder": "Shkruaj emrin e detyrës",
|
"newTaskNamePlaceholder": "Shkruaj emrin e detyrës",
|
||||||
"newSubtaskNamePlaceholder": "Shkruaj emrin e nëndetyrës"
|
"newSubtaskNamePlaceholder": "Shkruaj emrin e nëndetyrës",
|
||||||
|
"untitledSection": "Seksion pa titull",
|
||||||
|
"unmapped": "Pa hartë"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,5 +19,7 @@
|
|||||||
"archive": "Archivieren",
|
"archive": "Archivieren",
|
||||||
|
|
||||||
"newTaskNamePlaceholder": "Aufgabenname eingeben",
|
"newTaskNamePlaceholder": "Aufgabenname eingeben",
|
||||||
"newSubtaskNamePlaceholder": "Unteraufgabenname eingeben"
|
"newSubtaskNamePlaceholder": "Unteraufgabenname eingeben",
|
||||||
|
"untitledSection": "Unbenannter Abschnitt",
|
||||||
|
"unmapped": "Nicht zugeordnet"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,5 +19,7 @@
|
|||||||
"archive": "Archive",
|
"archive": "Archive",
|
||||||
|
|
||||||
"newTaskNamePlaceholder": "Write a task Name",
|
"newTaskNamePlaceholder": "Write a task Name",
|
||||||
"newSubtaskNamePlaceholder": "Write a subtask Name"
|
"newSubtaskNamePlaceholder": "Write a subtask Name",
|
||||||
|
"untitledSection": "Untitled section",
|
||||||
|
"unmapped": "Unmapped"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,5 +19,7 @@
|
|||||||
"archive": "Archivar",
|
"archive": "Archivar",
|
||||||
|
|
||||||
"newTaskNamePlaceholder": "Escribe un nombre de tarea",
|
"newTaskNamePlaceholder": "Escribe un nombre de tarea",
|
||||||
"newSubtaskNamePlaceholder": "Escribe un nombre de subtarea"
|
"newSubtaskNamePlaceholder": "Escribe un nombre de subtarea",
|
||||||
|
"untitledSection": "Sección sin título",
|
||||||
|
"unmapped": "Sin asignar"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,5 +19,7 @@
|
|||||||
"archive": "Arquivar",
|
"archive": "Arquivar",
|
||||||
|
|
||||||
"newTaskNamePlaceholder": "Escreva um nome de tarefa",
|
"newTaskNamePlaceholder": "Escreva um nome de tarefa",
|
||||||
"newSubtaskNamePlaceholder": "Escreva um nome de subtarefa"
|
"newSubtaskNamePlaceholder": "Escreva um nome de subtarefa",
|
||||||
|
"untitledSection": "Seção sem título",
|
||||||
|
"unmapped": "Não mapeado"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ const KanbanGroup: React.FC<KanbanGroupProps> = memo(({
|
|||||||
const handleBlur = async () => {
|
const handleBlur = async () => {
|
||||||
setIsEditable(false);
|
setIsEditable(false);
|
||||||
if (name === editName) return;
|
if (name === editName) return;
|
||||||
if (name === 'Untitled section') {
|
if (name === t('untitledSection')) {
|
||||||
dispatch(fetchEnhancedKanbanGroups(projectId ?? ''));
|
dispatch(fetchEnhancedKanbanGroups(projectId ?? ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ const KanbanGroup: React.FC<KanbanGroupProps> = memo(({
|
|||||||
className="flex items-center gap-2 cursor-pointer"
|
className="flex items-center gap-2 cursor-pointer"
|
||||||
onClick={e => {
|
onClick={e => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if ((isProjectManager || isOwnerOrAdmin) && group.name !== 'Unmapped')
|
if ((isProjectManager || isOwnerOrAdmin) && group.name !== t('unmapped'))
|
||||||
setIsEditable(true);
|
setIsEditable(true);
|
||||||
}}
|
}}
|
||||||
onMouseDown={e => {
|
onMouseDown={e => {
|
||||||
@@ -312,7 +312,7 @@ const KanbanGroup: React.FC<KanbanGroupProps> = memo(({
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{(isOwnerOrAdmin || isProjectManager) && name !== 'Unmapped' && (
|
{(isOwnerOrAdmin || isProjectManager) && name !== t('unmapped') && (
|
||||||
<div className="relative" ref={dropdownRef}>
|
<div className="relative" ref={dropdownRef}>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
@@ -341,7 +341,7 @@ const KanbanGroup: React.FC<KanbanGroupProps> = memo(({
|
|||||||
{groupBy === IGroupBy.STATUS && statusCategories && (
|
{groupBy === IGroupBy.STATUS && statusCategories && (
|
||||||
<div className="border-t border-gray-200 dark:border-gray-700">
|
<div className="border-t border-gray-200 dark:border-gray-700">
|
||||||
<div className="px-4 py-2 text-xs font-medium text-gray-500 uppercase tracking-wide">
|
<div className="px-4 py-2 text-xs font-medium text-gray-500 uppercase tracking-wide">
|
||||||
Change category
|
{t('changeCategory')}
|
||||||
</div>
|
</div>
|
||||||
{statusCategories.map(status => (
|
{statusCategories.map(status => (
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user