fix: config escape error (#13936)

fix #13702
This commit is contained in:
DarkSky
2025-11-14 23:24:44 +08:00
committed by GitHub
parent e379da200e
commit abe73e9996
4 changed files with 24 additions and 24 deletions

View File

@@ -222,8 +222,8 @@
}, },
"SMTP.sender": { "SMTP.sender": {
"type": "string", "type": "string",
"description": "Sender of all the emails (e.g. \"AFFiNE Team <noreply@affine.pro>\")\n@default \"\"\n@environment `MAILER_SENDER`", "description": "Sender of all the emails (e.g. \"AFFiNE Self Hosted <noreply@example.com>\")\n@default \"AFFiNE Self Hosted <noreply@example.com>\"\n@environment `MAILER_SENDER`",
"default": "" "default": "AFFiNE Self Hosted <noreply@example.com>"
}, },
"SMTP.ignoreTLS": { "SMTP.ignoreTLS": {
"type": "boolean", "type": "boolean",
@@ -262,7 +262,7 @@
}, },
"fallbackSMTP.sender": { "fallbackSMTP.sender": {
"type": "string", "type": "string",
"description": "Sender of all the emails (e.g. \"AFFiNE Team <noreply@affine.pro>\")\n@default \"\"", "description": "Sender of all the emails (e.g. \"AFFiNE Self Hosted <noreply@example.com>\")\n@default \"\"",
"default": "" "default": ""
}, },
"fallbackSMTP.ignoreTLS": { "fallbackSMTP.ignoreTLS": {

View File

@@ -56,8 +56,8 @@ defineModuleConfig('mailer', {
env: 'MAILER_PASSWORD', env: 'MAILER_PASSWORD',
}, },
'SMTP.sender': { 'SMTP.sender': {
desc: 'Sender of all the emails (e.g. "AFFiNE Team <noreply@affine.pro>")', desc: 'Sender of all the emails (e.g. "AFFiNE Self Hosted \<noreply@example.com\>")',
default: '', default: 'AFFiNE Self Hosted <noreply@example.com>',
env: 'MAILER_SENDER', env: 'MAILER_SENDER',
}, },
'SMTP.ignoreTLS': { 'SMTP.ignoreTLS': {
@@ -92,7 +92,7 @@ defineModuleConfig('mailer', {
default: '', default: '',
}, },
'fallbackSMTP.sender': { 'fallbackSMTP.sender': {
desc: 'Sender of all the emails (e.g. "AFFiNE Team <noreply@affine.pro>")', desc: 'Sender of all the emails (e.g. "AFFiNE Self Hosted \<noreply@example.com\>")',
default: '', default: '',
}, },
'fallbackSMTP.ignoreTLS': { 'fallbackSMTP.ignoreTLS': {

View File

@@ -116,7 +116,7 @@
}, },
"SMTP.sender": { "SMTP.sender": {
"type": "String", "type": "String",
"desc": "Sender of all the emails (e.g. \"AFFiNE Team <noreply@affine.pro>\")", "desc": "Sender of all the emails (e.g. \"AFFiNE Self Hosted <noreply@example.com>\")",
"env": "MAILER_SENDER" "env": "MAILER_SENDER"
}, },
"SMTP.ignoreTLS": { "SMTP.ignoreTLS": {
@@ -150,7 +150,7 @@
}, },
"fallbackSMTP.sender": { "fallbackSMTP.sender": {
"type": "String", "type": "String",
"desc": "Sender of all the emails (e.g. \"AFFiNE Team <noreply@affine.pro>\")" "desc": "Sender of all the emails (e.g. \"AFFiNE Self Hosted <noreply@example.com>\")"
}, },
"fallbackSMTP.ignoreTLS": { "fallbackSMTP.ignoreTLS": {
"type": "Boolean", "type": "Boolean",

View File

@@ -1,26 +1,26 @@
{ {
"ar": 100, "ar": 99,
"ca": 4, "ca": 4,
"da": 4, "da": 4,
"de": 100, "de": 99,
"el-GR": 100, "el-GR": 99,
"en": 100, "en": 100,
"es-AR": 100, "es-AR": 99,
"es-CL": 100, "es-CL": 100,
"es": 100, "es": 99,
"fa": 100, "fa": 99,
"fr": 100, "fr": 99,
"hi": 2, "hi": 2,
"it-IT": 100, "it-IT": 99,
"it": 1, "it": 1,
"ja": 100, "ja": 99,
"ko": 52, "ko": 52,
"pl": 100, "pl": 99,
"pt-BR": 100, "pt-BR": 99,
"ru": 100, "ru": 99,
"sv-SE": 100, "sv-SE": 99,
"uk": 100, "uk": 99,
"ur": 2, "ur": 2,
"zh-Hans": 100, "zh-Hans": 99,
"zh-Hant": 100 "zh-Hant": 99
} }