Commit Graph

59 Commits

Author SHA1 Message Date
levlam
d69251faba Get info about the chosen language pack if needed.
GitOrigin-RevId: 8a522ac1eabcb66d1e5fe2d85a617ae4c823f8bb
2019-07-11 04:22:17 +03:00
levlam
b59abdc9f7 Add td_api::searchEmojis.
GitOrigin-RevId: 01540620ce3e0d7e64cb1ec409774a003cfd42e9
2019-05-21 18:48:35 +03:00
levlam
c636408a7a Remove unneded mutable specifiers.
GitOrigin-RevId: 528550993874adb2ff29f9f88273339937919c8b
2019-03-20 21:13:45 +03:00
levlam
8476dd88af Update layer 91.
GitOrigin-RevId: 0374bd4e7e4aa9587dc5ceb6b3ecba4f09c03517
2019-03-10 21:30:15 +03:00
levlam
3d56c6dac0 Lowercase server language packs code.
GitOrigin-RevId: f1736814fb9d4f6960d6beb5cefebedbabe93183
2019-03-09 19:45:45 +03:00
levlam
5d8f7569b6 Add logging.
GitOrigin-RevId: c58fb67d9332f83a9c39ac8f3b02dc25beb98629
2019-02-25 21:55:45 +03:00
levlam
0e045bda6e Add td_api::synchronizeLanguagePack method.
GitOrigin-RevId: a5ebac7c658c30c0e760f0176cddf6424348c6e9
2019-02-23 20:27:14 +03:00
levlam
f32ed5c405 Add LanguagePackInfo.is_installed field.
GitOrigin-RevId: c32c51a4584ab98aae3b15a1f31cfd9bff268a79
2019-02-23 18:29:04 +03:00
levlam
54bf7287ec Language pack handling fixes.
GitOrigin-RevId: 0624dab4245208feef2e386479e75761acbe12bf
2019-02-12 06:28:14 +03:00
levlam
a919bfa358 Add td_api::getLanguagePackInfo.
GitOrigin-RevId: 39615978013653178881b584873e04a934fc95b0
2019-02-12 04:15:45 +03:00
levlam
b9b8c24717 Add td_api::addCustomServerLanguagePack method.
GitOrigin-RevId: b1c19ffddf8f0e8c89a602d217b0797f2df8b619
2019-02-11 21:53:10 +03:00
levlam
350e7fd6fc Support new languagePackInfo fields.
GitOrigin-RevId: ad99afe9694458448fddc84803a8beeb33a64a70
2019-02-11 20:57:35 +03:00
levlam
9995e9aa5b Base language pack support.
GitOrigin-RevId: 165941c5074e49f66e5f5aeded77ca0372a0ab3f
2019-02-11 03:45:09 +03:00
levlam
f67138815a Support new updateLangPackTooLong.
GitOrigin-RevId: a3707b2b9d763a0ad58e9e7201b67f7db81cbecc
2019-02-11 01:12:42 +03:00
levlam
a93ec0605e Update layer to 87.
GitOrigin-RevId: d3079f5c906d1fea79fca14e04a23cd05ee1ba3d
2019-01-29 03:13:15 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
eba52ebdad Return back creation of LanguageDatabase.
GitOrigin-RevId: cff2adc52e11c814f84a7b8075c2e558a5128a3c
2018-12-26 21:54:35 +03:00
Arseny Smirnov
427110b811 Minor
GitOrigin-RevId: fc78a152bf587172f9c06a3b6af2030fcc6a4976
2018-12-26 19:35:07 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
08f04112af Fix calling Localization methods before authorization.
GitOrigin-RevId: 49ab08469f8e67b788fdb8fbe8c28514dd85e488
2018-10-08 15:01:09 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
2b34a6befa Ignore invalid strings in the database.
GitOrigin-RevId: 46d75ea61a1ab03d2f9540f001652ff7c08cd44c
2018-09-07 19:12:48 +03:00
levlam
15856c0272 Local cache of language pack list.
GitOrigin-RevId: bb4e7cbbd82cee7367cfe60678782e0ff9563e1b
2018-09-04 15:01:08 +03:00
levlam
ad26781fbc Update language pack API.
GitOrigin-RevId: 252723bc424afb8e0eb3c1647198e302b23e10db
2018-09-04 04:29:26 +03:00
levlam
3022046858 Add td_api::editCustomLanguageInfo.
GitOrigin-RevId: df4919a0b4b781751be4f6eb60063ddd48560741
2018-08-31 20:18:12 +03:00
levlam
d8f66f8a8e Minor fixes.
GitOrigin-RevId: 01b7c4015a8a4ee30c06b977363889d38a65bfd4
2018-08-26 11:08:45 +03:00
levlam
d76734ea73 Fix warnings.
GitOrigin-RevId: 0ba63a483c0c765e5d4889275d0ac4598be12fd1
2018-08-24 16:16:13 +03:00
levlam
3c34179234 Add various sanity checks to language packs manager.
GitOrigin-RevId: c7fa6f88415bdefe4da589a33d28429f824d551c
2018-08-24 05:26:19 +03:00
levlam
a1436a11f2 Preload lanfuage pack after it was chosen, even it is empty.
GitOrigin-RevId: 57f32bbf230e7dae2d33c2a587ecceb4d0d8282e
2018-08-24 04:57:52 +03:00
levlam
bcadd6a459 Unite requests for getting full language pack.
GitOrigin-RevId: 401ccd4168f56c555af1a7827384395dcf906fc0
2018-08-24 04:53:14 +03:00
levlam
4238f28a19 Add td_api::getPreferredCountryLanguage.
GitOrigin-RevId: a7abb6ac1b702292216fdf046b07af92fce99d65
2018-08-24 01:02:59 +03:00
levlam
06d04c8652 Fix languagePackStringValueDeleted.
GitOrigin-RevId: 58e01c920bb8e6716974c8d5cd68e27c82ab0d03
2018-08-23 16:13:15 +03:00
levlam
e9db5b90b2 Renew language strings just after it is set.
GitOrigin-RevId: d1f65f9128a6fce8fe46f92f26eb403351f22bf3
2018-08-23 03:53:59 +03:00
levlam
3ac0116988 Calculate key count for each language.
GitOrigin-RevId: aad64d5cecb70f10e3a1cd013b58c7183ad67d31
2018-08-23 03:45:04 +03:00
levlam
0300c3387e Better td_api::languagePackString.
GitOrigin-RevId: 1d65914ecd09584ae58b3a57a9f59c5ecb34dea5
2018-08-23 00:29:26 +03:00
levlam
7e45ca25f7 Add td_api::setCustomLanguageString.
GitOrigin-RevId: 0f4b7a531bacd9ab8eae0b8da631fe53dbaf1c7c
2018-08-22 23:11:54 +03:00
levlam
c12ed8d9cc Improve logging.
GitOrigin-RevId: b361ebec579228514f4531465144d49aeb2cd7b5
2018-08-22 04:04:09 +03:00
levlam
74189f89a6 Fix saving custom languages to database.
GitOrigin-RevId: 45aed87e231b6646e72bfe03a53cfe81dc211510
2018-08-20 01:03:03 +03:00
levlam
208633bbce Update layer 85.
GitOrigin-RevId: 6a3346c14e35faa39bcbe9a47d1edd92f7ac1a34
2018-08-20 00:28:43 +03:00
levlam
ee8d7a94ec Return custom language packs in getLanguagePackInfo.
GitOrigin-RevId: 77ef71acb97f85b4bf71c8966d8c0200e4b122d3
2018-08-06 20:18:28 +03:00
levlam
7c145a412b Custom language packs support.
GitOrigin-RevId: e7f76319dae5be3e20f81b41a0226e5f96f91ba1
2018-08-06 17:22:22 +03:00
levlam
e691803f21 More robust check_language_code_name.
GitOrigin-RevId: 43576730594d92b63eddc6c5408126a8bdf0c1f1
2018-08-01 02:34:59 +03:00
levlam
bd726dd4a2 Fix warning.
GitOrigin-RevId: 37d3ab8ee20d5fd4dc1e0b832847bd7effb19ff3
2018-07-24 03:13:24 +03:00
levlam
4717e5529a Add td_api::getLanguagePackString.
GitOrigin-RevId: 37ee2203264bb78ed3de88c21350a99212d89c3e
2018-07-23 20:29:14 +03:00
levlam
5e12e43b06 Load language pack strings from database.
GitOrigin-RevId: 47048d4712b6259d17a1dbadeb7b722d5dbbe809
2018-07-23 14:45:31 +03:00
levlam
7c183449a8 Save language packs to database.
GitOrigin-RevId: 2c40013068881e3170821585c25d29edcc78528c
2018-07-22 20:22:19 +03:00
levlam
9b6382d5d0 Check language_pack and language_code for validness.
GitOrigin-RevId: bc4907a06f74af8bdda9e8bdec82e7a3ce788580
2018-07-22 03:29:48 +03:00
levlam
77f3b9d400 Save only SqliteDb in LanguageDatabase.
GitOrigin-RevId: 7bac17996ad17d9e895a4fb21ed41d53f77a8539
2018-07-22 01:59:13 +03:00
levlam
e8f4c31586 Open language database.
GitOrigin-RevId: 9765471da4bae835d7159ca90aa99106a251b654
2018-07-20 20:50:38 +03:00
levlam
92c04286e3 Add language_pack_database option.
GitOrigin-RevId: 99f4b3f75f396d5b25287f4a98bae2dfdda9df00
2018-07-20 16:15:19 +03:00