Skip to content

Commit

Permalink
Issue #2236: Test the updated translations for ar_SA.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Mar 20, 2023
1 parent 7bb7472 commit 53416af
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/test/Layout/HumanReadableDataSize.t
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ my @Tests = (
},
{
Size => 2500,
Result => '2.4 KB',
Result => "\N{U+200E}2.4 كيلوبايت (KB)",
Language => 'ar_SA',
},
{
Expand All @@ -76,8 +76,9 @@ my @Tests = (
},
{
Size => 58626123,
Result => '55.9 MB',
Result => "\N{U+200E}55.9 ميغابايت (MB)",
Language => 'ar_SA',
Todo => "translation should be update to say: (MB)",
},
{
Size => 34359738368,
Expand All @@ -94,7 +95,7 @@ my @Tests = (
},
{
Size => 64508675518,
Result => '60.1 GB',
Result => "\N{U+200E}60.1 غيغابايت (GB)",
Language => 'ar_SA',
},
{
Expand All @@ -112,7 +113,7 @@ my @Tests = (
},
{
Size => 498870572100000,
Result => '453.7 TB',
Result => "\N{U+200E}453.7 تيرابايت (TB)",
Language => 'ar_SA',
},
);
Expand All @@ -139,6 +140,8 @@ for my $Test (@Tests) {
Size => $Test->{Size},
);

my $Todo = defined $Test->{Todo} ? todo( $Test->{Todo} ) : undef;

is(
$Result,
$Test->{Result},
Expand Down

0 comments on commit 53416af

Please sign in to comment.