From d900edc7641455b80e310ff7cb97d61906b5694f Mon Sep 17 00:00:00 2001 From: burakpadr Date: Thu, 27 Jun 2024 22:17:47 +0300 Subject: [PATCH] Email templates translated into english --- .../com/padr/gys/domain/carrier/constant/EmailTemplate.java | 6 +++--- src/main/resources/templates/mail/reset-password.html | 2 +- .../templates/mail/staff-account-has-been-created.html | 3 +-- .../templates/mail/tenant-account-has-been-created.html | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/padr/gys/domain/carrier/constant/EmailTemplate.java b/src/main/java/com/padr/gys/domain/carrier/constant/EmailTemplate.java index 979900d..9e78d61 100644 --- a/src/main/java/com/padr/gys/domain/carrier/constant/EmailTemplate.java +++ b/src/main/java/com/padr/gys/domain/carrier/constant/EmailTemplate.java @@ -7,9 +7,9 @@ @RequiredArgsConstructor public enum EmailTemplate { - PASSWORD_RESET_OTP("reset-password", "OpenGYS Parola Yenileme Kodu"), - STAFF_ACCOUNT_HAS_BEEN_CREATED("staff-account-has-been-created", "OpenGYS Hesabı"), - TENANT_ACCOUNT_HAS_BEEN_CREATED("tenant-account-has-been-created", "OpenGYS Kiracı Hesabı"); + PASSWORD_RESET_OTP("reset-password", "OpenGYS Reset Password Code"), + STAFF_ACCOUNT_HAS_BEEN_CREATED("staff-account-has-been-created", "OpenGYS Staff Account"), + TENANT_ACCOUNT_HAS_BEEN_CREATED("tenant-account-has-been-created", "OpenGYS Tenant Account"); private final String templateName; private final String subject; diff --git a/src/main/resources/templates/mail/reset-password.html b/src/main/resources/templates/mail/reset-password.html index a844ff4..96a2c2f 100644 --- a/src/main/resources/templates/mail/reset-password.html +++ b/src/main/resources/templates/mail/reset-password.html @@ -6,6 +6,6 @@ Document -

Parola sıfırlama kodunuz: [[${otp}]]

+

Password reset code: [[${otp}]]

\ No newline at end of file diff --git a/src/main/resources/templates/mail/staff-account-has-been-created.html b/src/main/resources/templates/mail/staff-account-has-been-created.html index f0bbea0..c60402b 100644 --- a/src/main/resources/templates/mail/staff-account-has-been-created.html +++ b/src/main/resources/templates/mail/staff-account-has-been-created.html @@ -8,8 +8,7 @@ -

OpenGYS hesabınız oluşturulmuştur. OpenGYS paneli üzerinden şifremi unuttum linkine tıklayarak parolanızı - yaratabilirsiniz.

+

Your OpenGYS account created. You can create your password by clicking the I forgot my password link on the OpenGYS panel.

\ No newline at end of file diff --git a/src/main/resources/templates/mail/tenant-account-has-been-created.html b/src/main/resources/templates/mail/tenant-account-has-been-created.html index 55b0cb8..f12d1db 100644 --- a/src/main/resources/templates/mail/tenant-account-has-been-created.html +++ b/src/main/resources/templates/mail/tenant-account-has-been-created.html @@ -8,8 +8,7 @@ -

OpenGYS kiracı hesabınız oluşturulmuştur. OpenGYS paneli üzerinden şifremi unuttum linkine tıklayarak parolanızı - yaratabilirsiniz. +

Your OpenGYS tenant account has been created. You can create your password by clicking the I forgot my password link on the OpenGYS panel.