/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/k8s.io/gengo/namer/ |
H A D | plural_namer.go | 56 var plural string 59 return r.finalize(plural) 67 plural = esPlural(singular) 71 plural = iesPlural(singular) 73 plural = sPlural(singular) 78 plural = esPlural(singular) 80 plural = sPlural(singular) 87 plural = sPlural(singular) 90 plural = vesPlural(singular) 92 plural = sPlural(singular) [all …]
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/tests/ |
H A D | plural-2 | 5 test -d plural-2-dir || mkdir plural-2-dir 6 test -d plural-2-dir/ll || mkdir plural-2-dir/ll 7 test -d plural-2-dir/ll/LC_MESSAGES || mkdir plural-2-dir/ll/LC_MESSAGES 9 cat <<EOF > plural-2.data 47 cat > plural-2-ll.po <<EOF 68 ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || Exit 1 70 LANGUAGE= TEXTDOMAIN=plural TEXTDOMAINDIR=plural-2-dir \ 80 done < plural-2.data
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/tests/ |
H A D | plural-2 | 5 test -d plural-2-dir || mkdir plural-2-dir 6 test -d plural-2-dir/ll || mkdir plural-2-dir/ll 7 test -d plural-2-dir/ll/LC_MESSAGES || mkdir plural-2-dir/ll/LC_MESSAGES 9 cat <<EOF > plural-2.data 47 cat > plural-2-ll.po <<EOF 68 ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || Exit 1 70 LANGUAGE= TEXTDOMAIN=plural TEXTDOMAINDIR=plural-2-dir \ 80 done < plural-2.data
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/tests/ |
H A D | plural-2 | 5 test -d plural-2-dir || mkdir plural-2-dir 6 test -d plural-2-dir/ll || mkdir plural-2-dir/ll 7 test -d plural-2-dir/ll/LC_MESSAGES || mkdir plural-2-dir/ll/LC_MESSAGES 9 cat <<EOF > plural-2.data 47 cat > plural-2-ll.po <<EOF 68 ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || Exit 1 70 LANGUAGE= TEXTDOMAIN=plural TEXTDOMAINDIR=plural-2-dir \ 80 done < plural-2.data
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/tests/ |
H A D | plural-2 | 5 test -d plural-2-dir || mkdir plural-2-dir 6 test -d plural-2-dir/ll || mkdir plural-2-dir/ll 7 test -d plural-2-dir/ll/LC_MESSAGES || mkdir plural-2-dir/ll/LC_MESSAGES 9 cat <<EOF > plural-2.data 47 cat > plural-2-ll.po <<EOF 68 ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || Exit 1 70 LANGUAGE= TEXTDOMAIN=plural TEXTDOMAINDIR=plural-2-dir \ 80 done < plural-2.data
|
/dports/games/meandmyshadow/meandmyshadow-0.5a/src/libs/tinygettext/ |
H A D | plural_forms.hpp | 40 PluralFunc plural; member in tinygettext::PluralFuncFunctor 42 PluralFuncFunctor(PluralFunc plural_) : plural(plural_) {} in PluralFuncFunctor() 51 std::shared_ptr<PluralFunctor> plural; member in tinygettext::PluralForms 58 plural(0) in PluralForms() 63 plural(new PluralFuncFunctor(plural_)) in PluralForms() 68 plural(plural_) in PluralForms() 72 unsigned int get_plural(int n) const { if (plural) return (*plural)(n); else return 0; } in get_plural() 74 …operator==(const PluralForms& other) { return nplural == other.nplural && plural == other.plural; } in operator ==() 78 return plural != NULL; in operator bool()
|
/dports/devel/py-inflection/inflection-0.5.1/inflection/ |
H A D | __init__.py | 105 r'\1' + plural[1:] 108 r"(?i)({}){}$".format(plural[0], plural[1:]), 112 r"(?i)({}){}$".format(plural[0], plural[1:]), 119 plural[0].upper() + plural[1:] 124 plural[0].lower() + plural[1:] 127 r"{}{}$".format(plural[0].upper(), caseinsensitive(plural[1:])), 128 plural[0].upper() + plural[1:] 131 r"{}{}$".format(plural[0].lower(), caseinsensitive(plural[1:])), 132 plural[0].lower() + plural[1:] 135 r"{}{}$".format(plural[0].upper(), caseinsensitive(plural[1:])), [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/command_lib/compute/os_config/ |
H A D | resource_args.py | 39 def CreatePatchJobResourceArg(verb, plural=False): argument 49 noun = 'Patch job' + ('s' if plural else '') 55 plural=plural, 59 def AddPatchJobResourceArg(parser, verb, plural=False): argument 68 verb, plural)]).AddToParser(parser) 84 def CreatePatchDeploymentResourceArg(verb, plural=False): argument 94 noun = 'Patch deployment' + ('s' if plural else '') 100 plural=plural, 104 def AddPatchDeploymentResourceArg(parser, verb, plural=False): argument 113 [CreatePatchDeploymentResourceArg(verb, plural)]).AddToParser(parser)
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/ |
H A D | Inflector.php | 43 private static $plural = array( variable in Doctrine\\Common\\Inflector\\Inflector 409 if (!isset(self::$plural['merged']['irregular'])) { 410 self::$plural['merged']['irregular'] = self::$plural['irregular']; 413 if (!isset(self::$plural['merged']['uninflected'])) { 414 …self::$plural['merged']['uninflected'] = array_merge(self::$plural['uninflected'], self::$uninflec… 417 if (!isset(self::$plural['cacheUninflected']) || !isset(self::$plural['cacheIrregular'])) { 418 …self::$plural['cacheUninflected'] = '(?:' . implode('|', self::$plural['merged']['uninflected']) .… 419 …self::$plural['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$plural['merged']['irreg… 428 if (preg_match('/^(' . self::$plural['cacheUninflected'] . ')$/i', $word, $regs)) { 434 foreach (self::$plural['rules'] as $rule => $replacement) { [all …]
|
/dports/www/bolt/bolt-2.2.24/vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/ |
H A D | Inflector.php | 43 private static $plural = array( variable in Doctrine\\Common\\Inflector\\Inflector 392 if (!isset(self::$plural['merged']['irregular'])) { 393 self::$plural['merged']['irregular'] = self::$plural['irregular']; 396 if (!isset(self::$plural['merged']['uninflected'])) { 397 …self::$plural['merged']['uninflected'] = array_merge(self::$plural['uninflected'], self::$uninflec… 400 if (!isset(self::$plural['cacheUninflected']) || !isset(self::$plural['cacheIrregular'])) { 401 …self::$plural['cacheUninflected'] = '(?:' . implode('|', self::$plural['merged']['uninflected']) .… 402 …self::$plural['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$plural['merged']['irreg… 411 if (preg_match('/^(' . self::$plural['cacheUninflected'] . ')$/i', $word, $regs)) { 417 foreach (self::$plural['rules'] as $rule => $replacement) { [all …]
|
/dports/finance/prestashop/prestashop/vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/ |
H A D | Inflector.php | 43 private static $plural = array( variable in Doctrine\\Common\\Inflector\\Inflector 402 if (!isset(self::$plural['merged']['irregular'])) { 403 self::$plural['merged']['irregular'] = self::$plural['irregular']; 406 if (!isset(self::$plural['merged']['uninflected'])) { 407 …self::$plural['merged']['uninflected'] = array_merge(self::$plural['uninflected'], self::$uninflec… 410 if (!isset(self::$plural['cacheUninflected']) || !isset(self::$plural['cacheIrregular'])) { 411 …self::$plural['cacheUninflected'] = '(?:' . implode('|', self::$plural['merged']['uninflected']) .… 412 …self::$plural['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$plural['merged']['irreg… 421 if (preg_match('/^(' . self::$plural['cacheUninflected'] . ')$/i', $word, $regs)) { 427 foreach (self::$plural['rules'] as $rule => $replacement) { [all …]
|
/dports/www/drupal8/drupal-8.9.20/vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/ |
H A D | Inflector.php | 43 private static $plural = array( variable in Doctrine\\Common\\Inflector\\Inflector 409 if (!isset(self::$plural['merged']['irregular'])) { 410 self::$plural['merged']['irregular'] = self::$plural['irregular']; 413 if (!isset(self::$plural['merged']['uninflected'])) { 414 …self::$plural['merged']['uninflected'] = array_merge(self::$plural['uninflected'], self::$uninflec… 417 if (!isset(self::$plural['cacheUninflected']) || !isset(self::$plural['cacheIrregular'])) { 418 …self::$plural['cacheUninflected'] = '(?:' . implode('|', self::$plural['merged']['uninflected']) .… 419 …self::$plural['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$plural['merged']['irreg… 428 if (preg_match('/^(' . self::$plural['cacheUninflected'] . ')$/i', $word, $regs)) { 434 foreach (self::$plural['rules'] as $rule => $replacement) { [all …]
|
/dports/devel/py-tartiflette/tartiflette-1.4.1/libgraphqlparser/ast/ |
H A D | cxx.py | 66 def field(self, type, name, nullable, plural): argument 99 if plural: 117 def ctor_arg(type, name, plural): argument 118 if plural: 123 print(',\n'.join(ctor_arg(type, name, plural) 126 def ctor_init(type, name, plural): argument 138 def _getter_type(self, type, nullable, plural): argument 139 if plural and nullable: 141 elif plural: 156 if plural and nullable: [all …]
|
/dports/devel/libgraphqlparser/libgraphqlparser-0.7.0/ast/ |
H A D | cxx.py | 65 def field(self, type, name, nullable, plural): argument 98 if plural: 116 def ctor_arg(type, name, plural): argument 117 if plural: 122 print(',\n'.join(ctor_arg(type, name, plural) 125 def ctor_init(type, name, plural): argument 137 def _getter_type(self, type, nullable, plural): argument 138 if plural and nullable: 140 elif plural: 155 if plural and nullable: [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/ |
H A D | I18N.hpp | 47 …r *s, const char *plural, unsigned int n) { return wxGetTranslation(wxString(s, wxCon… in translate() argument 48 …late(const wchar_t *s, const wchar_t *plural, unsigned int n) { return wxGetTranslation(s… in translate() argument 49 …g &s, const std::string &plural, unsigned int n) { return wxGetTranslation(wxString(s.c_str(), w… in translate() argument 50 …const std::wstring &s, const std::wstring &plural, unsigned int n) { return wxGetTranslation(s.c_s… in translate() argument 51 …ate(const wxString &s, const wxString &plural, unsigned int n) { return wxGetTranslation(s… in translate() argument 59 …late_utf8(const char *s, const char *plural, unsigned int n) { return translate(s, pl… in translate_utf8() argument 60 …te_utf8(const wchar_t *s, const wchar_t *plural, unsigned int n) { return translate(s, pl… in translate_utf8() argument 61 …e_utf8(const std::string &s, const std::string &plural, unsigned int n) { return translate(s, pl… in translate_utf8() argument 62 …e_utf8(const std::wstring &s, const std::wstring &plural, unsigned int n) { return translate(s, pl… in translate_utf8() argument 63 …e_utf8(const wxString &s, const wxString &plural, unsigned int n) { return translate(s, pl… in translate_utf8() argument [all …]
|
/dports/databases/vfront/vfront-0.96c/plugins/phpgettext/ |
H A D | gettext.inc.php | 218 function _ngettext($single, $plural, $number) { argument 221 return _encode($l10n->ngettext($single, $plural, $number)); 235 function _dngettext($domain, $single, $plural, $number) { argument 238 return _encode($l10n->ngettext($single, $plural, $number)); 288 function T_ngettext($single, $plural, $number) { argument 290 else return _ngettext($single, $plural, $number); 296 function T_dngettext($domain, $single, $plural, $number) { argument 329 function ngettext($single, $plural, $number) { argument 330 return _ngettext($single, $plural, $number); 335 function dngettext($domain, $single, $plural, $number) { argument [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/command_lib/composer/ |
H A D | resource_args.py | 80 plural=False, argument 101 noun = 'location' + ('s' if plural else '') 105 GetLocationResourceSpec(fallthroughs_enabled=not plural), 108 plural=plural).AddToParser(parser) 115 plural=False): argument 128 noun = 'environment' + ('s' if plural else '') 135 plural=plural).AddToParser(parser) 142 plural=False): argument 155 noun = 'operation' + ('s' if plural else '') 162 plural=plural).AddToParser(parser)
|
/dports/games/automuteus/automuteus-6.15.2/vendor/github.com/nicksnyder/go-i18n/v2/i18n/ |
H A D | message_template.go | 15 PluralTemplates map[plural.Form]*internal.Template 20 pluralTemplates := map[plural.Form]*internal.Template{} 21 setPluralTemplate(pluralTemplates, plural.Zero, m.Zero, m.LeftDelim, m.RightDelim) 22 setPluralTemplate(pluralTemplates, plural.One, m.One, m.LeftDelim, m.RightDelim) 23 setPluralTemplate(pluralTemplates, plural.Two, m.Two, m.LeftDelim, m.RightDelim) 24 setPluralTemplate(pluralTemplates, plural.Few, m.Few, m.LeftDelim, m.RightDelim) 25 setPluralTemplate(pluralTemplates, plural.Many, m.Many, m.LeftDelim, m.RightDelim) 26 setPluralTemplate(pluralTemplates, plural.Other, m.Other, m.LeftDelim, m.RightDelim) 36 func setPluralTemplate(pluralTemplates map[plural.Form]*internal.Template, pluralForm plural.Form, … 47 pluralForm plural.Form [all …]
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/gohugoio/go-i18n/v2/i18n/ |
H A D | message_template.go | 15 PluralTemplates map[plural.Form]*internal.Template 20 pluralTemplates := map[plural.Form]*internal.Template{} 21 setPluralTemplate(pluralTemplates, plural.Zero, m.Zero, m.LeftDelim, m.RightDelim) 22 setPluralTemplate(pluralTemplates, plural.One, m.One, m.LeftDelim, m.RightDelim) 23 setPluralTemplate(pluralTemplates, plural.Two, m.Two, m.LeftDelim, m.RightDelim) 24 setPluralTemplate(pluralTemplates, plural.Few, m.Few, m.LeftDelim, m.RightDelim) 25 setPluralTemplate(pluralTemplates, plural.Many, m.Many, m.LeftDelim, m.RightDelim) 26 setPluralTemplate(pluralTemplates, plural.Other, m.Other, m.LeftDelim, m.RightDelim) 36 func setPluralTemplate(pluralTemplates map[plural.Form]*internal.Template, pluralForm plural.Form, … 47 pluralForm plural.Form [all …]
|
/dports/www/joomla3/joomla3-3.9.24/libraries/vendor/joomla/string/src/ |
H A D | Inflector.php | 174 * @param string $plural A plural form of a word. 180 private function getCachedSingular($plural) argument 182 $plural = StringHelper::strtolower($plural); 184 return array_search($plural, $this->cache); 227 private function setCache($singular, $plural = null) argument 231 if ($plural === null) 233 $plural = $singular; 237 $plural = StringHelper::strtolower($plural); 240 $this->cache[$singular] = $plural; 269 public function addWord($singular, $plural =null) argument [all …]
|
/dports/www/joomla3/joomla3-3.9.24/libraries/fof/inflector/ |
H A D | inflector.php | 158 * @param string $plural word. 162 public static function addWord($singular, $plural) argument 164 static::$_cache['pluralized'][$singular] = $plural; 165 static::$_cache['singularized'][$plural] = $singular; 194 $plural = preg_replace($regexp, $replacement, $word, -1, $matches); 198 static::$_cache['pluralized'][$word] = $plural; 200 return $plural; 407 if ($singular && $plural) 409 return $plural != $string; 427 …$singular = $plural && isset(static::$_cache['singularized'][$plural]) ? static::$_cache['singular… [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/calliope/concepts/ |
H A D | deps.py | 78 self.plural = plural 103 if not self.plural or isinstance(value, list): 119 and other.plural == self.plural) 145 super(Fallthrough, self).__init__(hint, active=active, plural=plural) 160 def __init__(self, prop, plural=False): argument 171 super(PropertyFallthrough, self).__init__(hint, plural=plural) 193 def __init__(self, arg_name, plural=False): argument 204 active=True, plural=plural) 213 if not self.plural: 236 plural=False): argument [all …]
|
/dports/deskutils/egroupware/egroupware/vendor/gettext/gettext/src/ |
H A D | Translation.php | 14 protected $plural; variable in Gettext\\Translation 42 * @param string $plural The original plural string 47 return new static($context, $original, $plural); 62 $this->setPlural($plural); 208 * @param string $plural 212 public function setPlural($plural) argument 214 $this->plural = (string) $plural; 226 return $this->plural; 236 return ($this->plural !== '') ? true : false; 242 * @param array $plural [all …]
|
/dports/audio/ampache/ampache-php74-5.0.0/vendor/gettext/gettext/src/ |
H A D | Translation.php | 14 protected $plural; variable in Gettext\\Translation 42 * @param string $plural The original plural string 47 return new static($context, $original, $plural); 62 $this->setPlural($plural); 208 * @param string $plural 212 public function setPlural($plural) argument 214 $this->plural = (string) $plural; 226 return $this->plural; 236 return ($this->plural !== '') ? true : false; 242 * @param array $plural [all …]
|
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/k8s.io/apimachinery/pkg/api/meta/ |
H A D | restmapper.go | 206 ret = append(ret, plural) 209 if plural == resource { 210 ret = append(ret, plural) 222 ret = append(ret, plural) 226 ret = append(ret, plural) 238 ret = append(ret, plural) 250 ret = append(ret, plural) 252 if plural.Version == resource.Version && plural.Resource == resource.Resource { 253 ret = append(ret, plural) 260 ret = append(ret, plural) [all …]
|