Skip to content

Commit

Permalink
L10N handler patch.
Browse files Browse the repository at this point in the history
Be less wordy.
  • Loading branch information
Maikuolan committed Feb 23, 2023
1 parent 24f4ac5 commit 16f500c
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions src/L10N.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,8 @@ private function fraction2Type2(float $Fraction): int
}

/**
* Attempts to automatically determine an appropriate integer rule to use
* based upon the specified ISO 639-1/639-2 language code (the former
* preferred, the latter used if the former isn't available).
* Determine an appropriate integer rule to use based upon the specified
* ISO 639-1/639-2 language code.
* @link https://www.loc.gov/standards/iso639-2/php/code_list.php
* @link https://cldr.unicode.org/index/cldr-spec/plural-rules
* @link https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
Expand Down Expand Up @@ -994,12 +993,8 @@ public function getIntegerRule(string $Code): string
}

/**
* Attempts to automatically determine an appropriate fraction rule to use
* based upon the specified ISO 639-1/639-2 language code (the former
* preferred, the latter used if the former isn't available).
* @link https://www.loc.gov/standards/iso639-2/php/code_list.php
* @link https://cldr.unicode.org/index/cldr-spec/plural-rules
* @link https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
* Determine an appropriate fraction rule to use based upon the specified
* ISO 639-1/639-2 language code.
*
* @param string $Code An ISO 639-1/639-2 language code.
* @return string An appropriate fraction rule to use.
Expand Down Expand Up @@ -1029,12 +1024,7 @@ public function getFractionRule(string $Code): string
}

/**
* Attempts to automatically determine the directionality of the specified
* ISO 639-1/639-2 language code (the former preferred, the latter used if
* the former isn't available).
* @link https://www.loc.gov/standards/iso639-2/php/code_list.php
* @link https://cldr.unicode.org/index/cldr-spec/plural-rules
* @link https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
* Determine the directionality for the specified ISO 639-1/639-2 language code.
*
* @param string $Code An ISO 639-1/639-2 language code.
* @return string The directionality (either ltr or rtl).
Expand Down

0 comments on commit 16f500c

Please sign in to comment.