i18n::get should accept a string_view rather than char*, simplifies calling.

This commit is contained in:
ITotalJustice
2025-05-03 12:59:04 +01:00
parent 164fec5b73
commit d95226f8c0
5 changed files with 12 additions and 11 deletions

View File

@@ -1588,7 +1588,7 @@ void App::DisplayAdvancedOptions(bool left_side) {
}
));
}
}, i18n::get(g_app->m_right_side_menu.Get().c_str())));
}, i18n::get(g_app->m_right_side_menu.Get())));
options->Add(std::make_shared<ui::SidebarEntryCallback>("Install options"_i18n, [left_side](){
App::DisplayInstallOptions(left_side);