mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-09 01:06:09 +00:00
add ko and ar
This commit is contained in:
@@ -4,8 +4,10 @@ import de from './cookie/de.json';
|
||||
import es from './cookie/es.json';
|
||||
import fr from './cookie/fr.json';
|
||||
import pt from './cookie/pt.json';
|
||||
import it from './cookie/pt.json';
|
||||
import ja from './cookie/pt.json';
|
||||
import it from './cookie/it.json';
|
||||
import ja from './cookie/ja.json';
|
||||
import ar from './cookie/ar.json';
|
||||
import ko from './cookie/ko.json';
|
||||
import zhCN from './cookie/zh-CN.json';
|
||||
import zhTW from './cookie/zh-TW.json';
|
||||
|
||||
@@ -22,6 +24,9 @@ export const config: CookieConsentConfig = {
|
||||
flipButtons: false,
|
||||
},
|
||||
},
|
||||
onConsent: () => {
|
||||
localStorage.setItem('cookie-accepted', 'true');
|
||||
},
|
||||
categories: {
|
||||
necessary: {
|
||||
readOnly: true,
|
||||
@@ -31,10 +36,9 @@ export const config: CookieConsentConfig = {
|
||||
services: {
|
||||
ga4: {
|
||||
label:
|
||||
'<a href="https://marketingplatform.google.com/about/analytics/terms/us/" target="_blank">Google Analytics 4 (dummy)</a>',
|
||||
'<a href="https://marketingplatform.google.com/about/analytics/terms/us/" target="_blank">Google Analytics 4</a>',
|
||||
onAccept: () => {
|
||||
// TODO: load ga4
|
||||
localStorage.setItem('cookie-accepted', 'true');
|
||||
},
|
||||
onReject: () => {
|
||||
console.log('ga4 rejected');
|
||||
@@ -45,17 +49,14 @@ export const config: CookieConsentConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
another: {
|
||||
label: 'Another one (dummy)',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
language: {
|
||||
default: 'en',
|
||||
autoDetect: 'browser',
|
||||
autoDetect: 'document',
|
||||
translations: {
|
||||
en, de, es, fr, ja, pt, it, 'zh-CN': zhCN, 'zh-TW': zhTW,
|
||||
en, de, es, fr, ja, pt, it, 'zh-CN': zhCN, 'zh-TW': zhTW, ar, ko,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -6,6 +6,6 @@ import logo from '~/assets/images/logo.svg';
|
||||
<span
|
||||
class="flex items-center self-center ml-2 rtl:ml-0 rtl:mr-2 text-2xl md:text-xl font-bold text-gray-900 whitespace-nowrap dark:text-white"
|
||||
>
|
||||
<img src={logo.src} loading="lazy" alt="RustDesk Logo" class="h-8 w-8 mr-2" />
|
||||
{SITE?.name?.toLowerCase()}
|
||||
<img src={logo.src} loading="lazy" alt="RustDesk Logo" class="h-8 w-8" />
|
||||
<span class="mx-2">{SITE?.name?.toLowerCase()}</span>
|
||||
</span>
|
||||
|
||||
@@ -109,6 +109,24 @@ const ScammingBanner = ({ lang }) => {
|
||||
Probabilmente sono truffatori che cercano di rubarti i soldi o
|
||||
</>
|
||||
),
|
||||
ko: (
|
||||
<>
|
||||
경고: 사기당하고 있을 수 있습니다! <br />
|
||||
RustDesk를 설치하라고 요청한 사람과 전화 중이고, 그 사람을 모르고 믿을 수 없다면,
|
||||
<br />
|
||||
설치하지 말고 즉시 전화를 끊으십시오. <br />
|
||||
그들은 아마도 돈이나 다른 개인 정보를 훔치려는 사기꾼일 가능성이 높습니다.
|
||||
</>
|
||||
),
|
||||
ar: (
|
||||
<>
|
||||
تحذير: قد تكون ضحية احتيال! <br />
|
||||
إذا كنت تتحدث عبر الهاتف مع شخص لا تعرفه وطلب منك تثبيت RustDesk،
|
||||
<br />
|
||||
لا تقم بالتثبيت واغلق المكالمة فوراً. <br />
|
||||
من المحتمل أنهم محتالون يحاولون سرقة أموالك.
|
||||
</>
|
||||
),
|
||||
})}
|
||||
</span>
|
||||
<button className="bg-none border-none text-lg cursor-pointer mr-4" onClick={handleClose}>
|
||||
|
||||
55
v3/src/components/cookie/ar.json
Normal file
55
v3/src/components/cookie/ar.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"consentModal": {
|
||||
"label": "موافقة ملفات تعريف الارتباط",
|
||||
"title": "مرحبًا أيها المسافر، حان وقت ملفات تعريف الارتباط!",
|
||||
"description": "يستخدم موقعنا ملفات تعريف ارتباط أساسية لضمان التشغيل السليم وملفات تعريف ارتباط للتتبع لفهم كيفية تفاعلك معه. سيتم تعيين الأخيرة فقط بعد الموافقة. <button type=\"button\" data-cc=\"show-preferencesModal\" class=\"cc__link\">إدارة التفضيلات</button>",
|
||||
"acceptAllBtn": "قبول الكل",
|
||||
"acceptNecessaryBtn": "رفض الكل",
|
||||
"showPreferencesBtn": "إدارة التفضيلات"
|
||||
},
|
||||
"preferencesModal": {
|
||||
"title": "تفضيلات ملفات تعريف الارتباط",
|
||||
"acceptAllBtn": "قبول الكل",
|
||||
"acceptNecessaryBtn": "رفض الكل",
|
||||
"savePreferencesBtn": "حفظ التفضيلات",
|
||||
"closeIconLabel": "إغلاق",
|
||||
"sections": [
|
||||
{
|
||||
"title": "استخدام ملفات تعريف الارتباط",
|
||||
"description": "نحن نستخدم ملفات تعريف الارتباط لضمان الوظائف الأساسية للموقع ولتحسين تجربتك عبر الإنترنت ..."
|
||||
},
|
||||
{
|
||||
"title": "ملفات تعريف الارتباط الضرورية للغاية",
|
||||
"description": "هذه الملفات ضرورية للتشغيل السليم لموقعي. بدون هذه الملفات، لن يعمل الموقع بشكل صحيح",
|
||||
"linkedCategory": "necessary"
|
||||
},
|
||||
{
|
||||
"title": "ملفات تعريف الارتباط الخاصة بالأداء والتحليلات",
|
||||
"description": "تسمح هذه الملفات للموقع بتذكر الاختيارات التي قمت بها في الماضي",
|
||||
"linkedCategory": "analytics",
|
||||
"cookieTable": {
|
||||
"headers": {
|
||||
"name": "الاسم",
|
||||
"domain": "الخدمة",
|
||||
"description": "الوصف",
|
||||
"expiration": "انتهاء الصلاحية"
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"name": "_ga",
|
||||
"domain": "Google Analytics",
|
||||
"description": "ملف تعريف ارتباط تم تعيينه بواسطة <a href=\"#das\">Google Analytics</a>.",
|
||||
"expiration": "تنتهي صلاحيته بعد 12 يومًا"
|
||||
},
|
||||
{
|
||||
"name": "_gid",
|
||||
"domain": "Google Analytics",
|
||||
"description": "ملف تعريف ارتباط تم تعيينه بواسطة <a href=\"#das\">Google Analytics</a>",
|
||||
"expiration": "الجلسة"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
55
v3/src/components/cookie/ko.json
Normal file
55
v3/src/components/cookie/ko.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"consentModal": {
|
||||
"label": "쿠키 동의",
|
||||
"title": "안녕하세요 여행자님, 쿠키 시간입니다!",
|
||||
"description": "우리 웹사이트는 적절한 운영을 위해 필수 쿠키를 사용하며, 귀하와의 상호작용을 이해하기 위해 추적 쿠키를 사용합니다. 후자는 동의 후에만 설정됩니다. <button type=\"button\" data-cc=\"show-preferencesModal\" class=\"cc__link\">환경설정 관리</button>",
|
||||
"acceptAllBtn": "모두 수락",
|
||||
"acceptNecessaryBtn": "모두 거부",
|
||||
"showPreferencesBtn": "환경설정 관리"
|
||||
},
|
||||
"preferencesModal": {
|
||||
"title": "쿠키 환경설정",
|
||||
"acceptAllBtn": "모두 수락",
|
||||
"acceptNecessaryBtn": "모두 거부",
|
||||
"savePreferencesBtn": "환경설정 저장",
|
||||
"closeIconLabel": "닫기",
|
||||
"sections": [
|
||||
{
|
||||
"title": "쿠키 사용",
|
||||
"description": "우리는 웹사이트의 기본 기능을 보장하고 귀하의 온라인 경험을 향상시키기 위해 쿠키를 사용합니다 ..."
|
||||
},
|
||||
{
|
||||
"title": "엄격히 필요한 쿠키",
|
||||
"description": "이 쿠키들은 제 웹사이트의 적절한 기능을 위해 필수적입니다. 이 쿠키들이 없으면 웹사이트가 제대로 작동하지 않을 것입니다",
|
||||
"linkedCategory": "necessary"
|
||||
},
|
||||
{
|
||||
"title": "성능 및 분석 쿠키",
|
||||
"description": "이 쿠키들은 웹사이트가 귀하가 과거에 선택한 사항들을 기억할 수 있게 합니다",
|
||||
"linkedCategory": "analytics",
|
||||
"cookieTable": {
|
||||
"headers": {
|
||||
"name": "이름",
|
||||
"domain": "서비스",
|
||||
"description": "설명",
|
||||
"expiration": "만료"
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"name": "_ga",
|
||||
"domain": "Google Analytics",
|
||||
"description": "<a href=\"#das\">Google Analytics</a>에 의해 설정된 쿠키입니다.",
|
||||
"expiration": "12일 후 만료"
|
||||
},
|
||||
{
|
||||
"name": "_gid",
|
||||
"domain": "Google Analytics",
|
||||
"description": "<a href=\"#das\">Google Analytics</a>에 의해 설정된 쿠키입니다",
|
||||
"expiration": "세션"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user