diff options
| author | Matt Mayer <[email protected]> | 2023-03-15 00:47:36 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-14 18:47:36 +0100 |
| commit | c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40 (patch) | |
| tree | 8c2f7419e14be6b83471512d969d20efddc08702 /src/locales/ar | |
| parent | a0010900205ed8b1d1ba2adefe222c1cb41c1a70 (diff) | |
| download | faker-c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40.tar.xz faker-c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40.zip | |
refactor(date): remove duplicate context of date definitions (#1915)
Diffstat (limited to 'src/locales/ar')
| -rw-r--r-- | src/locales/ar/date/month.ts | 33 | ||||
| -rw-r--r-- | src/locales/ar/date/weekday.ts | 10 |
2 files changed, 1 insertions, 42 deletions
diff --git a/src/locales/ar/date/month.ts b/src/locales/ar/date/month.ts index 9da7bf76..af1a4357 100644 --- a/src/locales/ar/date/month.ts +++ b/src/locales/ar/date/month.ts @@ -13,22 +13,7 @@ export default { 'تِشْرِين ٱلثَّانِي', 'كَانُون ٱلْأَوَّل', ], - // Property "wide_context" is optional, if not set then "wide" will be used instead - // It is used to specify a word in context, which may differ from a stand-alone word - wide_context: [ - 'كَانُون ٱلثَّانِي', - 'شُبَاط', - 'آذَار', - 'نَيْسَان', - 'أَيَّار', - 'حَزِيرَان', - 'تَمُّوز', - 'آب', - 'أَيْلُول', - 'تِشْرِين ٱلْأَوَّل', - 'تِشْرِين ٱلثَّانِي', - 'كَانُون ٱلْأَوَّل', - ], + abbr: [ 'يناير', 'فبراير', @@ -43,20 +28,4 @@ export default { 'نوفمبر', 'ديسمبر', ], - // Property "abbr_context" is optional, if not set then "abbr" will be used instead - // It is used to specify a word in context, which may differ from a stand-alone word - abbr_context: [ - 'يناير', - 'فبراير', - 'مارس', - 'إبريل', - 'مايو', - 'يونيو', - 'يوليو', - 'أغسطس', - 'سبتمبر', - 'أكتوبر', - 'نوفمبر', - 'ديسمبر', - ], }; diff --git a/src/locales/ar/date/weekday.ts b/src/locales/ar/date/weekday.ts index 4d727c66..7493eff7 100644 --- a/src/locales/ar/date/weekday.ts +++ b/src/locales/ar/date/weekday.ts @@ -10,14 +10,4 @@ export default { 'الجمعة', 'السبت', ], - - wide_context: [ - 'الأحَد', - 'الإثنين', - 'الثلاثاء', - 'الأربعاء', - 'الخميس', - 'الجمعة', - 'السبت', - ], } as DateEntryDefinition; |
