diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-13 07:12:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 07:12:09 +0200 |
commit | 00ce8eff65190d2049e25665fe0b3f99f716a99f (patch) | |
tree | b36c78d4168e1258e8b7b0722afbb96746dd3e48 | |
parent | Merge pull request #6593 from german77/no_sdl (diff) | |
parent | qt/main: Make title string more i18n-friendly (diff) | |
download | yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar.gz yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar.bz2 yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar.lz yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar.xz yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.tar.zst yuzu-00ce8eff65190d2049e25665fe0b3f99f716a99f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index cb9c01154..fbd5001e9 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1431,8 +1431,10 @@ void GMainWindow::BootGame(const QString& filename, std::size_t program_index, S std::filesystem::path{filename.toStdU16String()}.filename()); } const bool is_64bit = system.Kernel().CurrentProcess()->Is64BitProcess(); - const auto instruction_set_suffix = is_64bit ? " (64-bit)" : " (32-bit)"; - title_name += instruction_set_suffix; + const auto instruction_set_suffix = is_64bit ? tr("(64-bit)") : tr("(32-bit)"); + title_name = tr("%1 %2", "%1 is the title name. %2 indicates if the title is 64-bit or 32-bit") + .arg(QString::fromStdString(title_name), instruction_set_suffix) + .toStdString(); LOG_INFO(Frontend, "Booting game: {:016X} | {} | {}", title_id, title_name, title_version); const auto gpu_vendor = system.GPU().Renderer().GetDeviceVendor(); UpdateWindowTitle(title_name, title_version, gpu_vendor); |