From f8cdc4d12a6083b328e09073a3f4d4475ad2cf55 Mon Sep 17 00:00:00 2001 From: amir baharlou Date: Wed, 6 Dec 2023 18:55:27 +0330 Subject: [PATCH] add clubb button --- src/i18n/ar-AR/index.js | 1 + src/i18n/chn-CHN/index.js | 1 + src/i18n/en-US/index.js | 1 + src/i18n/fa-IR/index.js | 1 + src/i18n/fra-FRA/index.js | 1 + src/i18n/ger-GER/index.js | 1 + src/i18n/rus-RUS/index.js | 1 + src/layouts/CompanyLayout.vue | 8 ++++++-- 8 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/i18n/ar-AR/index.js b/src/i18n/ar-AR/index.js index 479f3f8..cd8c1d5 100644 --- a/src/i18n/ar-AR/index.js +++ b/src/i18n/ar-AR/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'استكشاف النادي', clubManager: 'المدیر الکلاب', manageclub: 'ملحوظة: لإدارة ناديك، يرجى زيارة هذه الصفحة.', boothHelp: 'اتبع هذه التعليمات لإنشاء سوق لحدثك أو عرضك', diff --git a/src/i18n/chn-CHN/index.js b/src/i18n/chn-CHN/index.js index 9ae018e..fba2af5 100644 --- a/src/i18n/chn-CHN/index.js +++ b/src/i18n/chn-CHN/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: '探索俱乐部', manageclub: '注意:要管理您的俱乐部,请访问此页面。', boothHelp: '按照这些说明创建您的活动或演示的市场', interHelp: '请继续完成您的互动档案,但请记住,完成是可选的。', diff --git a/src/i18n/en-US/index.js b/src/i18n/en-US/index.js index 4330560..64a7784 100644 --- a/src/i18n/en-US/index.js +++ b/src/i18n/en-US/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'Explore Club', clubManager: 'Club Manager', boothHelp: 'Follow these instructions to construct a market place for your event or presentation', interHelp: 'Please proceed to complete your interactive profile, though remember that its completion is optional.', diff --git a/src/i18n/fa-IR/index.js b/src/i18n/fa-IR/index.js index 7d9e88a..3e2df30 100644 --- a/src/i18n/fa-IR/index.js +++ b/src/i18n/fa-IR/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'کاوش کلاب', clubManager: 'مدیر کلاب', manageclub: 'توجه: برای مدیریت باشگاه خود، لطفاً به این صفحه مراجعه کنید.', boothHelp: 'دستورالعمل‌ها را برای ساخت یک غرفه برای کلاب یا ارائه‌ی خود دنبال کنید', diff --git a/src/i18n/fra-FRA/index.js b/src/i18n/fra-FRA/index.js index 18b5081..5d10f55 100644 --- a/src/i18n/fra-FRA/index.js +++ b/src/i18n/fra-FRA/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'Explorer le club', manageclub: 'REMARQUE : Pour gérer votre club, veuillez visiter cette page.', boothHelp: 'Suivez ces instructions pour créer un marché pour votre événement ou présentation', interHelp: 'Veuillez continuer à compléter votre profil interactif, mais rappelez-vous que sa complétion est facultative.', diff --git a/src/i18n/ger-GER/index.js b/src/i18n/ger-GER/index.js index 32c87cc..7dfe036 100644 --- a/src/i18n/ger-GER/index.js +++ b/src/i18n/ger-GER/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'Club erkunden', manageclub: 'Hinweis: Zur Verwaltung Ihres Clubs besuchen Sie bitte diese Seite.', boothHelp: 'Folgen Sie diesen Anweisungen, um einen Marktplatz für Ihre Veranstaltung oder Präsentation zu erstellen', interHelp: 'Bitte fahren Sie fort, Ihr interaktives Profil zu vervollständigen, beachten Sie jedoch, dass dessen Abschluss optional ist.', diff --git a/src/i18n/rus-RUS/index.js b/src/i18n/rus-RUS/index.js index 61cfda3..d75bf74 100644 --- a/src/i18n/rus-RUS/index.js +++ b/src/i18n/rus-RUS/index.js @@ -1,4 +1,5 @@ export default { + exploreClub: 'Исследовать клуб', manageclub: 'ПРИМЕЧАНИЕ: Для управления вашим клубом, пожалуйста, посетите эту страницу.', boothHelp: 'Следуйте этим инструкциям, чтобы создать рынок для вашего мероприятия или презентации', interHelp: 'Пожалуйста, продолжите заполнять свой интерактивный профиль, хотя его завершение является необязательным.', diff --git a/src/layouts/CompanyLayout.vue b/src/layouts/CompanyLayout.vue index f84c3ec..4c96cee 100644 --- a/src/layouts/CompanyLayout.vue +++ b/src/layouts/CompanyLayout.vue @@ -220,6 +220,7 @@ import { } from '@quasar/extras/material-icons-round' import { outlinedExplore } from '@quasar/extras/material-icons-outlined' +import { useSocialStore } from 'src/stores/social-store' const UserAvatar = defineAsyncComponent(() => import('components/profile/UserAvatar.vue')) @@ -231,6 +232,9 @@ const $q = useQuasar() const route = useRoute() const router = useRouter() const userStore = useUserStore() +const socialEvent = useSocialStore() + +socialEvent.fetchEventData() dayjs.tz.setDefault(userStore.getTimezone) @@ -286,10 +290,10 @@ const items = ref([ link: { name: 'JoinedEvent' } }, { - title: t('profile.exploreEvent'), + title: t('exploreClub'), disable: () => (checkStatus.value), icon: outlinedExplore, - link: { name: 'Explore' } + link: { name: 'SocilaManagment', params: { id: socialEvent.event.path } } } ] }, -- GitLab