From 61be3785d3022c0cf139ae432deff58cd35e6446 Mon Sep 17 00:00:00 2001 From: vnctdj <3978690+vnctdj@users.noreply.github.com> Date: Sun, 28 Oct 2018 15:58:13 +0100 Subject: [PATCH] Make more lines translatable in credits Fixes https://github.com/hrydgard/ppsspp/issues/11499 --- UI/MiscScreens.cpp | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp index 1f3b66d0e6..74bb4cfc5f 100644 --- a/UI/MiscScreens.cpp +++ b/UI/MiscScreens.cpp @@ -611,6 +611,28 @@ void CreditsScreen::render() { I18NCategory *cr = GetI18NCategory("PSPCredits"); + std::string specialthanksMaxim = "Maxim "; + specialthanksMaxim += cr->T("specialthanksMaxim", "for his amazing Atrac3+ decoder work"); + + std::string specialthanksKeithGalocy = "Keith Galocy "; + specialthanksKeithGalocy += cr->T("specialthanksKeithGalocy", "at NVIDIA (hardware, advice)"); + + std::string specialthanksOrphis = "Orphis ("; + specialthanksOrphis += cr->T("build server"); + specialthanksOrphis += ')'; + + std::string specialthanksangelxwind = "angelxwind ("; + specialthanksangelxwind += cr->T("iOS builds"); + specialthanksangelxwind += ')'; + + std::string specialthanksW_MS = "W.MS ("; + specialthanksW_MS += cr->T("iOS builds"); + specialthanksW_MS += ')'; + + std::string specialthankssolarmystic = "solarmystic ("; + specialthankssolarmystic += cr->T("testing"); + specialthankssolarmystic += ')'; + const char * credits[] = { "PPSSPP", "", @@ -664,13 +686,13 @@ void CreditsScreen::render() { "zminhquanz", "", cr->T("specialthanks", "Special thanks to:"), - "Maxim for his amazing Atrac3+ decoder work", - "Keith Galocy at nVidia (hw, advice)", - "Orphis (build server)", - "angelxwind (iOS builds)", - "W.MS (iOS builds)", - "solarmystic (testing)", - "all the forum mods", + specialthanksMaxim.c_str(), + specialthanksKeithGalocy.c_str(), + specialthanksOrphis.c_str(), + specialthanksangelxwind.c_str(), + specialthanksW_MS.c_str(), + specialthankssolarmystic.c_str(), + cr->T("all the forum mods"), "", cr->T("this translation by", ""), // Empty string as this is the original :) cr->T("translators1", ""),