mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Qt: Add missing translations
This commit is contained in:
parent
2627e1b685
commit
cd01073903
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ void CheatEntryWidget::editClicked() {
|
||||||
}
|
}
|
||||||
|
|
||||||
CheatEditDialog::CheatEditDialog(Emulator* emu, CheatEntryWidget& cheatEntry) : QDialog(), emu(emu), cheatEntry(cheatEntry) {
|
CheatEditDialog::CheatEditDialog(Emulator* emu, CheatEntryWidget& cheatEntry) : QDialog(), emu(emu), cheatEntry(cheatEntry) {
|
||||||
setWindowTitle("Edit Cheat");
|
setWindowTitle(tr("Edit Cheat"));
|
||||||
|
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
setModal(true);
|
setModal(true);
|
||||||
|
@ -161,7 +161,7 @@ void CheatEditDialog::rejected() {
|
||||||
|
|
||||||
CheatsWindow::CheatsWindow(Emulator* emu, const std::filesystem::path& cheatPath, QWidget* parent)
|
CheatsWindow::CheatsWindow(Emulator* emu, const std::filesystem::path& cheatPath, QWidget* parent)
|
||||||
: QWidget(parent, Qt::Window), emu(emu), cheatPath(cheatPath) {
|
: QWidget(parent, Qt::Window), emu(emu), cheatPath(cheatPath) {
|
||||||
setWindowTitle("Cheats");
|
setWindowTitle(tr("Cheats"));
|
||||||
mainWindow = static_cast<MainWindow*>(parent);
|
mainWindow = static_cast<MainWindow*>(parent);
|
||||||
|
|
||||||
QVBoxLayout* layout = new QVBoxLayout;
|
QVBoxLayout* layout = new QVBoxLayout;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include "io_file.hpp"
|
#include "io_file.hpp"
|
||||||
|
|
||||||
PatchWindow::PatchWindow(QWidget* parent) : QWidget(parent, Qt::Window) {
|
PatchWindow::PatchWindow(QWidget* parent) : QWidget(parent, Qt::Window) {
|
||||||
setWindowTitle("ROM patcher");
|
setWindowTitle(tr("ROM patcher"));
|
||||||
|
|
||||||
QVBoxLayout* layout = new QVBoxLayout;
|
QVBoxLayout* layout = new QVBoxLayout;
|
||||||
layout->setContentsMargins(6, 6, 6, 6);
|
layout->setContentsMargins(6, 6, 6, 6);
|
||||||
|
|
|
@ -9,7 +9,7 @@ using namespace Zep;
|
||||||
|
|
||||||
TextEditorWindow::TextEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText)
|
TextEditorWindow::TextEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText)
|
||||||
: QDialog(parent), zepWidget(this, qApp->applicationDirPath().toStdString(), fontSize) {
|
: QDialog(parent), zepWidget(this, qApp->applicationDirPath().toStdString(), fontSize) {
|
||||||
setWindowTitle("Lua Editor");
|
setWindowTitle(tr("Lua Editor"));
|
||||||
resize(600, 600);
|
resize(600, 600);
|
||||||
|
|
||||||
// Register our extensions
|
// Register our extensions
|
||||||
|
|
Loading…
Add table
Reference in a new issue