You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2024/09/02 01:35:00 UTC

(echarts) branch master updated: feat(i18n): add Persian(FA) translation (#20312)

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ffc94b16 feat(i18n): add Persian(FA) translation (#20312)
0ffc94b16 is described below

commit 0ffc94b168eddeda18bde4b7802f9607a568d137
Author: Mohammad <m....@gmail.com>
AuthorDate: Sun Sep 1 18:34:55 2024 -0700

    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 <50...@hfz.com>
    Co-authored-by: plainheart <yh...@all-my-life.cn>
---
 src/i18n/langFA.ts | 144 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 144 insertions(+)

diff --git a/src/i18n/langFA.ts b/src/i18n/langFA.ts
new file mode 100644
index 000000000..5d3616b55
--- /dev/null
+++ b/src/i18n/langFA.ts
@@ -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: '. '
+            }
+        }
+    }
+};


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org