Skip to content

Commit

Permalink
Updating names for Eid al-Fitr and Eid al-Adha holidays and some mino…
Browse files Browse the repository at this point in the history
…r formatting.
  • Loading branch information
Prateekshit73 committed Jan 2, 2025
1 parent 766161a commit 6ac9cee
Show file tree
Hide file tree
Showing 6 changed files with 806 additions and 686 deletions.
23 changes: 12 additions & 11 deletions holidays/countries/afghanistan.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _populate_public_holidays(self):
# Liberation Day.
self._add_holiday_feb_15(tr("روز آزادی"))

# Afghanistan's Independence Day.
# Afghanistan Independence Day.
self._add_holiday_aug_19(tr("روز استقلال افغانستان"))

if self._year <= 1996 or 2001 <= self._year <= 2020:
Expand All @@ -71,23 +71,24 @@ def _populate_public_holidays(self):
# Martyrs' Day.
self._add_holiday_sep_9(tr("روز شهیدان"))

if self._year >= 2001:
# First Day of Eid al-Fitr.
self._add_eid_al_fitr_day(tr("روز اول عید فطر"))
# Second Day of Eid al-Fitr.
self._add_eid_al_fitr_day_two(tr("روز دوم عید فطر"))
# Third Day of Eid al-Fitr.
self._add_eid_al_fitr_day_three(tr("سومین روز عید فطر"))
name = tr("عید فطر")
# First Day of Eid al-Fitr.
self._add_eid_al_fitr_day(name)
# Second Day of Eid al-Fitr.
self._add_eid_al_fitr_day_two(name)
# Third Day of Eid al-Fitr.
self._add_eid_al_fitr_day_three(name)

# Day of Arafah.
self._add_arafah_day(tr("روز عرفه"))

name = tr("عید قربانی")
# First Day of Eid al-Adha.
self._add_eid_al_adha_day(tr("اول روز عید قربان"))
self._add_eid_al_adha_day(name)
# Second Day of Eid al-Adha.
self._add_eid_al_adha_day_two(tr("روز دوم عید قربان"))
self._add_eid_al_adha_day_two(name)
# Third Day of Eid al-Adha.
self._add_eid_al_adha_day_three(tr("سومین روز عید قربان"))
self._add_eid_al_adha_day_three(name)

# Ashura.
self._add_ashura_day(tr("عاشورا"))
Expand Down
34 changes: 8 additions & 26 deletions holidays/locale/en_US/LC_MESSAGES/AF.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,6 @@ msgstr "Prophet's Birthday"
msgid "اول رمضان"
msgstr "First Day of Ramadan"

#. First Day of Eid al-Fitr.
msgid "روز اول عید فطر"
msgstr "First Day of Eid al-Fitr"

#. Second Day of Eid al-Fitr.
msgid "روز دوم عید فطر"
msgstr "Second Day of Eid al-Fitr"

#. Third Day of Eid al-Fitr.
msgid "سومین روز عید فطر"
msgstr "Third Day of Eid al-Fitr"

#. First Day of Eid al-Adha.
msgid "اول روز عید قربان"
msgstr "First Day of Eid al-Adha"

#. Second Day of Eid al-Adha.
msgid "روز دوم عید قربان"
msgstr "Second Day of Eid al-Adha"

#. Third Day of Eid al-Adha.
msgid "سومین روز عید قربان"
msgstr "Third Day of Eid al-Adha"

#. %s (estimated).
#, c-format
msgid "%s (برآورد شده)"
Expand All @@ -109,6 +85,12 @@ msgstr "Soviet Victory Day"
msgid "روز پیروزی مجاهدین"
msgstr "Mojahedin's Victory Day"

#. Afghanistan's Independence Day.
#. Afghanistan Independence Day.
msgid "روز استقلال افغانستان"
msgstr "Afghanistan's Independence Day"
msgstr "Afghanistan Independence Day"

msgid "عید فطر"
msgstr "Eid al-Fitr"

msgid "عید قربانی"
msgstr "Eid al-Adha"
50 changes: 25 additions & 25 deletions holidays/locale/fa/LC_MESSAGES/AF.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,6 @@ msgstr ""
msgid "اول رمضان"
msgstr ""

#. First Day of Eid al-Fitr.
msgid "روز اول عید فطر"
msgstr ""

#. Second Day of Eid al-Fitr.
msgid "روز دوم عید فطر"
msgstr ""

#. Third Day of Eid al-Fitr.
msgid "سومین روز عید فطر"
msgstr ""

#. First Day of Eid al-Adha.
msgid "اول روز عید قربان"
msgstr ""

#. Second Day of Eid al-Adha.
msgid "روز دوم عید قربان"
msgstr ""

#. Third Day of Eid al-Adha.
msgid "سومین روز عید قربان"
msgstr ""

#. %s (estimated).
#, c-format
msgid "%s (برآورد شده)"
Expand All @@ -109,9 +85,33 @@ msgstr ""
msgid "روز پیروزی مجاهدین"
msgstr ""

#. Afghanistan's Independence Day.
#. Afghanistan Independence Day.
msgid "روز استقلال افغانستان"
msgstr ""

msgid "عید فطر"
msgstr ""

msgid "عید قربانی"
msgstr ""

#~ msgid "روز اول عید فطر"
#~ msgstr ""

#~ msgid "روز دوم عید فطر"
#~ msgstr ""

#~ msgid "سومین روز عید فطر"
#~ msgstr ""

#~ msgid "اول روز عید قربان"
#~ msgstr ""

#~ msgid "روز دوم عید قربان"
#~ msgstr ""

#~ msgid "سومین روز عید قربان"
#~ msgstr ""

#~ msgid "روز استقلال"
#~ msgstr ""
32 changes: 7 additions & 25 deletions holidays/locale/ps_AF/LC_MESSAGES/AF.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,6 @@ msgstr "د پیغمبر الله صلی الله علیه وسلم د میلاد
msgid "اول رمضان"
msgstr "د روژې لومړۍ نیټه"

#. First Day of Eid al-Fitr.
msgid "روز اول عید فطر"
msgstr "د اختر لومړۍ ورځ"

#. Second Day of Eid al-Fitr.
msgid "روز دوم عید فطر"
msgstr "د اختر دوهمه ورځ"

#. Third Day of Eid al-Fitr.
msgid "سومین روز عید فطر"
msgstr "د اختر درېیمه ورځ"

#. First Day of Eid al-Adha.
msgid "اول روز عید قربان"
msgstr "د قربان لومړۍ ورځ"

#. Second Day of Eid al-Adha.
msgid "روز دوم عید قربان"
msgstr "د قربان دوهمه ورځ"

#. Third Day of Eid al-Adha.
msgid "سومین روز عید قربان"
msgstr "د قربان دریمه ورځ"

#. %s (estimated).
#, c-format
msgid "%s (برآورد شده)"
Expand All @@ -109,6 +85,12 @@ msgstr "د شوروی د بریالیتوب ورځ"
msgid "روز پیروزی مجاهدین"
msgstr "مجاهدو د بریا ورځ"

#. Afghanistan's Independence Day.
#. Afghanistan Independence Day.
msgid "روز استقلال افغانستان"
msgstr "د افغانستان د استقلال ورځ"

msgid "عید فطر"
msgstr "عید فطر"

msgid "عید قربانی"
msgstr "عید قربانی"
Loading

0 comments on commit 6ac9cee

Please sign in to comment.