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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user