Skip to content

Commit

Permalink
Merge pull request #297 from Ymirotvorenie/Issue#293
Browse files Browse the repository at this point in the history
[#293] Add russian translate to email-placeholder at workspace->users
  • Loading branch information
fey authored Aug 20, 2024
2 parents 03f03db + aca0992 commit a84cee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ wks.placeholder.descr=Workspace Description
wks.info=Info
wks.typos=Typos
wks.users=Users
wks.users.email-placeholder=Enter user email. For example: [email protected]
wks.settings=Settings
wks.urls=URLs
wks.integration=Integration
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/messages_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ wks.placeholder.descr=Описание Пространства
wks.info=Информация
wks.typos=Опечатки
wks.users=Пользователи
wks.users.email-placeholder=Введите адрес электронной почты пользователя. Например: [email protected]
wks.settings=Настройки
wks.urls=Домены
wks.integration=Интеграция
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/workspace/wks-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<form method="POST" th:action="@{'/workspace/' + ${wksId} + '/users'}" th:object="${inputEmail}">
<div class="form-group">
<input type="email" class="form-control" id="inputUserEmail"
placeholder="Enter user email. For example: [email protected]" th:field="*{email}"
th:placeholder="#{wks.users.email-placeholder}" th:field="*{email}"
th:classappend="${!#fields.hasErrors('email') && formModified}? 'is-valid'"
th:errorclass="is-invalid" required>
<div class="invalid-feedback" th:if="${#fields.hasErrors('email')}">
Expand Down

0 comments on commit a84cee6

Please sign in to comment.