mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added generation of string with decimal separated numbers.
- Added new plural tag "kPluralDecimalSeparationTag". - Added Lang::PluralType for default, shorted and decimal separated numbers. - Replaced members and votes count with decimal separated type.
This commit is contained in:
@@ -802,7 +802,7 @@ object_ptr<Ui::RpWidget> SetupChannelMembers(
|
||||
auto membersText = MembersCountValue(
|
||||
channel
|
||||
) | rpl::map([](int count) {
|
||||
return lng_chat_status_members(lt_count, count);
|
||||
return lng_chat_status_members_demical(lt_count_decimal, count);
|
||||
});
|
||||
auto membersCallback = [controller, channel] {
|
||||
controller->showSection(Info::Memento(
|
||||
|
Reference in New Issue
Block a user