浏览代码

fix(settings): rename remark model 'Other' to 'External Proxy' (#5265)

The 'o' remark block is sourced from an external proxy's remark, but the
label 'Other' gave no hint where to set it. Rename the display label to
'External Proxy' to match the inbound form section; the stored 'o' key is
unchanged so existing remarkModel values stay compatible.
MHSanaei 1 天之前
父节点
当前提交
2d6dea4bf6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/src/pages/settings/SubscriptionGeneralTab.tsx

+ 1 - 1
frontend/src/pages/settings/SubscriptionGeneralTab.tsx

@@ -8,7 +8,7 @@ import { useMediaQuery } from '@/hooks/useMediaQuery';
 import { catTabLabel } from './catTabLabel';
 import { sanitizePath, normalizePath } from './uriPath';
 
-const REMARK_MODELS: Record<string, string> = { i: 'Inbound', e: 'Email', o: 'Other' };
+const REMARK_MODELS: Record<string, string> = { i: 'Inbound', e: 'Email', o: 'External Proxy' };
 const REMARK_SAMPLES: Record<string, string> = { i: 'Germany', e: 'john', o: 'Relay' };
 const REMARK_SEPARATORS = [' ', '-', '_', '@', ':', '~', '|', ',', '.', '/'];