RadRussianRus
ce6c49daeb
[Branding] App name (language-dependent)
2024-02-15 15:13:46 +03:00
RadRussianRus
bf16aed6f3
[Core] Language system
...
Telegram Desktop uses static language system with code generation, which
requires almost full app rebuild on any string modification, no matter
how small it is.
Since Kotatogram is options-driven, static language system will slow the
development. This language system solves the problem by using JSON and
runtime string search instead.
2024-02-15 15:13:46 +03:00
John Preston
0e79bd3d12
Show nice padded code blocks.
2023-10-13 10:08:29 +04:00
John Preston
396c229a4d
Improve Ui::Text::String features.
2023-10-04 22:24:25 +04:00
John Preston
f3db7e636b
Implement channel stories views / reactions.
2023-09-22 09:43:32 +04:00
John Preston
b95ea28e12
Implement dates of who read your message list.
2023-03-07 08:42:29 +03:00
John Preston
1da635a5dd
Fix crash in cloud lang manager destructor.
2023-02-12 15:01:50 +04:00
John Preston
f5be551ff8
Add translation bar dropdown menu.
2023-02-02 22:12:32 +04:00
John Preston
442d0da5c1
Force autostart folder creation.
...
Also show an error if autostart couldn't be enabled.
Fixes #25608 .
2023-01-02 12:26:20 +04:00
Ilya Fedin
66093f0cb5
cTimeFormat/cDateFormat -> QLocale::ShortFormat
...
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
John Preston
34a2c5c8ce
Display topic name in chats list.
2022-11-02 16:39:13 +04:00
John Preston
fb0eee01f2
Closed alpha version 4.2.4.1.
2022-11-01 19:25:44 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
23rd
df125bac19
Removed Ui::ConfirmDontWarnBox.
2022-02-28 09:08:01 +03:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
John Preston
28f2c213f7
Remove app module. Support delayed quit by Cmd+Q on macOS.
2022-01-27 15:54:20 +03:00
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
23rd
3647241f71
Removed unused MTP::Error from callbacks on fail.
2021-11-30 17:37:07 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03: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
d29a1f5cd2
Refresh choose sticker animation data on lang update.
2021-08-31 20:47:08 +03:00
23rd
f7abd85761
Slightly optimized replacement in send action text.
2021-08-30 21:45:56 +03:00
23rd
436212bb88
Added animation of send action for stickers to middle of text.
2021-08-30 20:50:36 +03:00
John Preston
2d0bcf7dca
Resend non-authorization requests on main DC change.
2021-08-30 20:32:58 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
23rd
daa14466e5
Replaced observable in Lang::CloudManager with rpl.
2021-06-16 09:31:32 +03:00
John Preston
c360bb9da4
Use LOG/DEBUG_LOG from lib_base.
2021-04-20 16:42:43 +04:00
Ilya Fedin
508762cd2c
Use static QFileInfo::exists
2021-03-15 11:21:05 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
Sean Wei
212944d89c
Fix format
2020-07-02 11:32:17 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
6fc5e22882
Allow several accounts in Core::App.
2020-06-23 21:53:40 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
3b0bf7cb1e
Move some more widgets and effects.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00