diff --git a/Qt/controls.cpp b/Qt/controls.cpp index da248d0eb8..56d54c923f 100644 --- a/Qt/controls.cpp +++ b/Qt/controls.cpp @@ -70,6 +70,15 @@ void Controls::showEvent(QShowEvent*) } } +void Controls::changeEvent(QEvent *event) +{ + if (event) + if (event->type() == QEvent::LanguageChange) + ui->retranslateUi(this); + + QDialog::changeEvent(event); +} + void Controls::releaseLock() { EmuThread_LockDraw(false); diff --git a/Qt/controls.h b/Qt/controls.h index b63a74523c..4a319874a6 100644 --- a/Qt/controls.h +++ b/Qt/controls.h @@ -31,6 +31,7 @@ public: ~Controls(); void showEvent(QShowEvent *); + void changeEvent(QEvent *); private slots: void releaseLock(); void on_buttonBox_accepted(); diff --git a/Qt/controls.ui b/Qt/controls.ui index 0f361a64a4..d129dd05c7 100644 --- a/Qt/controls.ui +++ b/Qt/controls.ui @@ -7,7 +7,7 @@ 0 0 618 - 351 + 357 @@ -17,7 +17,7 @@ - Controls + Controls diff --git a/Qt/ctrldisasmview.cpp b/Qt/ctrldisasmview.cpp index bc5e0a3664..a2b7a00829 100644 --- a/Qt/ctrldisasmview.cpp +++ b/Qt/ctrldisasmview.cpp @@ -238,7 +238,7 @@ void CtrlDisAsmView::RenameFunction() strncpy(name, symbolMap.GetSymbolName(sym),256); bool ok; QString newname = QInputDialog::getText(this, tr("New function name"), - tr("New function name :"), QLineEdit::Normal, + tr("New function name:"), QLineEdit::Normal, name, &ok); if (ok && !newname.isEmpty()) { diff --git a/Qt/ctrlregisterlist.cpp b/Qt/ctrlregisterlist.cpp index e3971a01dd..09fa91632f 100644 --- a/Qt/ctrlregisterlist.cpp +++ b/Qt/ctrlregisterlist.cpp @@ -350,7 +350,7 @@ void CtrlRegisterList::Change() bool ok; QString text = QInputDialog::getText(this, tr("Set new value"), - tr("Set new value :"), QLineEdit::Normal, + tr("Set new value:"), QLineEdit::Normal, QString::number(val), &ok); if (ok && !text.isEmpty()) { diff --git a/Qt/debugger_disasm.ui b/Qt/debugger_disasm.ui index a120320aa6..bcf992486f 100644 --- a/Qt/debugger_disasm.ui +++ b/Qt/debugger_disasm.ui @@ -14,7 +14,7 @@ Qt::ClickFocus - Dialog + Disassembler diff --git a/Qt/debugger_memory.cpp b/Qt/debugger_memory.cpp index 6689222006..3f73ccefd9 100644 --- a/Qt/debugger_memory.cpp +++ b/Qt/debugger_memory.cpp @@ -12,7 +12,7 @@ Debugger_Memory::Debugger_Memory(DebugInterface *_cpu, MainWindow* mainWindow_, { ui->setupUi(this); - setWindowTitle(QString("Memory Viewer - ")+cpu->GetName()); + setWindowTitle(tr("Memory Viewer - %1").arg(cpu->GetName())); ui->memView->setDebugger(_cpu); } diff --git a/Qt/debugger_vfpu.ui b/Qt/debugger_vfpu.ui index c1f2743e4c..acf1f04dba 100644 --- a/Qt/debugger_vfpu.ui +++ b/Qt/debugger_vfpu.ui @@ -11,7 +11,7 @@ - Dialog + VFPU diff --git a/Qt/languages/ppsspp_en.ts b/Qt/languages/ppsspp_en.ts index 0819260cdc..67ab652ee1 100644 --- a/Qt/languages/ppsspp_en.ts +++ b/Qt/languages/ppsspp_en.ts @@ -6,6 +6,7 @@ Controls + Control window title @@ -63,7 +64,7 @@ - New function name : + New function name: @@ -114,7 +115,7 @@ - Set new value : + Set new value: @@ -122,7 +123,8 @@ Debugger_Disasm - Dialog + Disassembler + Window title @@ -325,12 +327,17 @@ Symbols + + + Memory Viewer - %1 + + Debugger_VFPU - Dialog + VFPU diff --git a/Qt/languages/ppsspp_fr.ts b/Qt/languages/ppsspp_fr.ts index 0a06406e6a..945bbb1e20 100644 --- a/Qt/languages/ppsspp_fr.ts +++ b/Qt/languages/ppsspp_fr.ts @@ -6,6 +6,7 @@ Controls + Control window title @@ -63,7 +64,7 @@ - New function name : + New function name: @@ -114,7 +115,7 @@ - Set new value : + Set new value: @@ -122,7 +123,8 @@ Debugger_Disasm - Dialog + Disassembler + Window title @@ -325,12 +327,17 @@ Symbols + + + Memory Viewer - %1 + + Debugger_VFPU - Dialog + VFPU diff --git a/Qt/languages/ppsspp_pl.ts b/Qt/languages/ppsspp_pl.ts index d5e7b6fb34..ee2a848380 100644 --- a/Qt/languages/ppsspp_pl.ts +++ b/Qt/languages/ppsspp_pl.ts @@ -6,7 +6,8 @@ Controls - + Control window title + Układ klawiszy @@ -14,32 +15,32 @@ Copy &address - + Kopiuj &adres Copy instruction (&hex) - + Kopiuj instrukcję (&hex) Copy instruction (&disasm) - + Kopiuj instrukcję (&deasm) &Run to here - + &Uruchom do tego miejsca &Set Next Statement - + U&staw następny rozkaz &Toggle breakpoint - + Ustaw &breakpoint @@ -49,22 +50,22 @@ Go to in &Memory View - + Przejdź do widoku &pamięci &Rename function... - + &Zmień nazwę funkcji... New function name - + Nowa nazwa funkcji - New function name : - + New function name: + Nowa nazwa funkcji: @@ -72,17 +73,17 @@ Go to in &disasm - + &Przejdź do deasemblera &Copy value - + &Kopiuj wartość Dump... - + Zrzut... @@ -90,40 +91,41 @@ Go to in &memory view - + Przejdź do widoku &pamięci Go to in &disasm - + Przejdź do &deasemblera &Copy value - + &Kopiuj wartość C&hange... - + &Zmień... Set new value - + Ustaw nową wartość - Set new value : - + Set new value: + Ustaw nową wartość: Debugger_Disasm - Dialog - + Disassembler + Window title + Deasembler @@ -133,82 +135,82 @@ &Go to - + P&rzejdź do &PC - + P&C &LR - + &LR Show VFPU - + Pokaż VFPU Regs - + Rejestry Funcs - + Funkcje &Go - + &Przejdź Stop - + Stop Step &Into - + Wskocz do &wnętrza Step &Over - + Wyskocz na &zewnątrz S&kip - + P&omiń Next &HLE - + Następne &HLE Breakpoints - + Breakpointy Address - + Adres Clear All - + Wyczyść wszystko Callstack - + Stos wywołań @@ -219,83 +221,83 @@ Id - + Id Status - + Status Start Address - + Początkowy adres Current Address - + Obecny adres Run - + Uruchom Step - + Krok Threads - + Wątki Name - + Nazwa Current PC - + Obecny PC Entry point - + Punkt wejścia Remove breakpoint - + Usuń breakpoint Go to entry point - + Przejdź do punktu wejścia Running - + Działający Wait - + Czekający Suspend - + Uśpiony Show code - + Pokaż kod @@ -303,35 +305,40 @@ Dialog - + Widok pamięci Goto: - + Przejdź do: Mode - + Tryb Normal - + Normalny Symbols - + Symboliczny + + + + Memory Viewer - %1 + Widok pamięci - %1 Debugger_VFPU - Dialog - + VFPU + VFPU @@ -466,7 +473,7 @@ Hats - + Haty @@ -644,7 +651,7 @@ &Disassembly - &Dekompiluj + &Deasembler @@ -689,7 +696,7 @@ &Buffered Rendering - &Buffered rendering + &Buforowane renderowanie @@ -699,7 +706,7 @@ &Hardware Transform - &Hardware Transform + Sprzętowa &transformacja @@ -709,22 +716,22 @@ &Linear Filtering - &Linear Filtering + Filtrowanie &liniowe &Wireframe (experimental) - + &Widok siatki (eksperymentalny) &Display Raw Framebuffer - + Wyświetl &surowy framebuffer &Show Debug Statistics - Pokaż &statystyki emulacji + Pokaż statystyki &emulacji @@ -769,7 +776,7 @@ &Fast Memory (dynarec, unstable) - &Fast memory (wymagany Dynarec, niestabilne) + S&zybka pamięć (wymagany Dynarec, niestabilne) @@ -822,22 +829,22 @@ GamePad Controls - &Ustawienia pada + Ustawienia pada &Run on load - + Uruchom po &załadowaniu D&ump next frame to log - + Z&rzuć następną ramkę do logu &Vertex Cache - + &Cache wierzchołków @@ -847,7 +854,7 @@ No translations - + Brak tłumaczeń