Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions package.nls.ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"command.activateIcons": "Material Icons: تفعيل سمة الأيقونات",
"command.toggleIconPacks": "Material Icons: إعداد حزم الأيقونات",
"command.changeFolderTheme": "Material Icons: تغيير سمة المجلد",
"command.changeFolderColor": "Material Icons: تغيير لون المجلد",
"command.changeRootFolderColor": "Material Icons: تغيير لون المجلد الرئيسي",
"command.changeFileColor": "Material Icons: تغيير لون الملف",
"command.restoreDefaultConfig": "Material Icons: استعادة الإعدادات الافتراضية",
"command.toggleExplorerArrows": "Material Icons: إظهار أو إخفاء أسهم المستكشف",
"command.changeOpacity": "Material Icons: تغيير شفافية الأيقونات",
"command.toggleGrayscale": "Material Icons: تشغيل أو إيقاف التدرج الرمادي",
"command.changeSaturation": "Material Icons: تغيير تشبع الألوان",
"configuration.title": "أيقونات Material",
"configuration.files.associations": "تعيين ارتباطات مخصصة لأيقونات الملفات.",
"configuration.folders.associations": "تعيين ارتباطات مخصصة لأيقونات المجلدات.",
"configuration.rootFolders.associations": "تعيين ارتباطات مخصصة لأيقونات المجلدات الرئيسية.",
"configuration.languages.associations": "تعيين ارتباطات مخصصة لأيقونات لغات البرمجة.",
"configuration.customClones": "استنساخ أيقونة موجودة وإنشاء أيقونة جديدة بألوان وارتباطات مخصصة",
"configuration.customClones.base": "الأيقونة المستخدمة كأساس لإنشاء الأيقونة المخصصة",
"configuration.customClones.name": "اسم الأيقونة المخصصة",
"configuration.customClones.color": "اللون المستخدم كأساس لإعادة تلوين الأيقونة",
"configuration.customClones.lightColor": "اللون المستخدم لإعادة التلوين عند استخدام السمة الفاتحة",
"configuration.customClones.fileNames": "أسماء الملفات المرتبطة بالأيقونة المخصصة",
"configuration.customClones.fileExtensions": "امتدادات الملفات المرتبطة بالأيقونة المخصصة",
"configuration.customClones.folderNames": "أسماء المجلدات المرتبطة بالأيقونة المخصصة",
"configuration.customClones.rootFolderNames": "أسماء المجلدات الرئيسية المرتبطة بالأيقونة المخصصة",
"configuration.customClones.ids": "معرفات اللغات المرتبطة بالأيقونة المخصصة",
"configuration.customClones.activeForPacks": "يتم إنشاء هذه النسخة فقط عندما تكون حزمة الأيقونات النشطة من بين هذه الحزم.",
"configuration.activeIconPack": "اختر حزمة الأيقونات التي تفعّل أيقونات محددة.",
"configuration.activeIconPack.angular": "أيقونات خاصة بـ Angular.",
"configuration.activeIconPack.angular_ngrx": "أيقونات خاصة بـ Angular و ngrx.",
"configuration.activeIconPack.react": "أيقونات خاصة بـ React.",
"configuration.activeIconPack.react_redux": "أيقونات خاصة بـ React و Redux.",
"configuration.activeIconPack.roblox": "أيقونات خاصة بـ Roblox.",
"configuration.activeIconPack.qwik": "أيقونات خاصة بـ Qwik.",
"configuration.activeIconPack.vue": "أيقونات خاصة بـ Vue.",
"configuration.activeIconPack.vue_vuex": "أيقونات خاصة بـ Vue و Vuex.",
"configuration.activeIconPack.nest": "أيقونات خاصة بـ NestJS.",
"configuration.activeIconPack.bashly": "أيقونات خاصة بـ Bashly.",
"configuration.activeIconPack.none": "لا توجد حزمة أيقونات مفعّلة.",
"configuration.folders.theme": "تحديد نوع أيقونات المجلد.",
"configuration.folders.theme.specific": "اختيار أيقونات مجلدات محددة.",
"configuration.folders.theme.classic": "اختيار أيقونات مجلدات كلاسيكية.",
"configuration.folders.theme.none": "بدون أيقونات للمجلدات.",
"configuration.folders.color": "تغيير لون أيقونات المجلدات.",
"configuration.rootFolders.color": "تغيير لون أيقونات المجلدات الرئيسية.",
"configuration.files.color": "تغيير لون أيقونات الملفات.",
"configuration.hidesExplorerArrows": "إخفاء أسهم المستكشف قبل المجلد.",
"configuration.opacity": "تغيير شفافية الأيقونات.",
"configuration.saturation": "تغيير تشبع الألوان.",
"configuration.enableLogging": "تفعيل تسجيل السجلات في قناة الإخراج.",
"configuration.logLevel": "تحديد مستوى السجل لرسائل الإخراج."
}
3 changes: 3 additions & 0 deletions src/core/i18n/translate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { get } from '../helpers/object';
import { logger } from '../logging/logger';
import type { Translation } from '../models/i18n/translation';
import { translation as langAr } from './translations/lang-ar';
import { translation as langCs } from './translations/lang-cs';
import { translation as langDe } from './translations/lang-de';
import { translation as langEn } from './translations/lang-en';
Expand Down Expand Up @@ -47,6 +48,8 @@ const loadTranslation = async (language: string) => {
/** Get the translation object of the separated translation files */
const getTranslationObject = async (language: string): Promise<Translation> => {
switch (language) {
case 'ar':
return langAr;
case 'cs':
return langCs;
case 'de':
Expand Down
45 changes: 45 additions & 0 deletions src/core/i18n/translations/lang-ar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import type { Translation } from '../../models/i18n/translation';

export const translation: Translation = {
activate: 'تفعيل',
activated: 'تم تفعيل Material Icon Theme.',
iconPacks: {
selectPack: 'اختر حزمة الأيقونات',
description: "اختر حزمة الأيقونات '%0'",
disabled: 'تعطيل حزم الأيقونات',
},
folders: {
toggleIcons: 'اختر سمة المجلد',
disabled: 'بدون أيقونات مجلدات',
theme: {
description: "اختر سمة المجلد '%0'",
},
},
colorSelect: {
color: 'اختر لونًا',
hexCode: 'أدخل كود لون HEX',
wrongHexCode: 'كود HEX غير صالح!',
},
opacity: {
inputPlaceholder: 'قيمة الشفافية (بين 0 و 1)',
wrongValue: 'يرجى إدخال رقم عشري بين 0 و 1.',
},
toggleSwitch: {
on: 'تشغيل',
off: 'إيقاف',
},
explorerArrows: {
toggle: 'تبديل أسهم المجلدات في المستكشف',
enable: 'إظهار أسهم المجلدات في المستكشف',
disable: 'إخفاء أسهم المجلدات في المستكشف',
},
grayscale: {
toggle: 'تبديل الأيقونات الرمادية',
enable: 'تفعيل الأيقونات الرمادية',
disable: 'تعطيل الأيقونات الرمادية',
},
saturation: {
inputPlaceholder: 'قيمة التشبع (بين 0 و 1)',
wrongValue: 'يرجى إدخال رقم عشري بين 0 و 1.',
},
};