From b65e90e71d1cfba28c3294742a63b09fbcc7bd77 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 19 May 2014 23:43:59 +0200 Subject: [PATCH] Forgot to make translatable --- UI/ControlMappingScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/ControlMappingScreen.cpp b/UI/ControlMappingScreen.cpp index b291851e46..a826416b11 100644 --- a/UI/ControlMappingScreen.cpp +++ b/UI/ControlMappingScreen.cpp @@ -246,7 +246,8 @@ UI::EventReturn ControlMappingScreen::OnAutoConfigure(UI::EventParams ¶ms) { for (auto s : KeyMap::GetSeenPads()) { items.push_back(s); } - ListPopupScreen *autoConfList = new ListPopupScreen("Autoconfigure for device", items, -1); + I18NCategory *keyI18N = GetI18NCategory("KeyMapping"); + ListPopupScreen *autoConfList = new ListPopupScreen(keyI18N->T("Autoconfigure for device"), items, -1); screenManager()->push(autoConfList); return UI::EVENT_DONE; }