summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorftwbzhao <b.zhao1@gmail.com>2015-04-14 10:59:44 +0200
committerftwbzhao <b.zhao1@gmail.com>2015-04-14 10:59:44 +0200
commit1a973c31f7ed13b8edb70026b3b1a064f5f4fba7 (patch)
treede9b129114205d8592b477e30c1f6a5f101b9f42 /system
parentebfc48a9ee05dbd96a372894ab65f6287fe6c398 (diff)
[helper]update plural regular
Diffstat (limited to 'system')
-rw-r--r--system/helpers/inflector_helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
index d8ed45df9..f2890059f 100644
--- a/system/helpers/inflector_helper.php
+++ b/system/helpers/inflector_helper.php
@@ -133,6 +133,7 @@ if ( ! function_exists('plural'))
}
$plural_rules = array(
+ '/(quiz)$/' => '\1zes', // quizzes
'/^(ox)$/' => '\1\2en', // ox
'/([m|l])ouse$/' => '\1ice', // mouse, louse
'/(matr|vert|ind)ix|ex$/' => '\1ices', // matrix, vertex, index