mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
fix tr cheats_patches.cpp
the 2 words were not being translated
This commit is contained in:
parent
790d19e59b
commit
aef7498c49
|
@ -130,7 +130,7 @@ void CheatsPatches::setupUI() {
|
|||
// Call the method to fill the list of cheat files
|
||||
populateFileListCheats();
|
||||
|
||||
QLabel* repositoryLabel = new QLabel("Repository:");
|
||||
QLabel* repositoryLabel = new QLabel(tr("Repository:"));
|
||||
repositoryLabel->setAlignment(Qt::AlignLeft);
|
||||
repositoryLabel->setAlignment(Qt::AlignVCenter);
|
||||
|
||||
|
@ -1123,7 +1123,7 @@ void CheatsPatches::addPatchesToLayout(const QString& filePath) {
|
|||
void CheatsPatches::updateNoteTextEdit(const QString& patchName) {
|
||||
if (m_patchInfos.contains(patchName)) {
|
||||
const PatchInfo& patchInfo = m_patchInfos[patchName];
|
||||
QString text = QString(tr("Name:") + " %1\n" + tr("Author:") + " %2\n\n%3")
|
||||
QString text = QString(tr("Name:") + " %1\n" + tr("Author: ") + "%2\n\n%3")
|
||||
.arg(patchInfo.name)
|
||||
.arg(patchInfo.author)
|
||||
.arg(patchInfo.note);
|
||||
|
@ -1261,4 +1261,4 @@ void CheatsPatches::onPatchCheckBoxHovered(QCheckBox* checkBox, bool hovered) {
|
|||
} else {
|
||||
instructionsTextEdit->setText(defaultTextEdit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue