[Misc]: Fixed some localized strings.

This commit is contained in:
JerryALT 2024-03-26 09:27:05 +03:00
parent c1a0778da7
commit 213df18145
2 changed files with 16 additions and 11 deletions

View File

@ -16,10 +16,14 @@ namespace Components
const char* languageName = Game::SEH_GetLanguageName(Dvars::Functions::Dvar_FindVar("loc_language")->current.unsignedInt); const char* languageName = Game::SEH_GetLanguageName(Dvars::Functions::Dvar_FindVar("loc_language")->current.unsignedInt);
LocalizedStrings::Set("IW3SP_MOD_LOC_PLATFORM_UI_SELECTBUTTON_XBOX", "^\x01\x32\x32\x0E""button_xbox_01");
LocalizedStrings::Set("IW3SP_MOD_LOC_PLATFORM_UI_SELECTBUTTON_SONY", "^\x01\x32\x32\x0E""button_sony_01");
if (!strcmp(languageName, "english")) if (!strcmp(languageName, "english"))
{ {
LocalizedStrings::Set("MENU_LAUNCH_WITHOUT_MODS", "Launch without Mods"); LocalizedStrings::Set("MENU_LAUNCH_WITHOUT_MODS", "Launch without Mods");
LocalizedStrings::Set("SUBTITLE_AIRLIFT_MHP_MAKINGARUN31", "^2Outlaw Two-Five: ^7Command this is Outlaw Two-Five. Infantry is making a run for it. We are clear to land, over."); LocalizedStrings::Set("SUBTITLE_AIRLIFT_MHP_MAKINGARUN31", "^2Outlaw Two-Five: ^7Command this is Outlaw Two-Five. Infantry is making a run for it. We are clear to land, over.");
LocalizedStrings::Set("SUBTITLE_AIRLIFT_HQR_ENROUTE34", "^2Outlaw Two-Five: ^7Roger that command. Outlaw Two-Five is en route.");
LocalizedStrings::Set("SUBTITLE_AIRLIFT_MHP_SMALLARMSFIRE93", "^2Outlaw Two-Five: ^7Command, I have a visual on the crash site. I see small arms fire coming from the cockpit. Request permission to initiate search and rescue, over."); LocalizedStrings::Set("SUBTITLE_AIRLIFT_MHP_SMALLARMSFIRE93", "^2Outlaw Two-Five: ^7Command, I have a visual on the crash site. I see small arms fire coming from the cockpit. Request permission to initiate search and rescue, over.");
LocalizedStrings::Set("SUBTITLE_AIRPLANE_SAS4_ARMEDBOMB14", "^2Charlie One-One: ^7Shit, someone's armed the bomb. We don't have much time. We've got to go - now."); LocalizedStrings::Set("SUBTITLE_AIRPLANE_SAS4_ARMEDBOMB14", "^2Charlie One-One: ^7Shit, someone's armed the bomb. We don't have much time. We've got to go - now.");
LocalizedStrings::Set("SUBTITLE_AMBUSH_GAZ_DROPGUN82", "^2Gaz: ^7Drop the bloody gun! Now, drop it!"); LocalizedStrings::Set("SUBTITLE_AMBUSH_GAZ_DROPGUN82", "^2Gaz: ^7Drop the bloody gun! Now, drop it!");
@ -38,6 +42,7 @@ namespace Components
else if (!strcmp(languageName, "german")) else if (!strcmp(languageName, "german"))
{ {
LocalizedStrings::Set("MENU_RUSSIAN", "Russisch"); LocalizedStrings::Set("MENU_RUSSIAN", "Russisch");
LocalizedStrings::Set("SUBTITLE_CARGOSHIP_GRG_ROGERTHAT213", "^2Gaz: ^7Kapiert.");
LocalizedStrings::Set("KILLHOUSE_ACCURACY_BONUS", "Präzisionsbonus: -"); LocalizedStrings::Set("KILLHOUSE_ACCURACY_BONUS", "Präzisionsbonus: -");
LocalizedStrings::Set("KILLHOUSE_ACCURACY_BONUS_ZERO", "Präzisionsbonus: -0.0"); LocalizedStrings::Set("KILLHOUSE_ACCURACY_BONUS_ZERO", "Präzisionsbonus: -0.0");
return; return;