John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
9a4fdb1530
Use only lt_count in langpacks.
2019-05-20 15:44:51 +03:00
23rd
5901b42a83
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.
2019-05-20 15:44:51 +03:00
23rd
5d321f7c59
Moved generation of short string for large numbers in one place.
...
- Added new plural tag "kPluralShortTag".
- Added support of new plural tag to code generator.
- Removed FormatViewsCount from history_message.
- Removed FormatLargeNumber from history_media_poll.
- Added FormatCountToShort to lang_tag.
2019-05-20 15:44:51 +03:00
John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +04:00
John Preston
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
8708a001c7
Always display nice percent values.
...
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston
6f176803d4
Reload poll data each 30 seconds without update.
2018-12-24 21:03:53 +04:00
John Preston
57f2ae098f
Show exact option votes count in a tooltip.
...
Fixes #5505 .
2018-12-24 14:24:16 +04:00
John Preston
76c06923d5
Add ripple animation to poll voting.
2018-12-24 14:03:13 +04:00
John Preston
4d495b8d7c
Fix votes count in RTL languages.
2018-12-23 20:42:32 +04:00
John Preston
a142a2717c
Fix no votes label.
2018-12-23 20:37:32 +04:00
John Preston
93c8e9aa1f
Add poll vote sending animation.
2018-12-22 23:32:04 +04:00
John Preston
ac2dce4bb1
Fix polls percent display.
2018-12-22 22:48:25 +04:00
John Preston
f2e1d90c74
Add send vote / retract vote animation.
2018-12-22 22:36:00 +04:00
John Preston
8e28a229f2
Improve polls design.
2018-12-22 14:23:22 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00