mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.7 KiB
1.7 KiB
title | description | nav_exclude | image |
---|---|---|---|
langPackStringPluralized | A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: langPackStringPluralized
A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
Attributes:
Name | Type | Required | Description |
---|---|---|---|
key | string | Yes | Localization key |
zero_value | string | Optional | Value for zero objects |
one_value | string | Optional | Value for one object |
two_value | string | Optional | Value for two objects |
few_value | string | Optional | Value for a few objects |
many_value | string | Optional | Value for many objects |
other_value | string | Yes | Default value |
Type: LangPackString
Example:
$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string'];