From 7bfa07137085ce3dfa30da5aa3546309b368ce64 Mon Sep 17 00:00:00 2001 From: The Dax Date: Sat, 19 Oct 2013 23:56:04 -0400 Subject: [PATCH] Make the header and Control Visibility texts translatable. --- UI/TouchControlVisibilityScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/TouchControlVisibilityScreen.cpp b/UI/TouchControlVisibilityScreen.cpp index aea4d9445a..43e039802d 100644 --- a/UI/TouchControlVisibilityScreen.cpp +++ b/UI/TouchControlVisibilityScreen.cpp @@ -36,8 +36,8 @@ void TouchControlVisibilityScreen::CreateViews() { topBar->Add(new Choice("Toggle All"))->OnClick.Handle(this, &TouchControlVisibilityScreen::OnToggleAll); vert->Add(topBar); - - vert->Add(new ItemHeader("Touch Control Visibility")); + I18NCategory *co = GetI18NCategory("Control Mapping"); + vert->Add(new ItemHeader(co->T("Touch Control Visibility"))); const int cellSize = 400;