feat(localization): update task and project view translations across multiple languages

- Enhanced localization files for task management and project view headers in Albanian, German, Spanish, Portuguese, Chinese, and others.
- Standardized translations for terms related to tasks, project settings, and notifications, including default task names.
- Improved clarity and consistency in language usage to enhance user experience across different locales.
This commit is contained in:
chamikaJ
2025-07-11 18:29:15 +05:30
parent 502726cd83
commit 808731387b
13 changed files with 65 additions and 53 deletions

View File

@@ -212,7 +212,7 @@ const ProjectViewHeader = memo(() => {
setCreatingTask(true);
const body: Partial<ITaskCreateRequest> = {
name: DEFAULT_TASK_NAME,
name: t('defaultTaskName'),
project_id: selectedProject.id,
reporter_id: currentSession.id,
team_id: currentSession.team_id,
@@ -242,7 +242,7 @@ const ProjectViewHeader = memo(() => {
logger.error('Error creating task', error);
setCreatingTask(false);
}
}, [selectedProject?.id, currentSession, socket, dispatch, groupBy, tab]);
}, [selectedProject?.id, currentSession, socket, dispatch, groupBy, tab, t]);
// Memoized import task template handler
const handleImportTaskTemplate = useCallback(() => {