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
+3 -3
View File
@@ -222,8 +222,8 @@
},
"SMTP.sender": {
"type": "string",
"description": "Sender of all the emails (e.g. \"AFFiNE Team <noreply@affine.pro>\")\n@default \"\"\n@environment `MAILER_SENDER`",
"default": ""
"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": "AFFiNE Self Hosted <noreply@example.com>"
},
"SMTP.ignoreTLS": {
"type": "boolean",
@@ -262,7 +262,7 @@
},
"fallbackSMTP.sender": {
"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": ""
},
"fallbackSMTP.ignoreTLS": {
@@ -56,8 +56,8 @@ defineModuleConfig('mailer', {
env: 'MAILER_PASSWORD',
},
'SMTP.sender': {
desc: 'Sender of all the emails (e.g. "AFFiNE Team <noreply@affine.pro>")',
default: '',
desc: 'Sender of all the emails (e.g. "AFFiNE Self Hosted \<noreply@example.com\>")',
default: 'AFFiNE Self Hosted <noreply@example.com>',
env: 'MAILER_SENDER',
},
'SMTP.ignoreTLS': {
@@ -92,7 +92,7 @@ defineModuleConfig('mailer', {
default: '',
},
'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: '',
},
'fallbackSMTP.ignoreTLS': {
+2 -2
View File
@@ -116,7 +116,7 @@
},
"SMTP.sender": {
"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"
},
"SMTP.ignoreTLS": {
@@ -150,7 +150,7 @@
},
"fallbackSMTP.sender": {
"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": {
"type": "Boolean",
@@ -1,26 +1,26 @@
{
"ar": 100,
"ar": 99,
"ca": 4,
"da": 4,
"de": 100,
"el-GR": 100,
"de": 99,
"el-GR": 99,
"en": 100,
"es-AR": 100,
"es-AR": 99,
"es-CL": 100,
"es": 100,
"fa": 100,
"fr": 100,
"es": 99,
"fa": 99,
"fr": 99,
"hi": 2,
"it-IT": 100,
"it-IT": 99,
"it": 1,
"ja": 100,
"ja": 99,
"ko": 52,
"pl": 100,
"pt-BR": 100,
"ru": 100,
"sv-SE": 100,
"uk": 100,
"pl": 99,
"pt-BR": 99,
"ru": 99,
"sv-SE": 99,
"uk": 99,
"ur": 2,
"zh-Hans": 100,
"zh-Hant": 100
"zh-Hans": 99,
"zh-Hant": 99
}