Translations: Fix missing context marker on Manual Hardware Fixes string

Fixes CTD when OSD messages print
This commit is contained in:
RedPanda4552 2023-06-20 13:54:52 -04:00 committed by refractionpcsx2
parent 6f6de13fd4
commit 0a58783a86
3 changed files with 13 additions and 3 deletions

View File

@ -3796,6 +3796,11 @@ You can adjust the blending level in Game Properties to improve
graphical quality, but this will increase system requirements.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/GameDatabase.cpp" line="912"/>
<source>Manual GS hardware renderer fixes are enabled, automatic fixes were not applied:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GameFixSettingsWidget</name>
@ -9108,6 +9113,11 @@ This action cannot be reversed, and you will lose any saves on the card.</source
<source>{}{} cheat patches</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/Patch.cpp" line="608"/>
<source>{} are active.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/Patch.cpp" line="613"/>
<source>No cheats or patches (widescreen, compatibility or others) are found / enabled.</source>

View File

@ -909,8 +909,8 @@ u32 GameDatabaseSchema::GameEntry::applyGSHardwareFixes(Pcsx2Config::GSOptions&
{
Host::AddKeyedOSDMessage("HWFixesWarning",
fmt::format(ICON_FA_MAGIC " {}\n{}",
TRANSLATE_SV("Manual GS hardware renderer fixes are enabled, automatic fixes were not applied:",
disabled_fixes)),
TRANSLATE_SV("GameDatabase", "Manual GS hardware renderer fixes are enabled, automatic fixes were not applied:"),
disabled_fixes),
Host::OSD_ERROR_DURATION);
}
else

View File

@ -605,7 +605,7 @@ void Patch::UpdateActivePatches(bool reload_enabled_list, bool verbose, bool ver
if (!message.empty())
{
Host::AddIconOSDMessage("LoadPatches", ICON_FA_FILE_CODE,
fmt::format(TRANSLATE_SV("{} are active.", message)), Host::OSD_INFO_DURATION);
fmt::format(TRANSLATE_SV("Patch", "{} are active."), message), Host::OSD_INFO_DURATION);
}
else
{