Skip to content

Commit 0ffc94b

Browse files
Ayazadehayazadehplainheart
authored
feat(i18n): add Persian(FA) translation (#20312)
* feat(i18n): add persian(fa) language * Feat(i18n): add persian(fa) language * fix(i18n): move Persian(FA) translation to src/i18n --------- Co-authored-by: ayazadeh <[email protected]> Co-authored-by: plainheart <[email protected]>
1 parent 52e4006 commit 0ffc94b

File tree

1 file changed

+144
-0
lines changed

1 file changed

+144
-0
lines changed

src/i18n/langFA.ts

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
/**
21+
* Language: Persian.
22+
*/
23+
24+
export default {
25+
time: {
26+
month: [
27+
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
28+
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
29+
],
30+
monthAbbr: [
31+
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
32+
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
33+
],
34+
dayOfWeek: [
35+
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
36+
],
37+
dayOfWeekAbbr: [
38+
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
39+
]
40+
},
41+
legend: {
42+
selector: {
43+
all: 'همه',
44+
inverse: 'معکوس'
45+
}
46+
},
47+
toolbox: {
48+
brush: {
49+
title: {
50+
rect: 'چهار ضلعی',
51+
polygon: 'چند ضلعی',
52+
lineX: 'افقی',
53+
lineY: 'عمودی',
54+
keep: 'قفل کردن',
55+
clear: 'پاک کردن'
56+
}
57+
},
58+
dataView: {
59+
title: 'نمایش داده‌ها',
60+
lang: ['نمایش داده‌ها', 'خروج', 'بارگذاری مجدد']
61+
},
62+
dataZoom: {
63+
title: {
64+
zoom: 'بزرگنمایی',
65+
back: 'خروج از بزرگنمایی'
66+
}
67+
},
68+
magicType: {
69+
title: {
70+
line: 'نمودار خطی',
71+
bar: 'نمودار میله‌ای',
72+
stack: 'پشته',
73+
tiled: 'کاشی'
74+
}
75+
},
76+
restore: {
77+
title: 'بازگردانی'
78+
},
79+
saveAsImage: {
80+
title: 'ذخیره تصویر',
81+
lang: ['راست کلیک برای ذخیره تصویر']
82+
}
83+
},
84+
series: {
85+
typeNames: {
86+
pie: 'نمودار دایره‌ای',
87+
bar: 'نمودار میله‌ای',
88+
line: 'نمودار خطی',
89+
scatter: 'طرح پراکنده',
90+
effectScatter: 'طرح پراکنده موج دار',
91+
radar: 'نمودار راداری',
92+
tree: 'درخت',
93+
treemap: 'نقشه درختی',
94+
boxplot: 'طرح جعبه‌',
95+
candlestick: 'شمعی',
96+
k: 'نمودار خطی k',
97+
heatmap: 'نقشه گرمایی',
98+
map: 'نقشه',
99+
parallel: 'نقشه مختصات موازی',
100+
lines: 'گراف خطی',
101+
graph: 'گراف ارتباط',
102+
sankey: 'دیاگرام سنکی',
103+
funnel: 'نمودار قیفی',
104+
gauge: 'اندازه گیر',
105+
pictorialBar: 'نوار تصویری',
106+
themeRiver: 'نقشه رودخانه رنگی',
107+
sunburst: 'آفتاب زدگی',
108+
custom: 'نمودار سفارشی',
109+
chart: 'نمودار'
110+
}
111+
},
112+
aria: {
113+
general: {
114+
withTitle: 'نمودار مربوط به "{title}"',
115+
withoutTitle: 'این یک نمودار است'
116+
},
117+
series: {
118+
single: {
119+
prefix: '',
120+
withName: 'با نوع {seriesType} و نام {seriesName}.',
121+
withoutName: 'با نوع {seriesType}.'
122+
},
123+
multiple: {
124+
prefix: '. تشکیل شده از {seriesCount} سری.',
125+
withName: '{seriesId} سری نوعی از {seriesType} به نام {seriesName} است.',
126+
withoutName: 'سری {seriesId} نوعی از {seriesType} است.',
127+
separator: {
128+
middle: '',
129+
end: ''
130+
}
131+
}
132+
},
133+
data: {
134+
allData: 'دیتای نمونه: ',
135+
partialData: 'اولین عنصر از {displayCnt}:',
136+
withName: 'مقدار {name}, {value} است',
137+
withoutName: '{value}',
138+
separator: {
139+
middle: ', ',
140+
end: '. '
141+
}
142+
}
143+
}
144+
};

0 commit comments

Comments
 (0)