Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified liteidex/deploy/translations/liteide_zh.qm
Binary file not shown.
Binary file modified liteidex/deploy/translations/liteide_zh_TW.qm
Binary file not shown.
945 changes: 485 additions & 460 deletions liteidex/liteide_de.ts

Large diffs are not rendered by default.

945 changes: 485 additions & 460 deletions liteidex/liteide_fr.ts

Large diffs are not rendered by default.

945 changes: 485 additions & 460 deletions liteidex/liteide_ja.ts

Large diffs are not rendered by default.

1,277 changes: 1,249 additions & 28 deletions liteidex/liteide_ru.ts

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions liteidex/liteide_tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4444,6 +4444,15 @@ Success: %2.</oldsource>
<source>Environment changes will take effect after switching environments.</source>
<translation>Ortam değişkenleri değişikliği, ortam değiştirildikten sonra etkili olacaktır.</translation>
</message>
<message><source>New User Environment</source><translation>Yeni Kullanıcı Ortamı</translation></message>
<message><source>Delete User Environment</source><translation>Kullanıcı Ortamını Sil</translation></message>
<message><source>Rename User Environment</source><translation>Kullanıcı Ortamını Yeniden Adlandır</translation></message>
<message><source>Environment</source><translation>Ortam</translation></message>
<message><source>[System] %1</source><translation>[Sistem] %1</translation></message>
<message><source>[User] %1</source><translation>[Kullanıcı] %1</translation></message>
<message><source>Environment ID (based on %1):</source><translation>Ortam Kimliği (%1 temel alınarak):</translation></message>
<message><source>Delete %1?</source><translation>%1 silinsin mi?</translation></message>
<message><source>Environment ID:</source><translation>Ortam Kimliği:</translation></message>
</context>
<context>
<name>LiteFindPlugin</name>
Expand Down
945 changes: 485 additions & 460 deletions liteidex/liteide_uk.ts

Large diffs are not rendered by default.

957 changes: 491 additions & 466 deletions liteidex/liteide_zh.ts

Large diffs are not rendered by default.

957 changes: 491 additions & 466 deletions liteidex/liteide_zh_TW.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions liteidex/src/plugins/gopls/goplsclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bool GoplsClient::start(const QString &program, const QString &workingDirectory,
m_process->setProcessEnvironment(environment);
m_process->start(program,QStringList() << "serve");
if (!m_process->waitForStarted(3000)) {
emit logMessage(tr("Failed to start gopls: %1").arg(m_process->errorString()),true);
emit logMessage(QString("Failed to start gopls: %1").arg(m_process->errorString()),true);
return false;
}
m_initializeId = request("initialize",initializeParams);
Expand Down Expand Up @@ -123,7 +123,7 @@ void GoplsClient::readOutput()
}
}
if (contentLength < 0) {
emit logMessage(tr("Invalid LSP response header"),true);
emit logMessage("Invalid LSP response header",true);
m_buffer.remove(0,headerEnd+4);
continue;
}
Expand All @@ -135,7 +135,7 @@ void GoplsClient::readOutput()
QJsonParseError parseError;
QJsonDocument document = QJsonDocument::fromJson(body,&parseError);
if (parseError.error != QJsonParseError::NoError || !document.isObject()) {
emit logMessage(tr("Invalid JSON from gopls: %1").arg(parseError.errorString()),true);
emit logMessage(QString("Invalid JSON from gopls: %1").arg(parseError.errorString()),true);
continue;
}
dispatch(document.object());
Expand Down Expand Up @@ -173,7 +173,7 @@ void GoplsClient::processFinished(int, QProcess::ExitStatus)
{
m_requests.clear();
if (!m_stopping) {
emit logMessage(tr("gopls stopped unexpectedly"),true);
emit logMessage("gopls stopped unexpectedly",true);
}
emit stopped();
}
6 changes: 3 additions & 3 deletions liteidex/src/plugins/gopls/goplsplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ void GoplsPlugin::appLoaded()
QString program = FileUtil::lookupGoBin("gopls",m_liteApp,environment,true);
if (program.isEmpty()) {
// gopls is optional; the plugin restores legacy gocode completion when it is unavailable.
clientLog(tr("gopls was not found on system PATH (hint: go install golang.org/x/tools/gopls@latest)"),true);
clientLog("gopls was not found on system PATH (hint: go install golang.org/x/tools/gopls@latest)",true);
return;
} else if (!m_loggedProgram) {
clientLog(QString("Found gopls at %1").arg(program),false);
Expand Down Expand Up @@ -255,9 +255,9 @@ void GoplsPlugin::clientInitialized()
m_workspaceKey = workspaceKey();
m_client->setProperty("liteideGoplsActive", m_useFeatures);
if (m_restartReason.isEmpty()) {
m_liteApp->appendLog("Gopls",tr("gopls initialized"));
m_liteApp->appendLog("Gopls","gopls initialized");
} else {
m_liteApp->appendLog("Gopls",tr("gopls reinitialized: %1").arg(m_restartReason));
m_liteApp->appendLog("Gopls",QString("gopls reinitialized: %1").arg(m_restartReason));
m_restartReason.clear();
}
if (m_useFeatures) {
Expand Down
Loading