From 312a7c79efa6ad4ae620c94f41a97d203bf9a920 Mon Sep 17 00:00:00 2001 From: Moein Arabi Date: Sat, 20 Jul 2024 12:30:17 +0000 Subject: [PATCH 1/2] Add Persian language translation --- i18n/fa.yaml | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 i18n/fa.yaml diff --git a/i18n/fa.yaml b/i18n/fa.yaml new file mode 100644 index 00000000..9a9dcb9f --- /dev/null +++ b/i18n/fa.yaml @@ -0,0 +1,75 @@ +global: + language: "FA" + +article: + anchor_label: "لنگر" + date: "{{ .Date }}" + date_updated: "آخرین تغییر: {{ .Date }}" + draft: "پیش‌نویس" + edit_title: "ویرایش محتوا" + reading_time: + one: "{{ .Count }} دقیقه" + other: "{{ .Count }} دقیقه" + reading_time_title: "زمان مطالعه" + table_of_contents: "فهرست مطالب" + word_count: + one: "{{ .Count }} کلمه" + other: "{{ .Count }} کلمه" + views: + one: "{{ .Count }} بازدید" + other: "{{ .Count }} بازدید" + likes: + one: "{{ .Count }} لایک" + other: "{{ .Count }} لایک" + part_of_series: "این مقاله بخشی از یک مجموعه مقالات است." + part: "بخش" + this_article: "همین مقاله" + related_articles: "مقاله‌های مرتبط" + zen_mode_title: + enable: "فعال کردن حالت تمام متن" + disable: "غیر فعال کردن حالت تمام متن" + +author: + byline_title: "نویسنده" + +code: + copy: "کپی کردن" + copied: "کپی شد" + +error: + 404_title: "صفحه مورد نظر یافت نشد :confused:" + 404_error: "ارور 404" + 404_description: "به نظر می‌رسد صفحه‌ای که درخواست کرده‌اید وجود ندارد." + +footer: + dark_appearance: "حالت تاریک" + light_appearance: "حالت روشن" + powered_by: "قدرت گرفته از {{ .Hugo }} و {{ .Theme }}" + +list: + externalurl_title: "لینک به سایت خارجی" + no_articles: "هیچ مقاله‌ای برای نمایش وجود ندارد." + +nav: + scroll_to_top_title: "بازگشت به بالا" + skip_to_main: "رفتن به محتوای اصلی" + +search: + open_button_title: "جستجو (/)" + close_button_title: "بستن (Esc)" + input_placeholder: "جستجو" + +sharing: + email: "ارسال ایمیل" + facebook: "اشتراک گذاری در فیسبوک" + linkedin: "اشتراک گذاری در لینکداین" + pinterest: "اشتراک گذاری در پینترست" + reddit: "اشتراک گذاری در ردیت" + twitter: "اشتراک گذاری در توییتر" + bluesky: "اشتراک گذاری در بلواسکای" + +shortcode: + recent_articles: "مقاله‌های اخیر" + +recent: + show_more: "نمایش بیشتر" From 85194342eb898c718ab10ef9c7dc281d5a241205 Mon Sep 17 00:00:00 2001 From: Moein Arabi Date: Sat, 20 Jul 2024 12:41:25 +0000 Subject: [PATCH 2/2] Update docs --- exampleSite/content/docs/configuration/index.md | 1 + exampleSite/content/docs/welcome/index.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 7b3ce190..99a322fa 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -82,6 +82,7 @@ The theme currently supports the following languages by default: | Italian | `it` | | Japanese | `ja` | | Korean | `ko` | +| Persian | `fa` | | Polish | `pl` | | Portuguese (Brazil) | `pt-br` | | Portuguese (Portugal) | `pt-pt` | diff --git a/exampleSite/content/docs/welcome/index.md b/exampleSite/content/docs/welcome/index.md index 733600b5..4e97ffda 100644 --- a/exampleSite/content/docs/welcome/index.md +++ b/exampleSite/content/docs/welcome/index.md @@ -26,7 +26,7 @@ A highly requested feature, Blowfish is now multilingual! If you publish your co
:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:
-Thanks to submissions from the community, Blowfish has already been translated into [twenty-eight languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome! +Thanks to submissions from the community, Blowfish has already been translated into [twenty-nine languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome! ## RTL language support