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:
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "Rifresko projektin",
|
||||
"saveAsTemplate": "Ruaj si model",
|
||||
"invite": "Fto",
|
||||
"share": "Ndaj",
|
||||
"subscribeTooltip": "Abonohu tek njoftimet e projektit",
|
||||
"unsubscribeTooltip": "Çabonohu nga njoftimet e projektit",
|
||||
"refreshTooltip": "Rifresko të dhënat e projektit",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "Projekt aktualisieren",
|
||||
"saveAsTemplate": "Als Vorlage speichern",
|
||||
"invite": "Einladen",
|
||||
"share": "Teilen",
|
||||
"subscribeTooltip": "Projektbenachrichtigungen abonnieren",
|
||||
"unsubscribeTooltip": "Projektbenachrichtigungen beenden",
|
||||
"refreshTooltip": "Projektdaten aktualisieren",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "Refresh project",
|
||||
"saveAsTemplate": "Save as template",
|
||||
"invite": "Invite",
|
||||
"share": "Share",
|
||||
"subscribeTooltip": "Subscribe to project notifications",
|
||||
"unsubscribeTooltip": "Unsubscribe from project notifications",
|
||||
"refreshTooltip": "Refresh project data",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "Actualizar proyecto",
|
||||
"saveAsTemplate": "Guardar como plantilla",
|
||||
"invite": "Invitar",
|
||||
"share": "Compartir",
|
||||
"subscribeTooltip": "Suscribirse a notificaciones del proyecto",
|
||||
"unsubscribeTooltip": "Cancelar suscripción a notificaciones del proyecto",
|
||||
"refreshTooltip": "Actualizar datos del proyecto",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "Atualizar projeto",
|
||||
"saveAsTemplate": "Salvar como modelo",
|
||||
"invite": "Convidar",
|
||||
"share": "Compartilhar",
|
||||
"subscribeTooltip": "Inscrever-se nas notificações do projeto",
|
||||
"unsubscribeTooltip": "Cancelar inscrição nas notificações do projeto",
|
||||
"refreshTooltip": "Atualizar dados do projeto",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"refreshProject": "刷新项目",
|
||||
"saveAsTemplate": "保存为模板",
|
||||
"invite": "邀请",
|
||||
"share": "分享",
|
||||
"subscribeTooltip": "订阅项目通知",
|
||||
"unsubscribeTooltip": "取消订阅项目通知",
|
||||
"refreshTooltip": "刷新项目数据",
|
||||
|
||||
@@ -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