Skip to content

Commit

Permalink
Add another reference link for the plural rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 7, 2014
1 parent a68b7b2 commit c5e32f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/I18n/PluralRules.php
Expand Up @@ -132,6 +132,7 @@ class PluralRules {
* @param int|float $n The number to apply the rules to.
* @return int The plural rule number that should be used.
* @link http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html
* @link https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#List_of_Plural_Rules
*/
public static function calculate($locale, $n) {
$locale = strtolower($locale);
Expand Down

0 comments on commit c5e32f2

Please sign in to comment.