Skip to content

Commit ef9d071

Browse files
GermeyAceDataCloud
and
AceDataCloud
authored
Fix disable for support (#80)
Co-authored-by: AceDataCloud <office@acedata.cloud>
1 parent 35d2a96 commit ef9d071

38 files changed

+500
-413
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix support switch",
4+
"packageName": "@acedatacloud/nexior",
5+
"email": "office@acedata.cloud",
6+
"dependentChangeType": "patch"
7+
}

src/components/common/Navigator.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,11 @@ export default defineComponent({
205205
return this.$store?.state?.site?.admins?.includes(this.$store.getters.user?.id);
206206
},
207207
showSupport() {
208-
return this.$store?.state?.site?.features?.support?.enabled;
208+
return (
209+
this.$store?.state?.site?.features?.support?.enabled &&
210+
(this.$store?.state?.site?.features?.support?.discord?.enabled ||
211+
this.$store?.state?.site?.features?.support?.wechat?.enabled)
212+
);
209213
},
210214
showDistribution() {
211215
return (

src/i18n/.cache/171a48ec303169c1ffdada78c94e496d6bce05c7

Whitespace-only changes.

src/i18n/.cache/2b13436f31ef05221507c9f5393f95203ab7363f

Whitespace-only changes.

src/i18n/.cache/2ed129a2f1e965023e14bb7d50e38212ef4440f8

Whitespace-only changes.

src/i18n/.cache/36842f1cc2bdb3832440021ed4f27585e06251b4

Whitespace-only changes.

src/i18n/.cache/3986e7133463ac987927b4e04d1ce34d18abbd62

Whitespace-only changes.

src/i18n/.cache/469bc6ab85661d30d484c31771f5f14ac39e45e0

Whitespace-only changes.

src/i18n/.cache/4f445a59963132251782d0688df5921644b944d9

Whitespace-only changes.

src/i18n/.cache/69f8fdc682d890c5222c8e7ba27ba34ae9745346

Whitespace-only changes.

src/i18n/.cache/7116fec778bdcdbed823261421629c759d6bae8d

Whitespace-only changes.

src/i18n/.cache/8228c492bb0c5251628090406c1b073a11424470

Whitespace-only changes.

src/i18n/.cache/91a80c2549dc457270b26f1df13ca3cd297c756a

Whitespace-only changes.

src/i18n/.cache/966ca6c14532a1a47a90f0998f7bb2916139e15d

Whitespace-only changes.

src/i18n/.cache/99b9ef3a58797aff592231322531ab1219b35704

Whitespace-only changes.

src/i18n/.cache/c8b5af8730f5ecc645e42593c68587f6bd406600

Whitespace-only changes.

src/i18n/.cache/d50c1f10263f438d8216b2722aafd459cc3f5046

Whitespace-only changes.

src/i18n/.cache/dfaa25f21b08d17c56f47f48223c686d111f5a51

Whitespace-only changes.

src/i18n/.cache/f569c2b469c84132c484d9afc0067b91a99bcf2f

Whitespace-only changes.

src/i18n/ar/site.json

Lines changed: 51 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,159 +1,163 @@
11
{
22
"field.title": {
33
"message": "عنوان الموقع",
4-
"description": "يظهر في مربع النص كعنوان"
4+
"description": "يظهر في مربع التحرير"
55
},
66
"field.origin": {
77
"message": "نطاق الموقع",
8-
"description": "يظهر في مربع النص كعنوان"
8+
"description": "يظهر في مربع التحرير"
99
},
1010
"field.description": {
1111
"message": "وصف الموقع",
12-
"description": "يظهر في مربع النص كعنوان"
12+
"description": "يظهر في مربع التحرير"
1313
},
1414
"field.keywords": {
1515
"message": "كلمات مفتاحية للموقع",
16-
"description": "يظهر في مربع النص كعنوان"
16+
"description": "يظهر في مربع التحرير"
1717
},
1818
"field.logo": {
1919
"message": "شعار الموقع",
20-
"description": "يظهر في مربع النص كعنوان"
20+
"description": "يظهر في مربع التحرير"
2121
},
2222
"field.favicon": {
2323
"message": "رمز الموقع",
24-
"description": "يظهر في مربع النص كعنوان"
24+
"description": "يظهر في مربع التحرير"
2525
},
2626
"field.qr": {
2727
"message": "رمز الاستجابة السريعة",
28-
"description": "يظهر في مربع النص كعنوان"
28+
"description": "يظهر في مربع التحرير"
2929
},
3030
"field.url": {
3131
"message": "الرابط",
32-
"description": "يظهر في مربع النص كعنوان"
32+
"description": "يظهر في مربع التحرير"
3333
},
3434
"field.admins": {
3535
"message": "معرف مسؤول الموقع",
36-
"description": "يظهر في مربع النص كعنوان"
36+
"description": "يظهر في مربع التحرير"
3737
},
3838
"field.distributionDefaultInviterId": {
3939
"message": "معرف الشخص المدعو الافتراضي",
40-
"description": "يظهر في مربع النص كعنوان"
40+
"description": "يظهر في مربع التحرير"
4141
},
4242
"field.distributionForceInviterId": {
4343
"message": "معرف الشخص المدعو بالقوة",
44-
"description": "يظهر في مربع النص كعنوان"
44+
"description": "يظهر في مربع التحرير"
4545
},
4646
"field.featuresChat": {
4747
"message": "الدردشة",
48-
"description": "يظهر في مربع النص كعنوان"
48+
"description": "يظهر في مربع التحرير"
4949
},
5050
"field.featuresMidjourney": {
5151
"message": "رحلة الوسط",
52-
"description": "يظهر في مربع النص كعنوان"
52+
"description": "يظهر في مربع التحرير"
5353
},
5454
"field.featuresChatdoc": {
5555
"message": "Chatdoc",
56-
"description": "يظهر في مربع النص كعنوان"
56+
"description": "يظهر في مربع التحرير"
5757
},
5858
"field.featuresQrart": {
5959
"message": "Qrart",
60-
"description": "يظهر في مربع النص كعنوان"
60+
"description": "يظهر في مربع التحرير"
6161
},
6262
"field.featuresSupport": {
63-
"message": "الدعم الفني",
64-
"description": "يظهر في مربع النص كعنوان"
63+
"message": "دعم العملاء",
64+
"description": "يظهر في مربع التحرير"
6565
},
6666
"field.featuresI18n": {
67-
"message": "الدعم لعدة لغات",
68-
"description": "يظهر في مربع النص كعنوان"
67+
"message": "دعم اللغات المتعددة",
68+
"description": "يظهر في مربع التحرير"
6969
},
7070
"title.basicConfig": {
7171
"message": "التكوين الأساسي",
72-
"description": "يظهر في مربع النص كعنوان"
72+
"description": "يظهر في مربع التحرير"
7373
},
7474
"title.seoConfig": {
7575
"message": "تكوين تحسين محركات البحث",
76-
"description": "يظهر في مربع النص كعنوان"
76+
"description": "يظهر في مربع التحرير"
7777
},
7878
"title.editAdmins": {
7979
"message": "تحرير المسؤولين",
80-
"description": "يظهر في مربع النص كعنوان"
80+
"description": "يظهر في مربع التحرير"
8181
},
8282
"title.featuresConfig": {
8383
"message": "تكوين الميزات",
84-
"description": "يظهر في مربع النص كعنوان"
84+
"description": "يظهر في مربع التحرير"
8585
},
8686
"title.editTitle": {
8787
"message": "تحرير العنوان",
88-
"description": "يظهر في مربع النص كعنوان"
88+
"description": "يظهر في مربع التحرير"
8989
},
9090
"title.editOrigin": {
9191
"message": "تحرير النطاق",
92-
"description": "يظهر في مربع النص كعنوان"
92+
"description": "يظهر في مربع التحرير"
9393
},
9494
"title.editKeywords": {
9595
"message": "تحرير الكلمات المفتاحية",
96-
"description": "يظهر في مربع النص كعنوان"
96+
"description": "يظهر في مربع التحرير"
9797
},
9898
"title.editLogo": {
9999
"message": "تحرير الشعار",
100-
"description": "يظهر في مربع النص كعنوان"
100+
"description": "يظهر في مربع التحرير"
101101
},
102102
"title.editFavicon": {
103-
"message": "تحرير الرمز",
104-
"description": "يظهر في مربع النص كعنوان"
103+
"message": "تحرير رمز الموقع",
104+
"description": "يظهر في مربع التحرير"
105105
},
106106
"title.editDescription": {
107107
"message": "تحرير الوصف",
108-
"description": "يظهر في مربع النص كعنوان"
108+
"description": "يظهر في مربع التحرير"
109109
},
110110
"title.distributionConfig": {
111111
"message": "تكوين التوزيع",
112-
"description": "يظهر في مربع النص كعنوان"
112+
"description": "يظهر في مربع التحرير"
113113
},
114114
"title.editDistributionDefaultInviterId": {
115115
"message": "تحرير الشخص المدعو الافتراضي",
116-
"description": "يظهر في مربع النص كعنوان"
116+
"description": "يظهر في مربع التحرير"
117117
},
118118
"title.editDistributionForceInviterId": {
119119
"message": "تحرير الشخص المدعو بالقوة",
120-
"description": "يظهر في مربع النص كعنوان"
120+
"description": "يظهر في مربع التحرير"
121121
},
122122
"title.editQR": {
123123
"message": "تحرير رمز الاستجابة السريعة",
124-
"description": "يظهر في مربع النص كعنوان"
124+
"description": "يظهر في مربع التحرير"
125125
},
126126
"title.editUrl": {
127127
"message": "تحرير الرابط",
128-
"description": "يظهر في مربع النص كعنوان"
128+
"description": "يظهر في مربع التحرير"
129129
},
130130
"placeholder.title": {
131131
"message": "الرجاء إدخال عنوان الموقع",
132-
"description": "يظهر في مربع النص كعنوان"
132+
"description": "يظهر في مربع التحرير"
133133
},
134134
"placeholder.origin": {
135135
"message": "الرجاء إدخال نطاق الموقع",
136-
"description": "يظهر في مربع النص كعنوان"
136+
"description": "يظهر في مربع التحرير"
137+
},
138+
"placeholder.editUrl": {
139+
"message": "الرجاء إدخال الرابط",
140+
"description": "يظهر في مربع التحرير"
137141
},
138142
"placeholder.description": {
139143
"message": "الرجاء إدخال وصف الموقع",
140-
"description": "يظهر في مربع النص كعنوان"
144+
"description": "يظهر في مربع التحرير"
141145
},
142146
"placeholder.keywords": {
143147
"message": "الرجاء إدخال كلمات مفتاحية للموقع",
144-
"description": "يظهر في مربع النص كعنوان"
148+
"description": "يظهر في مربع التحرير"
145149
},
146150
"placeholder.editDistributionDefaultInviterId": {
147151
"message": "الرجاء إدخال معرف الشخص المدعو الافتراضي",
148-
"description": "يظهر في مربع النص كعنوان"
152+
"description": "يظهر في مربع التحرير"
149153
},
150154
"placeholder.editDistributionForceInviterId": {
151155
"message": "الرجاء إدخال معرف الشخص المدعو بالقوة",
152-
"description": "يظهر في مربع النص كعنوان"
156+
"description": "يظهر في مربع التحرير"
153157
},
154158
"message.uploadImageExceed": {
155-
"message": "تجاوز حجم رفع الصورة",
156-
"description": "تنبيه تجاوز حجم رفع الصورة"
159+
"message": "تجاوز حد رفع الصورة",
160+
"description": "تنبيه تجاوز حد رفع الصورة"
157161
},
158162
"message.uploadImageError": {
159163
"message": "خطأ في رفع الصورة",
@@ -188,7 +192,7 @@
188192
"description": "تلميح معرف المستخدم المدعو بالقوة"
189193
},
190194
"message.originTip": {
191-
"message": "اسم النطاق للموقع، يتم ربط تكوين الموقع بالنطاق، ولا يمكن تغيير اسم النطاق.",
195+
"message": "اسم النطاق للموقع، يتم ربط تكوين الموقع بالنطاق، ولا يمكن تغيير اسم النطاق للموقع.",
192196
"description": "تلميح اسم النطاق للموقع"
193197
},
194198
"message.titleTip": {
@@ -212,15 +216,15 @@
212216
"description": "تلميح معرف المسؤول للموقع"
213217
},
214218
"message.adminsTip2": {
215-
"message": "يمكنك إضافة أو حذف معرفات المسؤول هنا، يمكنك الانتقال إلى https://auth.acedata.cloud لعرض معرفات المستخدمين.",
216-
"description": "تلميح معرفات المسؤول للموقع"
219+
"message": "يمكنك إضافة أو حذف معرفات المسؤولين هنا، يمكنك الانتقال إلى https://auth.acedata.cloud لعرض معرفات المستخدمين.",
220+
"description": "تلميح معرفات المسؤولين للموقع"
217221
},
218222
"message.keywordsTip": {
219223
"message": "كلمات مفتاحية للموقع، توجد في البيانات الوصفية للموقع، تستخدم لتحسين تصنيف محركات البحث للموقع.",
220224
"description": "تلميح كلمات مفتاحية للموقع"
221225
},
222226
"message.keywordsTip2": {
223-
"message": "يمكنك إضافة أو حذف كلمات مفتاحية للموقع هنا، كلما كانت الكلمات المفتاحية أكثر دقة، كان ذلك أفضل لتحسين تصنيف محركات البحث.",
227+
"message": "يمكنك إضافة أو حذف كلمات مفتاحية للموقع هنا، كلما كانت الكلمات مفتاحية دقيقة، كان ذلك أفضل لتحسين تصنيف محركات البحث.",
224228
"description": "تلميح كلمات مفتاحية للموقع"
225229
},
226230
"message.featuresChat": {

0 commit comments

Comments
 (0)