SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/config/inflector.php

  1. <?php
  2. /*
  3.  * kate: tab-width 4; indent-width 4; space-indent on; word-wrap off; word-wrap-column 120;
  4.  * :tabSize=4:indentSize=4:noTabs=true:wrap=false:maxLineLen=120:mode=php:
  5.  *
  6.  * Copyright (C) 2016 Karmabunny Pty Ltd.
  7.  *
  8.  * This file is a part of SproutCMS.
  9.  *
  10.  * SproutCMS is free software: you can redistribute it and/or modify it under the terms
  11.  * of the GNU General Public License as published by the Free Software Foundation, either
  12.  * version 2 of the License, or (at your option) any later version.
  13.  *
  14.  * For more information, visit <http://getsproutcms.com>.
  15.  */
  16.  
  17.  
  18. $config['uncountable'] = array
  19. (
  20. 'access',
  21. 'advice',
  22. 'art',
  23. 'baggage',
  24. 'dances',
  25. 'equipment',
  26. 'fish',
  27. 'fuel',
  28. 'furniture',
  29. 'food',
  30. 'heat',
  31. 'honey',
  32. 'homework',
  33. 'impatience',
  34. 'information',
  35. 'knowledge',
  36. 'luggage',
  37. 'money',
  38. 'music',
  39. 'news',
  40. 'patience',
  41. 'progress',
  42. 'pollution',
  43. 'research',
  44. 'rice',
  45. 'sand',
  46. 'series',
  47. 'sheep',
  48. 'sms',
  49. 'species',
  50. 'staff',
  51. 'toothpaste',
  52. 'traffic',
  53. 'understanding',
  54. 'water',
  55. 'weather',
  56. 'work',
  57. );
  58.  
  59. $config['irregular'] = array
  60. (
  61. 'child' => 'children',
  62. 'clothes' => 'clothing',
  63. 'man' => 'men',
  64. 'movie' => 'movies',
  65. 'person' => 'people',
  66. 'woman' => 'women',
  67. 'mouse' => 'mice',
  68. 'goose' => 'geese',
  69. 'ox' => 'oxen',
  70. 'leaf' => 'leaves',
  71. 'course' => 'courses',
  72. 'size' => 'sizes',
  73. );
  74.