John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
b1807938ad
Remove legacy langpacks.
2019-07-04 14:25:16 +02:00
John Preston
88b7387a40
Closed alpha version 1.7.8.1: Fix build for Xcode.
2019-06-22 22:42:30 +02:00
John Preston
6537e524b8
Fix build for GCC.
2019-06-21 11:06:52 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
edcd09c29f
Remove LangKey.
2019-06-21 11:06:51 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
d3ca6b96a1
Use tr:: instead of __generic.
2019-06-21 11:06:50 +02:00
John Preston
52e40cbc6e
Improve non-authed language switch.
2019-06-21 11:06:50 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
366413a0a6
Fix build in Xcode.
2019-06-21 11:06:48 +02:00
John Preston
7f96a185cf
Add rpl interface for Lang in tr:: namespace.
2019-06-21 11:06:48 +02:00
John Preston
0dddb7694f
Show transfer community button, set 2sv password.
2019-06-21 11:06:47 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03: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
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
95208267de
Fix applying langpacks from file.
2018-12-25 15:22:01 +04:00
John Preston
cf227490d7
Fix using of base langpack for custom languages.
2018-12-11 16:00:24 +04:00
John Preston
fb8eafab81
Fix migrating from legacy lang storage.
2018-11-20 19:38:39 +04:00
John Preston
be3e43e6cb
Confirm 2sv recovery email by code.
2018-11-20 19:38:39 +04:00
John Preston
93678a07a8
Use API-provided translations link.
2018-11-20 19:38:39 +04:00
John Preston
26b8515cb5
Improve languages box and language local storing.
...
Use current language native name instead of lng_language_name value.
2018-11-16 20:17:58 +04:00
John Preston
cf5bd31203
Suggest switch to even empty language.
2018-11-16 20:17:58 +04:00
John Preston
d0e48a02a1
Apply lang pack versions from config.
2018-11-16 20:17:58 +04:00
John Preston
48548e9303
Improve phrases for custom langpacks.
2018-11-16 20:17:58 +04:00
John Preston
5163905954
Add a Delete/Share menu for unofficial languages.
2018-11-16 20:17:58 +04:00
John Preston
6d65cf2382
Redesign languages box with a search filter.
2018-11-16 20:17:58 +04: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
3447aac940
Prefix client-side lang_code-s with #.
2018-11-04 15:51:39 +04:00
John Preston
d56a3d015b
Add more plural rules support.
2018-11-04 15:51:36 +04:00
John Preston
a11fb2816b
Use current language in change language box.
...
Fixes #5174 .
2018-09-21 13:49:13 +03:00
John Preston
b8b5ab6378
Improve native name phrases in passport.
...
Also auto-save *_name to *_name_latin for english countries.
2018-08-20 17:25:33 +03:00
John Preston
5b88f4d3d2
Update API scheme.
2018-08-20 17:25:06 +03:00
John Preston
bdab477040
Update API scheme to layer 84.
2018-08-11 22:03:34 +03:00
John Preston
73ce722147
Use separate month lang keys with and without day.
...
Fixes #4797 .
2018-06-06 12:38:44 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
ab797b4dff
Preprocess images before passport upload.
2018-06-03 23:16:38 +03:00
John Preston
67ea175fc6
Show choose file box over the passport panel.
2018-06-03 23:16:37 +03:00
John Preston
03b7a3ca2b
Handle errors when saving passport values.
2018-06-03 23:16:37 +03:00
John Preston
1e4cf4c466
Support correct Ukrainian plural rules.
2018-05-26 19:52:39 +03:00