Skip to content

Commit

Permalink
[.NET] Arabic DatePeriod support (#2622)
Browse files Browse the repository at this point in the history
* Arabic DatePeriod support

* Reverted unintentional changes to reference dates in specs

Co-authored-by: LionbridgeCS2 <[email protected]>
  • Loading branch information
aitelint and LionbridgeCS2 authored May 28, 2021
1 parent da22887 commit 22ed451
Show file tree
Hide file tree
Showing 8 changed files with 593 additions and 927 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ public static class NumbersDefinitions
{ @"القبل الأخير", @"-1" },
{ @"قبلا الأخي", @"-1" },
{ @"التالي", @"1" },
{ @"بعد التالي", @"2" },
{ @"قادم", @"1" },
{ @"قادمة", @"1" },
{ @"القادم", @"1" },
Expand Down Expand Up @@ -482,6 +483,7 @@ public static class NumbersDefinitions
{ @"القبل الأخير", @"current" },
{ @"الذي قبلا الأخي", @"end" },
{ @"التالي", @"current" },
{ @"بعد التالي", @"current" },
{ @"قادم", @"current" },
{ @"قادمة", @"current" },
{ @"القادم", @"current" },
Expand Down
165 changes: 87 additions & 78 deletions Patterns/Arabic/Arabic-DateTime.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Patterns/Arabic/Arabic-Numbers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ RelativeReferenceOffsetMap: !dictionary
القبل الأخير: -1
قبلا الأخي: -1
التالي: 1
بعد التالي: 2
قادم: 1
قادمة: 1
القادم: 1
Expand Down Expand Up @@ -665,6 +666,7 @@ RelativeReferenceRelativeToMap: !dictionary
القبل الأخير: current
الذي قبلا الأخي: end
التالي: current
بعد التالي: current
قادم: current
قادمة: current
القادم: current
Expand Down
Loading

0 comments on commit 22ed451

Please sign in to comment.