Skip to content

Commit

Permalink
Adding arabic languag + shortcodes for ltr/rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmandourah committed Sep 28, 2023
1 parent 6a83762 commit 06d9e18
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
70 changes: 70 additions & 0 deletions i18n/ar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
global:
language: "AR"

article:
anchor_label: "رابط"
date: "{{ .Date }}"
date_updated: "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 }} view"
other: "{{ .Count }} views"
likes:
one: "{{ .Count }} like"
other: "{{ .Count }} likes"
part_of_series: "هذا المقال جزء من سلسلة."
part: "جزء"
this_article: "هذه المقالة"

author:
byline_title: "الناشر"

code:
copy: "نسخ"
copied: "تم النسخ"

error:
404_title: "هذه الصفحة غير موجودة :confused:"
404_error: "خطأ 404"
404_description: "يبدو أن الصفحة التي طلبتها غير موجودة."

footer:
dark_appearance: "التحويل الى المظهر الداكن"
light_appearance: "التحويل الى المظهر الفاتح"
powered_by: "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: "النشر على تويتر"

shortcode:
recent_articles: "تم النشر مؤخرا"

recent:
show_more: "قراءة المزيد"
3 changes: 3 additions & 0 deletions layouts/shortcodes/ltr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div dir="ltr" align="left">
{{ .Inner }}
</div>
3 changes: 3 additions & 0 deletions layouts/shortcodes/rtl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div dir="rtl" align="right">
{{ .Inner }}
</div>

0 comments on commit 06d9e18

Please sign in to comment.