summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-11 14:18:40 +0200
committerGitHub <noreply@github.com>2016-10-11 14:18:40 +0200
commit295a1f3e36ce215b36f4f8948182fc8357961707 (patch)
treebef44bdbc1df2de85c7d19aabe93f85560c09b9e
parent30a66c8cb47ef785b08843b7051b2003ed907246 (diff)
parent7e302394b21ea16b2dce9c42d4431a180c4a58aa (diff)
Merge pull request #4834 from renedekat/patch-1
Updated list of words that aren't countable in is_countable() inflector helper
-rw-r--r--system/helpers/inflector_helper.php33
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',
)
);
}