Füge Funktion zur Überprüfung identischer Übersetzungen hinzu und aktualisiere die Benutzeroberfläche

This commit is contained in:
Torsten Schulz (local)
2026-09-16 16:00:55 +02:00
parent 778eef512f
commit d1c68d78f1
3 changed files with 114 additions and 10 deletions

View File

@@ -42,6 +42,7 @@ private slots:
void on_deeplTranslateFrom_currentTextChanged(const QString &sourceLanguage);
void on_autoTranslateButton_clicked();
void on_retryTranslationButton_clicked();
void on_reviewIdenticalTranslationsButton_clicked();
void on_bulkAutoTranslateButton_clicked();
void on_checkDeeplUsageButton_clicked();
void on_translationProviderCombo_currentIndexChanged(int index);
@@ -96,6 +97,10 @@ private:
void showBulkTranslationDialog();
void onDeeplTranslationAuthenticationError(QNetworkReply *reply, QAuthenticator *authenticator);
void countAndShowUntranslated();
bool isOpenTranslation(const QTreeWidgetItem *item) const;
bool isIdenticalTranslationApproved(const QTreeWidgetItem *item) const;
QString identicalTranslationApprovalKey(const QTreeWidgetItem *item) const;
void saveConfiguration();
void searchNext();
QVector<TranslationItem> parseTextBlock(const QString &block);
void setConfigValue(const QString &key, const QString &value);