瀏覽代碼

Fix missing translation for renew cert dialog

Jamie Curnow 1 月之前
父節點
當前提交
4a0e27572e
共有 3 個文件被更改,包括 5 次插入1 次删除
  1. 1 0
      frontend/src/locale/lang/en.json
  2. 3 0
      frontend/src/locale/src/en.json
  3. 1 1
      frontend/src/modals/RenewCertificateModal.tsx

+ 1 - 0
frontend/src/locale/lang/en.json

@@ -32,6 +32,7 @@
   "certificate.none.subtitle.for-http": "This host will not use HTTPS",
   "certificate.none.title": "None",
   "certificate.not-in-use": "Not Used",
+  "certificate.renew": "Renew Certificate",
   "certificates": "Certificates",
   "certificates.custom": "Custom Certificate",
   "certificates.custom.warning": "Key files protected with a passphrase are not supported.",

+ 3 - 0
frontend/src/locale/src/en.json

@@ -98,6 +98,9 @@
 	"certificate.not-in-use": {
 		"defaultMessage": "Not Used"
 	},
+	"certificate.renew": {
+		"defaultMessage": "Renew Certificate"
+	},
 	"certificates": {
 		"defaultMessage": "Certificates"
 	},

+ 1 - 1
frontend/src/modals/RenewCertificateModal.tsx

@@ -47,7 +47,7 @@ const RenewCertificateModal = EasyModal.create(({ id, visible, remove }: Props)
 		<Modal show={visible} onHide={isSubmitting ? undefined : remove}>
 			<Modal.Header closeButton={!isSubmitting}>
 				<Modal.Title>
-					<T id="renew-certificate" />
+					<T id="certificate.renew" />
 				</Modal.Title>
 			</Modal.Header>
 			<Modal.Body>