From bde07bf9e7958e60e2c88b84b0ac34bf78e3e774 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 3 Jul 2016 11:41:56 -0700 Subject: [PATCH] http: Fix translations. --- UI/RemoteISOScreen.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/UI/RemoteISOScreen.cpp b/UI/RemoteISOScreen.cpp index 5bc0f2517..242649f81 100644 --- a/UI/RemoteISOScreen.cpp +++ b/UI/RemoteISOScreen.cpp @@ -164,7 +164,6 @@ void RemoteISOScreen::update(InputState &input) { } void RemoteISOScreen::CreateViews() { - I18NCategory *rp = GetI18NCategory("Reporting"); I18NCategory *di = GetI18NCategory("Dialog"); I18NCategory *sy = GetI18NCategory("System"); @@ -179,14 +178,14 @@ void RemoteISOScreen::CreateViews() { leftColumnItems->Add(new TextView(sy->T("RemoteISOWifi", "Note: Connect both devices to the same wifi"), new LinearLayoutParams(Margins(12, 5, 0, 5)))); rightColumnItems->SetSpacing(0.0f); - rightColumnItems->Add(new Choice(rp->T("Browse Games"))); + rightColumnItems->Add(new Choice(sy->T("Browse Games"))); ServerStatus status = RetrieveStatus(); if (status == ServerStatus::STOPPING) { - rightColumnItems->Add(new Choice(rp->T("Stopping..")))->SetDisabledPtr(&serverStopping_); + rightColumnItems->Add(new Choice(sy->T("Stopping..")))->SetDisabledPtr(&serverStopping_); } else if (status != ServerStatus::STOPPED) { - rightColumnItems->Add(new Choice(rp->T("Stop Sharing")))->OnClick.Handle(this, &RemoteISOScreen::HandleStopServer); + rightColumnItems->Add(new Choice(sy->T("Stop Sharing")))->OnClick.Handle(this, &RemoteISOScreen::HandleStopServer); } else { - rightColumnItems->Add(new Choice(rp->T("Share Games (Server)")))->OnClick.Handle(this, &RemoteISOScreen::HandleStartServer); + rightColumnItems->Add(new Choice(sy->T("Share Games (Server)")))->OnClick.Handle(this, &RemoteISOScreen::HandleStartServer); } rightColumnItems->Add(new Spacer(25.0));