diff --git a/.config/quickshell/ii/services/Ai.qml b/.config/quickshell/ii/services/Ai.qml index 31724d8e3..db47ea490 100644 --- a/.config/quickshell/ii/services/Ai.qml +++ b/.config/quickshell/ii/services/Ai.qml @@ -372,7 +372,7 @@ Singleton { // See if policy prevents online models if (Config.options.policies.ai === 2 && !model.endpoint.includes("localhost")) { root.addMessage( - Translation.tr("Online models disallowed for %1\n\nControlled by `policies.ai` config option").arg(model.name), + Translation.tr("Online models disallowed for \n\nControlled by `policies.ai` config option"), root.interfaceRole ); return; diff --git a/.config/quickshell/translations/en_US.json b/.config/quickshell/translations/en_US.json index a9ee4e93e..71b5e6081 100644 --- a/.config/quickshell/translations/en_US.json +++ b/.config/quickshell/translations/en_US.json @@ -295,7 +295,6 @@ "Loaded the following system prompt\n\n---\n\n%1": "Loaded the following system prompt\n\n---\n\n%1", "%1 | Right-click to configure": "%1 | Right-click to configure", "API key set for %1": "API key set for %1", - "Online models disallowed for %1\n\nControlled by `policies.ai` config option": "Online models disallowed for %1\n\nControlled by `policies.ai` config option", "Online via %1 | %2's model": "Online via %1 | %2's model", "Current API endpoint: %1\nSet it with %2mode PROVIDER": "Current API endpoint: %1\nSet it with %2mode PROVIDER", "Go to source (%1)": "Go to source (%1)", @@ -316,5 +315,6 @@ "%1 notifications": "%1 notifications", "Save chat from %1": "Save chat from %1", "Load chat from %1": "Load chat from %1", - "Load prompt from %1": "Load prompt from %1" + "Load prompt from %1": "Load prompt from %1", + "Online models disallowed for \n\nControlled by `policies.ai` config option": "Online models disallowed for \n\nControlled by `policies.ai` config option" } \ No newline at end of file diff --git a/.config/quickshell/translations/zh_CN.json b/.config/quickshell/translations/zh_CN.json index c3749d2f8..489f3ad56 100644 --- a/.config/quickshell/translations/zh_CN.json +++ b/.config/quickshell/translations/zh_CN.json @@ -311,7 +311,7 @@ "Message the model... \"%1\" for commands": "与模型对话... \"%1\" 查看命令", "The current system prompt is\n\n---\n\n%1": "当前系统提示词为\n\n---\n\n%1", "Model set to %1": "模型已设置为 %1", - "Online models disallowed for %1\n\nControlled by `policies.ai` config option": "%1 禁止使用在线模型\n\n由 `policies.ai` 配置项控制", + "Online models disallowed for \n\nControlled by `policies.ai` config option": "禁止使用在线模型\n\n由 `policies.ai` 配置项控制", "Loaded the following system prompt\n\n---\n\n%1": "已加载以下系统提示词\n\n---\n\n%1", "%1 notifications": "%1 条通知", "Save chat from %1": "保存聊天记录到 %1",