2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Use tr:: instead of langFactory in box titles.

This commit is contained in:
John Preston
2019-06-18 17:00:55 +02:00
parent 8ed433cc01
commit d1d98c3bb1
66 changed files with 234 additions and 230 deletions

View File

@@ -71,7 +71,7 @@ ConfirmSwitchBox::ConfirmSwitchBox(
}
void ConfirmSwitchBox::prepare() {
setTitle(langFactory(lng_language_switch_title));
setTitle(tr::lng_language_switch_title());
const auto text = (_official
? lng_language_switch_about_official__rich
@@ -113,7 +113,7 @@ NotReadyBox::NotReadyBox(
}
void NotReadyBox::prepare() {
setTitle(langFactory(lng_language_not_ready_title));
setTitle(tr::lng_language_not_ready_title());
const auto text = lng_language_not_ready_about__rich(
lt_lang_name,