[EGD-7813] Option Window titles localizations fix

Option Window titles localizations fix.
This commit is contained in:
Przemyslaw Brudny
2021-10-21 19:11:15 +02:00
committed by Przemysław Brudny
parent 8ad0a7d603
commit 7fbaf735ed
20 changed files with 68 additions and 38 deletions

View File

@@ -122,10 +122,9 @@ namespace app
[](ApplicationCommon *app, const std::string &name) {
return std::make_unique<gui::DialogYesNo>(app, name);
});
windowsFactory.attach(utils::translate("common_options_title"),
[](ApplicationCommon *app, const std::string &name) {
return std::make_unique<gui::OptionWindow>(app, name);
});
windowsFactory.attach(window::name::option_window, [](ApplicationCommon *app, const std::string &name) {
return std::make_unique<gui::OptionWindow>(app, name);
});
attachPopups({gui::popup::ID::Volume,
gui::popup::ID::Tethering,