i18n: Update translation for online model disallowance message to remove model name reference

This commit is contained in:
月月
2025-07-16 23:46:02 +08:00
parent 8a68cf207a
commit 2b2733679c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;