feat(localization): add 'share' label translations for multiple languages

- Added the 'share' label to project view headers in Albanian, German, Spanish, Portuguese, Chinese, and English to enhance user interaction.
- Updated corresponding button icons and labels in the project view header for improved functionality and consistency.
This commit is contained in:
chamikaJ
2025-07-09 11:41:09 +05:30
parent a47a9045e6
commit bc6a15de8f
7 changed files with 9 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ import { addTaskCardToTheTop, fetchBoardTaskGroups } from '@/features/board/boar
import { fetchPhasesByProjectId } from '@/features/projects/singleProject/phase/phases.slice';
import { fetchEnhancedKanbanGroups } from '@/features/enhanced-kanban/enhanced-kanban.slice';
import { fetchTasksV3 } from '@/features/task-management/task-management.slice';
import { ShareAltOutlined } from '@ant-design/icons';
const ProjectViewHeader = memo(() => {
const navigate = useNavigate();
@@ -395,8 +396,8 @@ const ProjectViewHeader = memo(() => {
if (isOwnerOrAdmin || isProjectManager) {
actions.push(
<Tooltip key="invite-tooltip" title={t('inviteTooltip')}>
<Button key="invite" type="primary" icon={<UsergroupAddOutlined />} onClick={handleInvite}>
{t('invite')}
<Button key="invite" type="primary" icon={<ShareAltOutlined />} onClick={handleInvite}>
{t('share')}
</Button>
</Tooltip>
);