Skip to content

Commit f6c9fa4

Browse files
committed
perf: 📝 Added Arabic language support
1 parent 47f1d3d commit f6c9fa4

File tree

6 files changed

+9
-25
lines changed

6 files changed

+9
-25
lines changed

src/locales/languages/ar.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
"common.language.name": "اللغة",
3636
"common.language.placeholder": "اختر اللغة",
37-
"common.language.zh-CN": "الصينية",
38-
"common.language.zh-TW": "الصينية التقليدية",
39-
"common.language.en-US": "الإنجليزية",
40-
"common.language.ru-RU": "الروسية",
4137

4238
"time.update": "وقت التحديث",
4339
"time.unit.month": "شهر",
@@ -437,7 +433,7 @@
437433
"preferences.camera.camera-fps.name": "معدل إطارات الكاميرا",
438434
"preferences.camera.camera-fps.placeholder": "معدل إطارات كاميرا الجهاز",
439435

440-
"about.name": "حول Escrcpy",
436+
"about.name": "حول",
441437
"about.description": "📱 عرض جهاز الأندرويد الخاص بك والتحكم فيه بشكل مرئي باستخدام scrcpy، من خلال الأجهزة التي تدعم تقنية Electron.",
442438
"about.update": "التحقق من وجود تحديثات",
443439
"about.update-not-available": "الإصدار الأحدث بالفعل",

src/locales/languages/en-US.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
"common.language.name": "Language",
3636
"common.language.placeholder": "Select language",
37-
"common.language.zh-CN": "中文",
38-
"common.language.zh-TW": "繁體中文",
39-
"common.language.en-US": "English",
40-
"common.language.ru-RU": "Русский",
4137

4238
"time.update": "Update Time",
4339
"time.unit.month": "month",

src/locales/languages/ru-RU.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
"common.language.name": "Язык",
3636
"common.language.placeholder": "Выберите язык",
37-
"common.language.zh-CN": "中文",
38-
"common.language.zh-TW": "繁體中文",
39-
"common.language.en-US": "English",
40-
"common.language.ru-RU": "Русский",
4137

4238
"time.update": "Время обновления",
4339
"time.unit.month": "месяц",

src/locales/languages/zh-CN.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
"common.language.name": "语言",
3636
"common.language.placeholder": "选择你需要的语言",
37-
"common.language.zh-CN": "中文",
38-
"common.language.zh-TW": "繁體中文",
39-
"common.language.en-US": "English",
40-
"common.language.ru-RU": "Русский",
4137

4238
"time.update": "更新时间",
4339
"time.unit.month": "",

src/locales/languages/zh-TW.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
"common.language.name": "語言",
3636
"common.language.placeholder": "選擇你要的語言",
37-
"common.language.zh-CN": "中文",
38-
"common.language.zh-TW": "繁體中文",
39-
"common.language.en-US": "English",
40-
"common.language.ru-RU": "Русский",
4137

4238
"time.update": "更新時間",
4339
"time.unit.month": "",

src/store/preference/model/common/index.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,25 @@ export default {
4040
placeholder: 'common.language.placeholder',
4141
options: [
4242
{
43-
label: 'common.language.zh-CN',
43+
label: '中文',
4444
value: 'zh-CN',
4545
},
4646
{
47-
label: 'common.language.zh-TW',
47+
label: '繁體中文',
4848
value: 'zh-TW',
4949
},
5050
{
51-
label: 'common.language.en-US',
51+
label: 'English',
5252
value: 'en-US',
5353
},
5454
{
55-
label: 'common.language.ru-RU',
55+
label: 'Русский',
5656
value: 'ru-RU',
5757
},
58+
{
59+
label: 'عربي',
60+
value: 'ar',
61+
},
5862
],
5963
},
6064
appCloseCode: {

0 commit comments

Comments
 (0)