mirror of
https://github.com/wh201906/Proxmark3GUI.git
synced 2026-07-16 22:55:29 +08:00
Misc work in translation
Update translations Fix the translation in t55xxtab (QTranslator must be created before wigets) Reduce unnecessary translations
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ bool Util::chooseLanguage(QSettings* guiSettings, QMainWindow* window)
|
||||
return false;
|
||||
if(langMap[selectedText] == "(ext)")
|
||||
{
|
||||
QString extPath = QFileDialog::getOpenFileName(nullptr, tr("Select the translation file:"));
|
||||
QString extPath = QFileDialog::getOpenFileName(window, tr("Select the translation file:"));
|
||||
if(extPath.isEmpty())
|
||||
return false;
|
||||
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ public:
|
||||
static ClientType getClientType();
|
||||
static int rawTabIndex;
|
||||
static QDockWidget* rawDockPtr;
|
||||
static bool chooseLanguage(QSettings *guiSettings, QMainWindow *window);
|
||||
static bool chooseLanguage(QSettings *guiSettings, QMainWindow *window = nullptr);
|
||||
public slots:
|
||||
void processOutput(const QString& output);
|
||||
static void setClientType(Util::ClientType clientType);
|
||||
|
||||
Reference in New Issue
Block a user