From d2587e77d4ddf6b43fa6047251e7e3b9ea0ed349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 12 Apr 2025 19:53:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BF=BB=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/data/cert.go | 4 ++-- pkg/embed/locales/backend.pot | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/data/cert.go b/internal/data/cert.go index ea0b032f..90808abf 100644 --- a/internal/data/cert.go +++ b/internal/data/cert.go @@ -273,7 +273,7 @@ func (r *certRepo) Renew(id uint) (*acme.Certificate, error) { } if cert.CertURL == "" { - return nil, errors.New(r.t.Get("this certificate has not been signed successfully and cannot be renewed")) + return nil, errors.New(r.t.Get("this certificate has not been issued successfully and cannot be renewed")) } if cert.DNS != nil { @@ -348,7 +348,7 @@ func (r *certRepo) Deploy(ID, WebsiteID uint) error { } if cert.Cert == "" || cert.Key == "" { - return errors.New(r.t.Get("this certificate has not been signed successfully and cannot be deployed")) + return errors.New(r.t.Get("this certificate has not been issued successfully and cannot be deployed")) } website := new(biz.Website) diff --git a/pkg/embed/locales/backend.pot b/pkg/embed/locales/backend.pot index cb26cac4..2023de34 100644 --- a/pkg/embed/locales/backend.pot +++ b/pkg/embed/locales/backend.pot @@ -1471,11 +1471,11 @@ msgid "the current version is the latest version" msgstr "" #: internal/data/cert.go:351 -msgid "this certificate has not been signed successfully and cannot be deployed" +msgid "this certificate has not been issued successfully and cannot be deployed" msgstr "" #: internal/data/cert.go:276 -msgid "this certificate has not been signed successfully and cannot be renewed" +msgid "this certificate has not been issued successfully and cannot be renewed" msgstr "" #: internal/data/cert.go:168