Skip to content

Commit

Permalink
Email templates translated into english
Browse files Browse the repository at this point in the history
  • Loading branch information
burakpadr committed Jun 27, 2024
1 parent fe0cce4 commit d900edc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/mail/reset-password.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<title>Document</title>
</head>
<body>
<p>Parola sıfırlama kodunuz: [[${otp}]]</p>
<p>Password reset code: [[${otp}]]</p>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
</head>

<body>
<p>OpenGYS hesabınız oluşturulmuştur. OpenGYS paneli üzerinden şifremi unuttum linkine tıklayarak parolanızı
yaratabilirsiniz.</p>
<p>Your OpenGYS account created. You can create your password by clicking the I forgot my password link on the OpenGYS panel.</p>
</body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
</head>

<body>
<p>OpenGYS kiracı hesabınız oluşturulmuştur. OpenGYS paneli üzerinden şifremi unuttum linkine tıklayarak parolanızı
yaratabilirsiniz.
<p>Your OpenGYS tenant account has been created. You can create your password by clicking the I forgot my password link on the OpenGYS panel.
</p>
</body>

Expand Down

0 comments on commit d900edc

Please sign in to comment.