From c947a13177557b61a8beb6b9d23dd9fb34a6de98 Mon Sep 17 00:00:00 2001 From: Nelly Simkova Date: Sat, 11 Nov 2023 10:35:03 +0300 Subject: [PATCH] Fix incorrect locale --- app/views/monuments/_form.html.erb | 2 +- app/views/museums/_form.html.erb | 2 +- config/locales/views/artworks/be.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/monuments/_form.html.erb b/app/views/monuments/_form.html.erb index 6374c76..48683f1 100644 --- a/app/views/monuments/_form.html.erb +++ b/app/views/monuments/_form.html.erb @@ -1,6 +1,6 @@ <%= form_with(model: monument, data: { turbo: false }, class: 'form-width-avg') do |form| %> <% if monument.errors.any? %> -
+

<%= t('.errors') %>

    <% monument.errors.each do |error| %> diff --git a/app/views/museums/_form.html.erb b/app/views/museums/_form.html.erb index 6b524b4..82bbe4f 100644 --- a/app/views/museums/_form.html.erb +++ b/app/views/museums/_form.html.erb @@ -1,6 +1,6 @@ <%= form_with(model: museum, data: { turbo: false }, class: 'form-width-avg') do |form| %> <% if museum.errors.any? %> -
    +

    <%= t('.errors') %>

      <% museum.errors.each do |error| %> diff --git a/config/locales/views/artworks/be.yml b/config/locales/views/artworks/be.yml index a1886a3..af9f184 100644 --- a/config/locales/views/artworks/be.yml +++ b/config/locales/views/artworks/be.yml @@ -1,4 +1,4 @@ -ru: +be: artworks: index: main_text: ": працы"