mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Use tr:: instead of lang().
This commit is contained in:
@@ -173,11 +173,11 @@ void AddSubsectionTitle(
|
||||
void FillMenu(Fn<void(Type)> showOther, MenuCallback addAction) {
|
||||
if (!Auth().supportMode()) {
|
||||
addAction(
|
||||
lang(lng_settings_information),
|
||||
tr::lng_settings_information(tr::now),
|
||||
[=] { showOther(Type::Information); });
|
||||
}
|
||||
addAction(
|
||||
lang(lng_settings_logout),
|
||||
tr::lng_settings_logout(tr::now),
|
||||
[=] { App::wnd()->onLogout(); });
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user