mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Remove unnecessary localization
This commit is contained in:
parent
806c9230cd
commit
8f3eff293d
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())
|
if (!info.changelog.isEmpty())
|
||||||
{
|
{
|
||||||
mb.setInformativeText(tr("To see the changelog, please click \"Show Details\"."));
|
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
|
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
||||||
const int log_width = QLabel(info.changelog).sizeHint().width();
|
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
|
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.");
|
QString message = tr("Errors were found in the patch file.");
|
||||||
QMessageBox* mb = new QMessageBox(QMessageBox::Icon::Critical, tr("Validation failed"), message, QMessageBox::Ok, this);
|
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->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);
|
mb->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
// 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.");
|
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);
|
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->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);
|
mb->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
// Smartass hack to make the unresizeable message box wide enough for the changelog
|
// 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())
|
else if (!info.local_cat.isEmpty())
|
||||||
{
|
{
|
||||||
append_comma();
|
append_comma();
|
||||||
accumulated_info += tr("%0", "Package type info").arg(info.local_cat);
|
accumulated_info += info.local_cat;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!info.version.isEmpty())
|
if (!info.version.isEmpty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue