mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-28 01:48:02 +03:00
Skip OK button translation
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -112,7 +112,11 @@ class MessageBox(Translatable, SupportConnectedCallback, QMessageBox):
|
||||
pass
|
||||
|
||||
for button in self.buttons():
|
||||
button.setText(_(button.text()))
|
||||
if button.text().count('OK') > 0:
|
||||
# &OK...
|
||||
pass
|
||||
else:
|
||||
button.setText(_(button.text()))
|
||||
|
||||
self.moveToCenter()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user