Searched refs:plurals (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-multiple-languages.md | 25 "plurals": { 41 "plurals": { 89 …| $tc | Function | 请见$tc参数说明 | 是 | 根据系统语言完成单复数替换:this.$tc('strings.plurals')<br/>定义资源的内容通过json… 104 <text>{{ $tc('strings.plurals', 0) }}</text> 106 <text>{{ $tc('strings.plurals', 1) }}</text> 108 <text>{{ $tc('strings.plurals', 2) }}</text> 110 <text>{{ $tc('strings.plurals', 6) }}</text> 112 <text>{{ $tc('strings.plurals', 50) }}</text> 114 <text>{{ $tc('strings.plurals', 100) }}</text>
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 861 res = plurals->Select(1); 863 res = plurals->Select(2); 865 res = plurals->Select(5); 873 delete plurals; 890 res = plurals->Select(1); 892 res = plurals->Select(2); 894 res = plurals->Select(5); 911 delete plurals; 936 res = plurals->Select(1); 948 delete plurals; [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-multiple-languages.md | 25 "plurals": { 41 "plurals": { 89 …ral forms based on the system language, for example, **this.$tc('strings.plurals')**.<br>The resou… 104 <text>{{ $tc('strings.plurals', 0) }}</text> 106 <text>{{ $tc('strings.plurals', 1) }}</text> 108 <text>{{ $tc('strings.plurals', 2) }}</text> 110 <text>{{ $tc('strings.plurals', 6) }}</text> 112 <text>{{ $tc('strings.plurals', 50) }}</text> 114 <text>{{ $tc('strings.plurals', 100) }}</text>
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 160 ListNode *plurals = nullptr; in GetPluralValue() local 163 int len = Split(value, delemeter, plurals); in GetPluralValue() 167 value = (defaultNum != 1) ? GetNode(plurals, 1) : GetNode(plurals, len); in GetPluralValue() 170 value = GetNode(plurals, len - index); in GetPluralValue() 173 if (plurals) { in GetPluralValue() 174 ClearNode(plurals); in GetPluralValue()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 880 auto plurals = ParseFileData(tempStr); in GetPlurals() local 882 if (plurals->IsValid() && plurals->Contains(key)) { in GetPlurals() 883 value = plurals->GetValue(key)->GetString(); in GetPlurals()
|
/ohos5.0/base/global/i18n_lite/ |
H A D | README.md | 86 Languages vary in how they handle plurals of nouns. For example, there can be "one apple" or "two a…
|