-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <50027@hfz.com> Co-authored-by: plainheart <yhen@all-my-life.cn>
- Loading branch information
1 parent
52e4006
commit 0ffc94b
Showing
1 changed file
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/** | ||
* Language: Persian. | ||
*/ | ||
|
||
export default { | ||
time: { | ||
month: [ | ||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر', | ||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی' | ||
], | ||
monthAbbr: [ | ||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر', | ||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی' | ||
], | ||
dayOfWeek: [ | ||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' | ||
], | ||
dayOfWeekAbbr: [ | ||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' | ||
] | ||
}, | ||
legend: { | ||
selector: { | ||
all: 'همه', | ||
inverse: 'معکوس' | ||
} | ||
}, | ||
toolbox: { | ||
brush: { | ||
title: { | ||
rect: 'چهار ضلعی', | ||
polygon: 'چند ضلعی', | ||
lineX: 'افقی', | ||
lineY: 'عمودی', | ||
keep: 'قفل کردن', | ||
clear: 'پاک کردن' | ||
} | ||
}, | ||
dataView: { | ||
title: 'نمایش دادهها', | ||
lang: ['نمایش دادهها', 'خروج', 'بارگذاری مجدد'] | ||
}, | ||
dataZoom: { | ||
title: { | ||
zoom: 'بزرگنمایی', | ||
back: 'خروج از بزرگنمایی' | ||
} | ||
}, | ||
magicType: { | ||
title: { | ||
line: 'نمودار خطی', | ||
bar: 'نمودار میلهای', | ||
stack: 'پشته', | ||
tiled: 'کاشی' | ||
} | ||
}, | ||
restore: { | ||
title: 'بازگردانی' | ||
}, | ||
saveAsImage: { | ||
title: 'ذخیره تصویر', | ||
lang: ['راست کلیک برای ذخیره تصویر'] | ||
} | ||
}, | ||
series: { | ||
typeNames: { | ||
pie: 'نمودار دایرهای', | ||
bar: 'نمودار میلهای', | ||
line: 'نمودار خطی', | ||
scatter: 'طرح پراکنده', | ||
effectScatter: 'طرح پراکنده موج دار', | ||
radar: 'نمودار راداری', | ||
tree: 'درخت', | ||
treemap: 'نقشه درختی', | ||
boxplot: 'طرح جعبه', | ||
candlestick: 'شمعی', | ||
k: 'نمودار خطی k', | ||
heatmap: 'نقشه گرمایی', | ||
map: 'نقشه', | ||
parallel: 'نقشه مختصات موازی', | ||
lines: 'گراف خطی', | ||
graph: 'گراف ارتباط', | ||
sankey: 'دیاگرام سنکی', | ||
funnel: 'نمودار قیفی', | ||
gauge: 'اندازه گیر', | ||
pictorialBar: 'نوار تصویری', | ||
themeRiver: 'نقشه رودخانه رنگی', | ||
sunburst: 'آفتاب زدگی', | ||
custom: 'نمودار سفارشی', | ||
chart: 'نمودار' | ||
} | ||
}, | ||
aria: { | ||
general: { | ||
withTitle: 'نمودار مربوط به "{title}"', | ||
withoutTitle: 'این یک نمودار است' | ||
}, | ||
series: { | ||
single: { | ||
prefix: '', | ||
withName: 'با نوع {seriesType} و نام {seriesName}.', | ||
withoutName: 'با نوع {seriesType}.' | ||
}, | ||
multiple: { | ||
prefix: '. تشکیل شده از {seriesCount} سری.', | ||
withName: '{seriesId} سری نوعی از {seriesType} به نام {seriesName} است.', | ||
withoutName: 'سری {seriesId} نوعی از {seriesType} است.', | ||
separator: { | ||
middle: '', | ||
end: '' | ||
} | ||
} | ||
}, | ||
data: { | ||
allData: 'دیتای نمونه: ', | ||
partialData: 'اولین عنصر از {displayCnt}:', | ||
withName: 'مقدار {name}, {value} است', | ||
withoutName: '{value}', | ||
separator: { | ||
middle: ', ', | ||
end: '. ' | ||
} | ||
} | ||
} | ||
}; |