forked from Shinonome/dots-hyprland
i18n: Update translation for online model disallowance message to remove model name reference
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user