mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-13 22:37:02 +00:00
Localization improvements and fixes (#956)
This commit is contained in:
parent
4d1864c8a1
commit
c16e258c93
34 changed files with 229 additions and 356 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "gui/components/wxProgressDialogManager.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <helpers/wxHelpers.h>
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
@ -333,7 +334,7 @@ void DebugPPCThreadsWindow::PresentProfileResults(OSThread_t* thread, const std:
|
|||
void DebugPPCThreadsWindow::ProfileThreadWorker(OSThread_t* thread)
|
||||
{
|
||||
wxProgressDialogManager progressDialog(this);
|
||||
progressDialog.Create("Profiling thread",
|
||||
progressDialog.Create(_("Profiling thread"),
|
||||
_("Capturing samples..."),
|
||||
1000, // range
|
||||
wxPD_CAN_SKIP);
|
||||
|
|
@ -364,8 +365,7 @@ void DebugPPCThreadsWindow::ProfileThreadWorker(OSThread_t* thread)
|
|||
totalSampleCount++;
|
||||
if ((totalSampleCount % 50) == 0)
|
||||
{
|
||||
wxString msg = fmt::format("Capturing samples... ({:})\nResults will be written to log.txt\n",
|
||||
totalSampleCount);
|
||||
wxString msg = formatWxString(_("Capturing samples... ({:})\nResults will be written to log.txt\n"), totalSampleCount);
|
||||
if (totalSampleCount < 30000)
|
||||
msg.Append(_("Click Skip button for early results with lower accuracy"));
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue