mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
Remove unnecessary localization
This commit is contained in:
parent
a16a86c905
commit
9797513dd0
4 changed files with 5 additions and 5 deletions
|
@ -917,7 +917,7 @@ bool main_window::InstallPackages(QStringList file_paths, bool from_boot)
|
|||
if (!info.changelog.isEmpty())
|
||||
{
|
||||
mb.setInformativeText(tr("To see the changelog, please click \"Show Details\"."));
|
||||
mb.setDetailedText(tr("%0").arg(info.changelog));
|
||||
mb.setDetailedText(info.changelog);
|
||||
|
||||
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
||||
const int log_width = QLabel(info.changelog).sizeHint().width();
|
||||
|
|
|
@ -119,7 +119,7 @@ memory_viewer_panel::memory_viewer_panel(QWidget* parent, std::shared_ptr<CPUDis
|
|||
|
||||
QString textFromValue(int value) const override
|
||||
{
|
||||
return tr("%0").arg(1 << value);
|
||||
return QString("%0").arg(1 << value);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1082,7 +1082,7 @@ void patch_manager_dialog::dropEvent(QDropEvent* event)
|
|||
QString message = tr("Errors were found in the patch file.");
|
||||
QMessageBox* mb = new QMessageBox(QMessageBox::Icon::Critical, tr("Validation failed"), message, QMessageBox::Ok, this);
|
||||
mb->setInformativeText(tr("To see the error log, please click \"Show Details\"."));
|
||||
mb->setDetailedText(tr("%0").arg(summary));
|
||||
mb->setDetailedText(summary);
|
||||
mb->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
||||
|
@ -1304,7 +1304,7 @@ bool patch_manager_dialog::handle_json(const QByteArray& data)
|
|||
QString message = tr("Errors were found in the downloaded patch file.");
|
||||
QMessageBox* mb = new QMessageBox(QMessageBox::Icon::Critical, tr("Validation failed"), message, QMessageBox::Ok, this);
|
||||
mb->setInformativeText(tr("To see the error log, please click \"Show Details\"."));
|
||||
mb->setDetailedText(tr("%0").arg(summary));
|
||||
mb->setDetailedText(summary);
|
||||
mb->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
||||
|
|
|
@ -68,7 +68,7 @@ pkg_install_dialog::pkg_install_dialog(const QStringList& paths, game_compatibil
|
|||
else if (!info.local_cat.isEmpty())
|
||||
{
|
||||
append_comma();
|
||||
accumulated_info += tr("%0", "Package type info").arg(info.local_cat);
|
||||
accumulated_info += info.local_cat;
|
||||
}
|
||||
|
||||
if (!info.version.isEmpty())
|
||||
|
|
Loading…
Add table
Reference in a new issue