23rd
0143d22a21
Split qt_adapters to separated files.
2022-01-26 10:33:28 +03:00
23rd
2af3770b29
Moved special text command for lang tags to td_lang.
2022-01-12 11:54:24 +03:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
John Preston
edcd09c29f
Remove LangKey.
2019-06-21 11:06:51 +02:00
John Preston
7f96a185cf
Add rpl interface for Lang in tr:: namespace.
2019-06-21 11:06:48 +02:00
John Preston
9a4fdb1530
Use only lt_count in langpacks.
2019-05-20 15:44:51 +03:00
23rd
dcd5aa83da
Fixed choosing of plural when number should be shortened.
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
162da089ec
Handle t.me/setlanguage links.
...
Also support custom langpacks with base langpacks.
2018-11-16 20:17:58 +04:00
John Preston
d56a3d015b
Add more plural rules support.
2018-11-04 15:51:36 +04:00
John Preston
1e4cf4c466
Support correct Ukrainian plural rules.
2018-05-26 19:52:39 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
8c04bed572
Display empty event log placeholder.
...
Also hide the filter button for now.
2017-06-30 09:21:43 +03:00
John Preston
4962fdf5ae
Add phrases and layout for all events in log.
2017-06-30 09:21:41 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +03:00
John Preston
2334ba1fe1
Use QString + Lang::Tag() instead of Lang::String.
2017-06-29 11:39:40 +03:00