Skip to content

Commit

Permalink
Fix incorrect locale
Browse files Browse the repository at this point in the history
  • Loading branch information
sk8higher committed Nov 11, 2023
1 parent 91db26c commit c947a13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/monuments/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= form_with(model: monument, data: { turbo: false }, class: 'form-width-avg') do |form| %>
<% if monument.errors.any? %>
<div style="color: red">
<div class="alert alert-danger">
<h2><%= t('.errors') %></h2>
<ul>
<% monument.errors.each do |error| %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/museums/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= form_with(model: museum, data: { turbo: false }, class: 'form-width-avg') do |form| %>
<% if museum.errors.any? %>
<div style="color: red">
<div class="alert alert-danger">
<h2><%= t('.errors') %></h2>
<ul>
<% museum.errors.each do |error| %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/views/artworks/be.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ru:
be:
artworks:
index:
main_text: ": працы"
Expand Down

0 comments on commit c947a13

Please sign in to comment.