🐛 fix(protocol): Add 'conf' output format option and update translations

This commit is contained in:
web 2025-08-12 05:58:25 -07:00 committed by speakeloudest
parent 4a907257c6
commit 6a889e7f2d
3 changed files with 6 additions and 3 deletions

View File

@ -479,9 +479,10 @@ export function ProtocolForm() {
<SelectValue placeholder='Select ...' /> <SelectValue placeholder='Select ...' />
</SelectTrigger> </SelectTrigger>
<SelectContent> <SelectContent>
<SelectItem value='base64'>{t('outputFormats.base64')}</SelectItem>
<SelectItem value='yaml'>{t('outputFormats.yaml')}</SelectItem> <SelectItem value='yaml'>{t('outputFormats.yaml')}</SelectItem>
<SelectItem value='json'>{t('outputFormats.json')}</SelectItem> <SelectItem value='json'>{t('outputFormats.json')}</SelectItem>
<SelectItem value='base64'>{t('outputFormats.base64')}</SelectItem> <SelectItem value='conf'>{t('outputFormats.conf')}</SelectItem>
<SelectItem value='plain'>{t('outputFormats.plain')}</SelectItem> <SelectItem value='plain'>{t('outputFormats.plain')}</SelectItem>
</SelectContent> </SelectContent>
</Select> </Select>

View File

@ -74,7 +74,8 @@
"yaml": "YAML", "yaml": "YAML",
"json": "JSON", "json": "JSON",
"base64": "Base64", "base64": "Base64",
"plain": "Plain Text" "plain": "Plain Text",
"conf": "Config File"
}, },
"platforms": { "platforms": {
"windows": "Windows", "windows": "Windows",

View File

@ -74,7 +74,8 @@
"base64": "Base64", "base64": "Base64",
"json": "JSON", "json": "JSON",
"plain": "纯文本", "plain": "纯文本",
"yaml": "YAML" "yaml": "YAML",
"conf": "配置文件"
}, },
"platforms": { "platforms": {
"android": "Android", "android": "Android",