feat(i18n): add endpoint exposure notice across multiple languages

Added a new translation for the message "Endpoint is exposed without an API key." to various language files, enhancing user awareness regarding API security. This update ensures that users are informed about potential risks associated with unprotected endpoints in their respective languages.
This commit is contained in:
decolua
2026-06-06 12:45:32 +07:00
parent 047792205f
commit 64f58420db
34 changed files with 89 additions and 53 deletions
+2 -3
View File
@@ -7,9 +7,8 @@ import { FORMATS } from "../../open-sse/translator/formats.js";
const O2K = (body) => translateRequest(FORMATS.OPENAI, FORMATS.KIRO, "m", body, true, null, "kiro");
describe("OpenAI → Kiro", () => {
// openai-to-kiro.js:214-216 — JSON.parse(arguments) without try/catch → throws on bad JSON
// KNOWN BUG (severe: throws and breaks the whole request)
it.fails("malformed tool arguments do not throw the whole request", () => {
// openai-to-kiro.js — safeJSONParse guards bad tool-call JSON (fixed in PR #1582)
it("malformed tool arguments do not throw the whole request", () => {
expect(() =>
O2K({
messages: [