Skip to content

Commit

Permalink
Add belarusian locale for models
Browse files Browse the repository at this point in the history
  • Loading branch information
sk8higher committed Nov 10, 2023
1 parent fda2c21 commit 6d7f48f
Show file tree
Hide file tree
Showing 19 changed files with 115 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/articles/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<% end %>

<div class="form-group row mb-15">
<%= form.label :photo %>
<%= form.label :images %>
<%= form.file_field :images, multiple: true, class: 'form-control-file' %>
</div>

Expand Down
15 changes: 15 additions & 0 deletions config/locales/models/article/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
article: 'Артыкул'
attributes:
article:
name: 'Назва'
name_en: 'Назва (Англійская)'
name_ru: 'Назва (Руская)'
name_be: 'Назва (Беларуская)'
description: 'Змест'
description_en: 'Змест (Англійская)'
description_ru: 'Змест (Руская)'
description_be: 'Змест (Беларуская)'
images: 'Фота'
2 changes: 2 additions & 0 deletions config/locales/models/article/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
name: 'Name'
name_en: 'Name (English)'
name_ru: 'Name (Russian)'
name_be: 'Name (Belarusian)'
description: 'Description'
description_en: 'Description (English)'
description_ru: 'Description (Russian)'
description_be: 'Description (Belarusian)'
images: 'Photo'
2 changes: 2 additions & 0 deletions config/locales/models/article/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
name: 'Название'
name_en: 'Название (Английский)'
name_ru: 'Название (Русский)'
name_be: 'Название (Белорусский)'
description: 'Содержание'
description_en: 'Содержание (Английский)'
description_ru: 'Содержание (Русский)'
description_be: 'Содержание (Белорусский)'
images: 'Фото'
15 changes: 15 additions & 0 deletions config/locales/models/artwork/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
artwork: "Праца"
attributes:
artwork:
title: "Назва"
title_en: "Назва (Англійская)"
title_ru: "Назва (Руская)"
title_be: "Назва (Беларуская)"
description: "Апісанне"
description_en: "Апісанне (Англійская)"
description_ru: "Апісанне (Руская)"
description_be: "Апісанне (Беларуская)"
photo: "Фота"
2 changes: 2 additions & 0 deletions config/locales/models/artwork/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
title: "Title"
title_en: "Title (English)"
title_ru: "Title (Russian)"
title_be: "Title (Belarusian)"
description: "Description"
description_en: "Description (English)"
description_ru: "Description (Russian)"
description_be: "Description (Belarusian)"
photo: "Photo"
2 changes: 2 additions & 0 deletions config/locales/models/artwork/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
title: "Название"
title_en: "Название (Английский)"
title_ru: "Название (Русский)"
title_be: "Название (Белорусский)"
description: "Описание"
description_en: "Описание (Английский)"
description_ru: "Описание (Русский)"
description_be: "Описание (Белорусский)"
photo: "Фото"
15 changes: 15 additions & 0 deletions config/locales/models/building/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
building: 'Месца'
attributes:
building:
name: 'Назва'
name_en: 'Назва (Англійская)'
name_ru: 'Назва (Руская)'
name_be: 'Назва (Беларуская)'
description: 'Апicанне'
description_en: 'Апісанне (Англійская)'
description_ru: 'Апісанне (Руская)'
description_be: 'Апісанне (Беларуская)'
photo: 'Фота'
2 changes: 2 additions & 0 deletions config/locales/models/building/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
name: 'Name'
name_en: 'Name (English)'
name_ru: 'Name (Russian)'
name_be: 'Name (Belarusian)'
description: 'Description'
description_en: 'Description (English)'
description_ru: 'Description (Russian)'
description_be: 'Description (Belarusian)'
photo: 'Photo'
2 changes: 2 additions & 0 deletions config/locales/models/building/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
name: 'Название'
name_en: 'Название (Английский)'
name_ru: 'Название (Русский)'
name_be: 'Название (Белорусский)'
description: 'Описание'
description_en: 'Описание (Английский)'
description_ru: 'Описание (Русский)'
description_be: 'Описание (Белорусский)'
photo: 'Фото'
15 changes: 15 additions & 0 deletions config/locales/models/monument/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
monument: 'Помнік'
attributes:
monument:
name: 'Назва'
name_en: 'Назва (Англійская)'
name_ru: 'Назва (Руская)'
name_be: 'Назва (Беларуская)'
description: 'Апiсанне'
description_en: 'Апісанне (Англійская)'
description_ru: 'Апісанне (Руская)'
description_be: 'Апісанне (Беларуская)'
photo: 'Фота'
2 changes: 2 additions & 0 deletions config/locales/models/monument/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
name: 'Name'
name_en: 'Name (English)'
name_ru: 'Name (Russian)'
name_be: 'Name (Belarusian)'
description: 'Description'
description_en: 'Description (English)'
description_ru: 'Description (Russian)'
description_be: 'Description (Belarusian)'
photo: 'Photo'
2 changes: 2 additions & 0 deletions config/locales/models/monument/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
name: 'Название'
name_en: 'Название (Английский)'
name_ru: 'Название (Русский)'
name_be: 'Название (Белорусский)'
description: 'Описание'
description_en: 'Описание (Английский)'
description_ru: 'Описание (Русский)'
description_be: 'Описание (Белорусский)'
photo: 'Фото'
15 changes: 15 additions & 0 deletions config/locales/models/museum/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
museum: 'Музей'
attributes:
museum:
name: 'Назва'
name_en: 'Назва (Англійская)'
name_ru: 'Назва (Руская)'
name_be: 'Назва (Беларуская)'
description: 'Апicанне'
description_en: 'Апісанне (Англійская)'
description_ru: 'Апісанне (Руская)'
description_be: 'Апісанне (Беларуская)'
photo: 'Фота'
2 changes: 2 additions & 0 deletions config/locales/models/museum/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
name: 'Name'
name_en: 'Name (English)'
name_ru: 'Name (Russian)'
name_be: 'Name (Belarusian)'
description: 'Description'
description_en: 'Description (English)'
description_ru: 'Description (Russian)'
description_be: 'Description (Belarusian)'
photo: 'Photo'
2 changes: 2 additions & 0 deletions config/locales/models/museum/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
name: 'Название'
name_en: 'Название (Английский)'
name_ru: 'Название (Русский)'
name_be: 'Название (Белорусский)'
description: 'Описание'
description_en: 'Описание (Английский)'
description_ru: 'Описание (Русский)'
description_ru: 'Описание (Белорусский)'
photo: 'Фото'
15 changes: 15 additions & 0 deletions config/locales/models/person/be.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
be:
activerecord:
models:
person: "Чалавек"
attributes:
person:
name: "Імя"
name_en: "Імя (Англійская)"
name_ru: "Імя (Руская)"
name_be: "Імя (Беларуская)"
bio: "Біяграфія"
bio_en: "Біяграфія (Англійская)"
bio_ru: "Біяграфія (Руская)"
bio_be: "Біяграфія (Беларуская)"
photo: "Фота"
2 changes: 2 additions & 0 deletions config/locales/models/person/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ en:
name: "Name"
name_en: "Name (English)"
name_ru: "Name (Russian)"
name_be: "Name (Belarusian)"
bio: "Biography"
bio_en: "Biography (English)"
bio_ru: "Biography (Russian)"
bio_be: "Biography (Belarusian)"
photo: "Photo"
2 changes: 2 additions & 0 deletions config/locales/models/person/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ru:
name: "Имя"
name_en: "Имя (Английский)"
name_ru: "Имя (Русский)"
name_be: "Имя (Белорусский)"
bio: "Биография"
bio_en: "Биография (Английский)"
bio_ru: "Биография (Русский)"
bio_be: "Биография (Белорусский)"
photo: "Фото"

0 comments on commit 6d7f48f

Please sign in to comment.