mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Make error message for temporary and archive translatable (#16331)
This commit is contained in:
parent
cc86e01df9
commit
0111fd0d0e
1 changed files with 4 additions and 4 deletions
|
@ -1099,10 +1099,10 @@ int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
if (Emu.IsPathInsideDir(emu_dir, path.toStdString()))
|
if (Emu.IsPathInsideDir(emu_dir, path.toStdString()))
|
||||||
{
|
{
|
||||||
report_fatal_error(fmt::format(
|
report_fatal_error(QObject::tr(
|
||||||
"RPCS3 should never be run from a temporary location!\n"
|
"RPCS3 should never be run from a temporary location!\n"
|
||||||
"Please install RPCS3 in a persistent location.\n"
|
"Please install RPCS3 in a persistent location.\n"
|
||||||
"Current location:\n%s", emu_dir));
|
"Current location:\n%0").arg(QString::fromStdString(emu_dir)).toStdString());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1112,10 +1112,10 @@ int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
if (emu_dir.find(expr) != umax)
|
if (emu_dir.find(expr) != umax)
|
||||||
{
|
{
|
||||||
report_fatal_error(fmt::format(
|
report_fatal_error(QObject::tr(
|
||||||
"RPCS3 should never be run from an archive!\n"
|
"RPCS3 should never be run from an archive!\n"
|
||||||
"Please install RPCS3 in a persistent location.\n"
|
"Please install RPCS3 in a persistent location.\n"
|
||||||
"Current location:\n%s", emu_dir));
|
"Current location:\n%0").arg(QString::fromStdString(emu_dir)).toStdString());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue