Skip to content

Commit afdc948

Browse files
committed
dev: Update error messages
1 parent 7f1e6df commit afdc948

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

config/messages.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3671,6 +3671,33 @@
36713671
"file": "config.go"
36723672
}
36733673
},
3674+
"error:pkg/config/tlsconfig:not_ca_certificate": {
3675+
"translations": {
3676+
"en": "certificate with subject `{subject}` is not a CA certificate"
3677+
},
3678+
"description": {
3679+
"package": "pkg/config/tlsconfig",
3680+
"file": "config.go"
3681+
}
3682+
},
3683+
"error:pkg/config/tlsconfig:parse_certificate": {
3684+
"translations": {
3685+
"en": "parse certificate"
3686+
},
3687+
"description": {
3688+
"package": "pkg/config/tlsconfig",
3689+
"file": "config.go"
3690+
}
3691+
},
3692+
"error:pkg/config/tlsconfig:parse_pem": {
3693+
"translations": {
3694+
"en": "parse PEM"
3695+
},
3696+
"description": {
3697+
"package": "pkg/config/tlsconfig",
3698+
"file": "config.go"
3699+
}
3700+
},
36743701
"error:pkg/config/tlsconfig:tls_cipher_suite_invalid": {
36753702
"translations": {
36763703
"en": "invalid TLS cipher suite {cipher}"
@@ -3707,6 +3734,15 @@
37073734
"file": "config.go"
37083735
}
37093736
},
3737+
"error:pkg/config/tlsconfig:unexpected_pem_type": {
3738+
"translations": {
3739+
"en": "unexpected PEM block of type `{pem_type}`, expected CERTIFICATE"
3740+
},
3741+
"description": {
3742+
"package": "pkg/config/tlsconfig",
3743+
"file": "config.go"
3744+
}
3745+
},
37103746
"error:pkg/config:format": {
37113747
"translations": {
37123748
"en": "invalid format `{input}`"

pkg/webui/locales/ja.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,10 +2296,14 @@
22962296
"error:pkg/config/tlsconfig:missing_acme_default_host": "",
22972297
"error:pkg/config/tlsconfig:missing_acme_dir": "ACEMの保存先が見つかりません",
22982298
"error:pkg/config/tlsconfig:missing_acme_endpoint": "ACMEエンドポイントが見つかりません",
2299+
"error:pkg/config/tlsconfig:not_ca_certificate": "",
2300+
"error:pkg/config/tlsconfig:parse_certificate": "",
2301+
"error:pkg/config/tlsconfig:parse_pem": "",
22992302
"error:pkg/config/tlsconfig:tls_cipher_suite_invalid": "無効なTLS暗号スイート{cipher}",
23002303
"error:pkg/config/tlsconfig:tls_config_source_invalid": "無効なTLS設定ソース `{source}`",
23012304
"error:pkg/config/tlsconfig:tls_key_vault_id": "無効なTLS鍵のID",
23022305
"error:pkg/config/tlsconfig:tls_source_empty": "TLSソースが空",
2306+
"error:pkg/config/tlsconfig:unexpected_pem_type": "",
23032307
"error:pkg/config:format": "無効なフォーマット `{input}`",
23042308
"error:pkg/config:missing_blob_config": "Blobストア設定が見つかりません",
23052309
"error:pkg/config:unknown_blob_provider": "無効なBlobストアプロバイダ `{provider}`",

0 commit comments

Comments
 (0)