diff options
author | Andrey Andreev <narf@devilix.net> | 2016-10-11 14:18:40 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-10-11 14:19:26 +0200 |
commit | 727051267a83f6781745316ea4b749af09c8737f (patch) | |
tree | 63e14a1ab0396e94f2f9100b35f2c055c20ce0d4 /system | |
parent | 8dc32005f0364a07a0d472106e350826c651ea8d (diff) |
Merge pull request #4834 from renedekat/patch-1
Updated list of words that aren't countable in is_countable() inflector helper
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/inflector_helper.php | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php index c064d8de4..6dc3b5030 100644 --- a/system/helpers/inflector_helper.php +++ b/system/helpers/inflector_helper.php @@ -238,8 +238,37 @@ if ( ! function_exists('is_countable')) return ! in_array( strtolower($word), array( - 'equipment', 'information', 'rice', 'money', - 'species', 'series', 'fish', 'meta' + 'audio', + 'bison', + 'chassis', + 'compensation', + 'coreopsis', + 'data', + 'deer', + 'education', + 'emoji', + 'equipment', + 'fish', + 'furniture', + 'gold', + 'information', + 'knowledge', + 'love', + 'rain', + 'money', + 'moose', + 'nutrition', + 'offspring', + 'plankton', + 'pokemon', + 'police', + 'rice', + 'series', + 'sheep', + 'species', + 'swine', + 'traffic', + 'wheat', ) ); } |