Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Fix typo in LibreTraslate parser, closes #65
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkMilit committed Jan 5, 2024
1 parent cb37b66 commit d33f2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qonlinetranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ void QOnlineTranslator::parseLibreTranslate()
const QJsonDocument jsonResponse = QJsonDocument::fromJson(m_currentReply->readAll());
const QJsonObject responseObject = jsonResponse.object();

m_translation = responseObject.value(QStringLiteral("translatedText")).toString();
m_translation += responseObject.value(QStringLiteral("translatedText")).toString();
}

void QOnlineTranslator::requestLingvaTranslate()
Expand Down

0 comments on commit d33f2fd

Please sign in to comment.