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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user