Home
last modified time | relevance | path

Searched refs:plural_form (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/dports/devel/gtranslator/gtranslator-40.0/src/
H A Dgtr-language.c39 gchar *plural_form; member
71 gchar *plural_form = NULL; in load_plural_form() local
74 plural_form = g_key_file_get_string (plurals_file, "Plural Forms", lang->code, NULL); in load_plural_form()
76 if (plural_form != NULL && *plural_form != '\0') in load_plural_form()
78 lang->plural_form = plural_form; in load_plural_form()
85 plural_form = g_key_file_get_string (plurals_file, "Plural Forms", parts[0], NULL); in load_plural_form()
86 if (plural_form != NULL && *plural_form != '\0') in load_plural_form()
87 lang->plural_form = plural_form; in load_plural_form()
89 lang->plural_form = NULL; in load_plural_form()
191 return lang->plural_form; in gtr_language_get_plural_form()
H A Dgtr-languages-fetcher.c113 const gchar *plural_form; in append_from_languages() local
121 plural_form = gtr_language_get_plural_form (lang); in append_from_languages()
122 if (plural_form != NULL && *plural_form != '\0') in append_from_languages()
131 plural_form); in append_from_languages()
169 const gchar *plural_form; in fill_from_language_entry() local
170 plural_form = gtr_language_get_plural_form (lang); in fill_from_language_entry()
171 if (plural_form != NULL && *plural_form != '\0') in fill_from_language_entry()
200 const gchar *plural_form; in fill_from_language_code_entry() local
202 plural_form = gtr_language_get_plural_form (lang); in fill_from_language_code_entry()
204 if (plural_form != NULL && *plural_form != '\0') in fill_from_language_code_entry()
[all …]
/dports/www/py-horizon/horizon-19.2.0/horizon/utils/
H A Dbabel_extract_angular.py67 self.plural_form = ''
75 self.plural_form = ''
79 self.plural_form = value
128 if self.plural_form:
131 self.plural_form
/dports/www/firefox/firefox-99.0/third_party/python/compare_locales/compare_locales/
H A Dplurals.py208 plural_form = get_plural_rule(locale)
209 if plural_form is None:
211 return CATEGORIES_BY_INDEX[plural_form]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/compare_locales/compare_locales/
H A Dplurals.py206 plural_form = get_plural_rule(locale)
207 if plural_form is None:
209 return CATEGORIES_BY_INDEX[plural_form]
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/compare_locales/compare_locales/
H A Dplurals.py206 plural_form = get_plural_rule(locale)
207 if plural_form is None:
209 return CATEGORIES_BY_INDEX[plural_form]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/compare-locales/compare_locales/
H A Dplurals.py205 plural_form = get_plural_rule(locale)
206 if plural_form is None:
208 return CATEGORIES_BY_INDEX[plural_form]
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Component/Gettext/
H A DPoHeaderTest.php34 foreach ($expected as $number => $plural_form) {
36 …$this->assertEquals($result, $plural_form, 'Difference found at ' . $number . ': ' . $plural_form
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Component/Gettext/
H A DPoHeaderTest.php34 foreach ($expected as $number => $plural_form) {
36 …$this->assertEquals($result, $plural_form, 'Difference found at ' . $number . ': ' . $plural_form
/dports/devel/py-babel/Babel-2.9.1/babel/
H A Dunits.py124 plural_form = "one"
127 plural_form = locale.plural_form(value)
129 if plural_form in unit_patterns:
130 return unit_patterns[plural_form].format(formatted_value)
H A Dnumbers.py127 plural_form = loc.plural_form(count)
130 return plural_names[currency][plural_form]
180 plural_form = loc.plural_form(count)
182 return loc._data['currency_unit_patterns'][plural_form]
/dports/devel/py-babel/stage/usr/local/lib/python3.8/site-packages/babel/
H A Dunits.py124 plural_form = "one"
127 plural_form = locale.plural_form(value)
129 if plural_form in unit_patterns:
130 return unit_patterns[plural_form].format(formatted_value)
H A Dnumbers.py127 plural_form = loc.plural_form(count)
130 return plural_names[currency][plural_form]
180 plural_form = loc.plural_form(count)
182 return loc._data['currency_unit_patterns'][plural_form]
/dports/devel/py-babel/Babel-2.9.1/build/lib/babel/
H A Dunits.py124 plural_form = "one"
127 plural_form = locale.plural_form(value)
129 if plural_form in unit_patterns:
130 return unit_patterns[plural_form].format(formatted_value)
H A Dnumbers.py127 plural_form = loc.plural_form(count)
130 return plural_names[currency][plural_form]
180 plural_form = loc.plural_form(count)
182 return loc._data['currency_unit_patterns'][plural_form]
/dports/devel/elixir-gettext/gettext-0.15.0/src/
H A Dgettext_po_parser.yrl3 Terminals str msgid msgid_plural msgctxt msgstr plural_form comment.
40 msgstr plural_form strings : {'$2', '$3'}.
70 extract_plural_form({{plural_form, _Line, PluralForm}, String}) ->
/dports/devel/p5-App-SD/App-SD-0.75/lib/App/SD/CLI/Command/Ticket/
H A DReview.pm114 my $plural_form = $self->plural_noun( $property );
116 next unless $app_handle->database_settings->{$plural_form};
118 my @values = @{ $app_handle->setting( label => $plural_form )->get };
/dports/devel/py-babel/Babel-2.9.1/tests/
H A Dtest_core.py245 assert Locale('en').plural_form(1) == 'one'
246 assert Locale('en').plural_form(0) == 'other'
247 assert Locale('fr').plural_form(0) == 'one'
248 assert Locale('ru').plural_form(100) == 'many'
/dports/www/firefox-legacy/firefox-52.8.0esr/addon-sdk/source/python-lib/cuddlefish/
H A Dproperty_parser.py94 plural_form = m.group(2)
110 pairs[main_key][plural_form] = pairs[key]
/dports/devel/elixir-gettext/gettext-0.15.0/lib/gettext/po/
H A Dtokenizer.ex11 | {:plural_form, line, non_neg_integer}
99 {:ok, plural_form, rest} ->
100 # The order of the :plural_form and :msgstr tokens is inverted since
102 acc = [{:plural_form, line, plural_form}, {:msgstr, line} | acc]
/dports/x11/libfm-qt/libfm-qt-1.0.0/src/customactions/
H A Dfileactionprofile.cpp90 bool plural_form = FileActionObject::is_plural_exec(exec.get()); in launch() local
92 if(plural_form) { // plural form command, handle all files at a time in launch()
/dports/www/tidy-html5/tidy-html5-5.8.0/localize/
H A Dpoconvert.rb333 self.plural_form = nil
344 self.plural_form = match[2]
504 plural_form = array_item[2]
507 @known_locales[key][:plural_form] = plural_form
634 …ader_plural_forms = "Plural-Forms: nplurals=#{lang_en.plural_count}; plural=#{lang_en.plural_form}"
645 …ral_forms = "Plural-Forms: nplurals=#{lang_source.plural_count}; plural=#{lang_source.plural_form}"
/dports/devel/py-oslo.privsep/oslo.privsep-2.6.2/oslo_privsep/
H A D_i18n.py31 _P = _translators.plural_form
/dports/net/py-python-neutronclient/python-neutronclient-7.2.1/neutronclient/
H A D_i18n.py27 _P = _translators.plural_form
/dports/devel/py-oslo.upgradecheck/oslo.upgradecheck-1.4.0/oslo_upgradecheck/
H A D_i18n.py30 _P = _translators.plural_form

12345678910>>...13