Qt: Translation Fixes

This commit is contained in:
KamFretoZ 2024-02-02 17:36:14 +07:00 committed by refractionpcsx2
parent 88672dc38f
commit 8ae111add3
6 changed files with 70 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -8764,12 +8764,13 @@ Do you want to load this save and continue?</source>
</message>
<message>
<location filename="../../pcsx2/GS/Renderers/DX11/D3D.cpp" line="391"/>
<source>Your system has the &quot;OpenCL and OpenGL Compatibility Pack&quot; installed. This Vulkan driver crashes
PCSX2 on some GPUs. To use the Vulkan renderer, you should remove this app package.</source>
<source>Your system has the &quot;OpenCL, OpenGL, and Vulkan Compatibility Pack&quot; installed.
This Vulkan driver crashes PCSX2 on some GPUs.
To use the Vulkan renderer, you should remove this app package.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/GS/Renderers/DX11/D3D.cpp" line="411"/>
<location filename="../../pcsx2/GS/Renderers/DX11/D3D.cpp" line="412"/>
<source>The Vulkan renderer was automatically selected, but no compatible devices were found.
You should update all graphics drivers in your system, including any integrated GPUs
to use the Vulkan renderer.</source>
@ -8786,6 +8787,25 @@ PCSX2 on some GPUs. To use the Vulkan renderer, you should remove this app packa
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GSCapture</name>
<message>
<location filename="../../pcsx2/GS/GSCapture.cpp" line="283"/>
<source>Failed to load FFmpeg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/GS/GSCapture.cpp" line="284"/>
<source>You may be missing one or more files, or are using the incorrect version. This build of PCSX2 requires:
libavcodec: {}
libavformat: {}
libavutil: {}
libswscale: {}
libswresample: {}
</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GameCheatSettingsWidget</name>
<message>
@ -12637,6 +12657,31 @@ Swap chain: see Microsoft&apos;s Terminology Portal.</extracomment>
</context>
<context>
<name>ImGuiOverlays</name>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="628"/>
<source>{} Recording Input</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="632"/>
<source>{} Replaying</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="636"/>
<source>Input Recording Active: {}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="637"/>
<source>Frame: {}/{} ({})</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="638"/>
<source>Undo Count: {}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/ImGui/ImGuiOverlays.cpp" line="697"/>
<source>Saved at {0:%H:%M} on {0:%a} {0:%Y/%m/%d}.</source>
@ -16142,7 +16187,7 @@ Do you want to continue?</source>
</message>
<message>
<location filename="../SetupWizardDialog.ui" line="345"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;PCSX2 will automatically scan and identify games from the selected directories below, and populate the game list.&lt;br&gt;These games should be dumped from discs you own. Guides for dumping discs can be found at &lt;a href=&quot;https://pcsx2.net/docs/usage/setup/#dumping-ps2-discs-via-imgburn&quot;&gt;pcsx2.net&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Supported formats for dumps include:&lt;/p&gt;&lt;p&gt;&lt;ul&gt;&lt;li&gt;.bin/.iso (ISO Disc Images)&lt;/li&gt;&lt;li&gt;.mdf (Media Descriptor File)&lt;/li&gt;&lt;li&gt;.chd (Compressed Hunks of Data)&lt;/li&gt;&lt;li&gt;.cso (Compressed ISO)&lt;/li&gt;&lt;li&gt;.gz (Gzip Compressed ISO)&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;PCSX2 will automatically scan and identify games from the selected directories below, and populate the game list.&lt;br&gt;These games should be dumped from discs you own. Guides for dumping discs can be found at &lt;a href=&quot;https://pcsx2.net/docs/usage/setup/#dumping-ps2-discs-via-imgburn&quot;&gt;pcsx2.net&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Supported formats for dumps include:&lt;/p&gt;&lt;p&gt;&lt;ul&gt;&lt;li&gt;.bin/.iso (ISO Disc Images)&lt;/li&gt;&lt;li&gt;.mdf (Media Descriptor File)&lt;/li&gt;&lt;li&gt;.chd (Compressed Hunks of Data)&lt;/li&gt;&lt;li&gt;.cso (Compressed ISO)&lt;/li&gt;&lt;li&gt;.zso (Compressed ISO)&lt;/li&gt;&lt;li&gt;.gz (Gzip Compressed ISO)&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -16675,6 +16720,11 @@ Scanning recursively takes more time, but will identify files in subdirectories.
<source>Relative Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/USB/usb-lightgun/guncon2.cpp" line="603"/>
<source>Cursor Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../pcsx2/USB/usb-lightgun/guncon2.cpp" line="604"/>
<source>Sets the crosshair image that this lightgun will use. Setting a crosshair image will disable the system cursor.</source>

View File

@ -280,13 +280,13 @@ bool GSCapture::LoadFFmpeg(bool report_errors)
if (report_errors)
{
Host::ReportErrorAsync("Failed to load FFmpeg",
fmt::format("You may be missing one or more files, or are using the incorrect version. This build of PCSX2 requires:\n"
Host::ReportErrorAsync(TRANSLATE_SV("GSCapture","Failed to load FFmpeg"),
fmt::format(TRANSLATE_FS("GSCapture","You may be missing one or more files, or are using the incorrect version. This build of PCSX2 requires:\n"
" libavcodec: {}\n"
" libavformat: {}\n"
" libavutil: {}\n"
" libswscale: {}\n"
" libswresample: {}\n", LIBAVCODEC_VERSION_MAJOR, LIBAVFORMAT_VERSION_MAJOR, LIBAVUTIL_VERSION_MAJOR,
" libswresample: {}\n"), LIBAVCODEC_VERSION_MAJOR, LIBAVFORMAT_VERSION_MAJOR, LIBAVUTIL_VERSION_MAJOR,
LIBSWSCALE_VERSION_MAJOR, LIBSWRESAMPLE_VERSION_MAJOR));
}

View File

@ -389,8 +389,9 @@ GSRendererType D3D::GetPreferredRenderer()
{
Host::AddIconOSDMessage("VKDriverUnsupported", ICON_FA_TV,
TRANSLATE_STR("GS",
"Your system has the \"OpenCL and OpenGL Compatibility Pack\" installed. This Vulkan driver crashes\n"
"PCSX2 on some GPUs. To use the Vulkan renderer, you should remove this app package."),
"Your system has the \"OpenCL, OpenGL, and Vulkan Compatibility Pack\" installed.\n"
"This Vulkan driver crashes PCSX2 on some GPUs.\n"
"To use the Vulkan renderer, you should remove this app package."),
Host::OSD_WARNING_DURATION);
return true;
}

View File

@ -625,17 +625,17 @@ __ri void ImGuiManager::DrawInputRecordingOverlay(float& position_y, float scale
// Status Indicators
if (g_InputRecording.getControls().isRecording())
{
DRAW_LINE(standard_font, TinyString::from_fmt("{} Recording Input", ICON_FA_RECORDING).c_str(), IM_COL32(255, 0, 0, 255));
DRAW_LINE(standard_font, TinyString::from_fmt(TRANSLATE_FS("ImGuiOverlays","{} Recording Input"), ICON_FA_RECORDING).c_str(), IM_COL32(255, 0, 0, 255));
}
else
{
DRAW_LINE(standard_font, TinyString::from_fmt("{} Replaying", ICON_FA_PLAY).c_str(), IM_COL32(97, 240, 84, 255));
DRAW_LINE(standard_font, TinyString::from_fmt(TRANSLATE_FS("ImGuiOverlays","{} Replaying"), ICON_FA_PLAY).c_str(), IM_COL32(97, 240, 84, 255));
}
// Input Recording Metadata
DRAW_LINE(fixed_font, TinyString::from_fmt("Input Recording Active: {}", g_InputRecording.getData().getFilename()).c_str(), IM_COL32(117, 255, 241, 255));
DRAW_LINE(fixed_font, TinyString::from_fmt("Frame: {}/{} ({})", g_InputRecording.getFrameCounter() + 1, g_InputRecording.getData().getTotalFrames(),g_FrameCount).c_str(), IM_COL32(117, 255, 241, 255));
DRAW_LINE(fixed_font, TinyString::from_fmt("Undo Count: {}", g_InputRecording.getData().getUndoCount()).c_str(), IM_COL32(117, 255, 241, 255));
DRAW_LINE(fixed_font, TinyString::from_fmt(TRANSLATE_FS("ImGuiOverlays","Input Recording Active: {}"), g_InputRecording.getData().getFilename()).c_str(), IM_COL32(117, 255, 241, 255));
DRAW_LINE(fixed_font, TinyString::from_fmt(TRANSLATE_FS("ImGuiOverlays","Frame: {}/{} ({})"), g_InputRecording.getFrameCounter() + 1, g_InputRecording.getData().getTotalFrames(),g_FrameCount).c_str(), IM_COL32(117, 255, 241, 255));
DRAW_LINE(fixed_font, TinyString::from_fmt(TRANSLATE_FS("ImGuiOverlays","Undo Count: {}"), g_InputRecording.getData().getUndoCount()).c_str(), IM_COL32(117, 255, 241, 255));
#undef DRAW_LINE
}

View File

@ -600,7 +600,7 @@ namespace usb_lightgun
std::span<const SettingInfo> GunCon2Device::Settings(u32 subtype) const
{
static constexpr const SettingInfo info[] = {
{SettingInfo::Type::Path, "cursor_path", "Cursor Path",
{SettingInfo::Type::Path, "cursor_path", TRANSLATE_NOOP("USB", "Cursor Path"),
TRANSLATE_NOOP("USB", "Sets the crosshair image that this lightgun will use. Setting a crosshair image "
"will disable the system cursor."),
""},