Skip to content

Commit 6fa7732

Browse files
committed
{category,country}/add.html: merge fields' names.
1 parent 511d5c9 commit 6fa7732

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

src/main/resources/ru/mystamps/i18n/Messages.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ t_issue_date = Date of release
1616
t_items = item(s)
1717
t_wo_perforation_short = without perforation
1818
t_open_my_collection = Open my collection
19+
t_name_on_english = Name (on English)
20+
t_name_on_russian = Name (on Russian)
1921

2022
# header
2123
t_my_stamps = My stamps
@@ -102,16 +104,12 @@ In order to add this series to your collection you should <a href="{0}">register
102104

103105
# category/add.html
104106
t_create_category_ucfirst = Add category
105-
t_category_on_english = Category (on English)
106-
t_category_on_russian = Category (on Russian)
107107

108108
# category/info.html
109109
t_category_info = Category info
110110

111111
# country/add.html
112112
t_add_country_ucfirst = Add country
113-
t_country_on_english = Country (on English)
114-
t_country_on_russian = Country (on Russian)
115113

116114
# country/info.html
117115
t_country_info = Country info

src/main/resources/ru/mystamps/i18n/Messages_ru.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ t_issue_date = Дата выпуска
1616
t_wo_perforation_short = б/з
1717
t_items = шт.
1818
t_open_my_collection = Открыть мою коллекцию
19+
t_name_on_english = Название (на английском)
20+
t_name_on_russian = Название (на русском)
1921

2022
# шапка
2123
t_my_stamps = Мои марки
@@ -102,16 +104,12 @@ t_need_authentication_to_add_series_to_collection = \
102104

103105
# category/add.html
104106
t_create_category_ucfirst = Создать категорию
105-
t_category_on_english = Категория (на английском)
106-
t_category_on_russian = Категория (на русском)
107107

108108
# category/info.html
109109
t_category_info = Информация о категории
110110

111111
# country/add.html
112112
t_add_country_ucfirst = Добавить страну
113-
t_country_on_english = Страна (на английском)
114-
t_country_on_russian = Страна (на русском)
115113

116114
# country/info.html
117115
t_country_info = Информация о стране

src/main/webapp/WEB-INF/views/category/add.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ <h3 th:text="#{t_create_category_ucfirst}">
6666

6767
<div class="form-group" th:classappend="${#fields.hasErrors('name') ? 'has-error' : ''}">
6868
<label path="name" class="control-label col-sm-4">
69-
<span class="field-label" th:text="#{t_category_on_english}">
70-
Category (on English)
69+
<span class="field-label" th:text="#{t_name_on_english}">
70+
Name (on English)
7171
</span>
7272
<span id="name.required" class="required_field">*</span>
7373
</label>
@@ -79,8 +79,8 @@ <h3 th:text="#{t_create_category_ucfirst}">
7979

8080
<div class="form-group" th:classappend="${#fields.hasErrors('nameRu') ? 'has-error' : ''}">
8181
<label path="nameRu" class="control-label col-sm-4">
82-
<span class="field-label" th:text="#{t_category_on_russian}">
83-
Category (on Russian)
82+
<span class="field-label" th:text="#{t_name_on_russian}">
83+
Name (on Russian)
8484
</span>
8585
<span id="nameRu.required" class="required_field">*</span>
8686
</label>

src/main/webapp/WEB-INF/views/country/add.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ <h3 th:text="#{t_add_country_ucfirst}">
6666

6767
<div class="form-group" th:classappend="${#fields.hasErrors('name') ? 'has-error' : ''}">
6868
<label path="name" class="control-label col-sm-4">
69-
<span class="field-label" th:text="#{t_country_on_english}">
70-
Country (on English)
69+
<span class="field-label" th:text="#{t_name_on_english}">
70+
Name (on English)
7171
</span>
7272
<span id="name.required" class="required_field">*</span>
7373
</label>
@@ -79,8 +79,8 @@ <h3 th:text="#{t_add_country_ucfirst}">
7979

8080
<div class="form-group" th:classappend="${#fields.hasErrors('nameRu') ? 'has-error' : ''}">
8181
<label path="nameRu" class="control-label col-sm-4">
82-
<span class="field-label" th:text="#{t_country_on_russian}">
83-
Country (on Russian)
82+
<span class="field-label" th:text="#{t_name_on_russian}">
83+
Name (on Russian)
8484
</span>
8585
<span id="nameRu.required" class="required_field">*</span>
8686
</label>

0 commit comments

Comments
 (0)