Update Translations + String improvements (#16142)

Co-authored-by: Alexandre Folle de Menezes <afmenez@gmail.com>
This commit is contained in:
Ian Bassi
2026-10-05 14:43:19 -03:00
committed by GitHub
co-authored by Alexandre Folle de Menezes
parent c1e6de7e4e
commit eb5b9a77b9
101 changed files with 202689 additions and 37732 deletions
+5 -5
View File
@@ -98,7 +98,7 @@ void TerminalDialog::resolve_and_run(const std::string& cmd)
if (m_runner->is_running()) {
nlohmann::json err;
err["command"] = "process_error";
err["message"] = "A command is already running.";
err["message"] = _u8L("A command is already running.");
call_web_handler(err);
return;
}
@@ -117,7 +117,7 @@ void TerminalDialog::resolve_and_run(const std::string& cmd)
if (consume_command_prefix(cmd, "python", arg_string)) {
const std::string python_path = PythonInterpreter::bundled_python_executable();
if (python_path.empty()) {
send_process_error("Bundled Python executable not found.");
send_process_error(_u8L("Bundled Python executable not found."));
return;
}
executable = python_path;
@@ -125,13 +125,13 @@ void TerminalDialog::resolve_and_run(const std::string& cmd)
else if (consume_command_prefix(cmd, "uv", arg_string)) {
const std::string uv_path = PythonInterpreter::bundled_uv_path();
if (uv_path.empty()) {
send_process_error("uv executable not found.");
send_process_error(_u8L("uv executable not found."));
return;
}
executable = uv_path;
}
else {
send_process_error("Only 'python' and 'uv' commands are supported.");
send_process_error(_u8L("Only 'python' and 'uv' commands are supported."));
return;
}
@@ -166,7 +166,7 @@ void TerminalDialog::resolve_and_run(const std::string& cmd)
if (!started) {
nlohmann::json err;
err["command"] = "process_error";
err["message"] = "Failed to start process.";
err["message"] = _u8L("Failed to start process.");
call_web_handler(err);
}
}