kopia lustrzana https://github.com/shoelace-style/shoelace
33 wiersze
1.1 KiB
TypeScript
33 wiersze
1.1 KiB
TypeScript
import { registerTranslation } from '../utilities/localize';
|
|
import type { Translation } from '../utilities/localize';
|
|
|
|
const translation: Translation = {
|
|
$code: 'fa',
|
|
$name: 'فارسی',
|
|
$dir: 'rtl',
|
|
|
|
clearEntry: 'پاک کردن ورودی',
|
|
close: 'بستن',
|
|
copy: 'رونوشت',
|
|
numOptionsSelected: (num: number) => {
|
|
if (num === 0) return 'هیچ گزینه ای انتخاب نشده است';
|
|
if (num === 1) return '1 گزینه انتخاب شده است';
|
|
return `${num} گزینه انتخاب شده است`;
|
|
},
|
|
currentValue: 'مقدار فعلی',
|
|
hidePassword: 'پنهان کردن رمز',
|
|
loading: 'بارگذاری',
|
|
progress: 'پیشرفت',
|
|
remove: 'حذف',
|
|
resize: 'تغییر اندازه',
|
|
scrollToEnd: 'پیمایش به انتها',
|
|
scrollToStart: 'پیمایش به ابتدا',
|
|
selectAColorFromTheScreen: 'انتخاب یک رنگ از صفحه نمایش',
|
|
showPassword: 'نمایش رمز',
|
|
toggleColorFormat: 'تغییر قالب رنگ'
|
|
};
|
|
|
|
registerTranslation(translation);
|
|
|
|
export default translation;
|