The personal finance app for everyone (by everyone)
Ruby
fix(i18n): resolve close button label in goals dialog across all locales (#2741)
Erkan Doğan6a41b262808c
diff --git a/app/views/goals/new.html.erb b/app/views/goals/new.html.erbindex fb4162f45b..40bd104b93 100644--- a/app/views/goals/new.html.erb+++ b/app/views/goals/new.html.erb@@ -9,7 +9,7 @@<p class="text-sm text-secondary mt-0.5"><%= t(".subtitle") %></p></div></div>- <%= render DS::Button.new(variant: "icon", icon: "x", title: t("common.close"), aria_label: t("common.close"), data: { action: "DS--dialog#close" }) %>+ <%= render DS::Button.new(variant: "icon", icon: "x", title: t("defaults.common.close"), aria_label: t("defaults.common.close"), data: { action: "DS--dialog#close" }) %></div><% end %><% dialog.with_body do %>diff --git a/config/locales/defaults/ru.yml b/config/locales/defaults/ru.ymlindex 9f783c6279..a0b8608fec 100644--- a/config/locales/defaults/ru.yml+++ b/config/locales/defaults/ru.yml@@ -7,8 +7,6 @@ ru:restrict_dependent_destroy:has_many: 'Невозможно удалить запись, так как существуют зависимости: %{record}'has_one: 'Невозможно удалить запись, так как существует зависимость: %{record}'- common:- close: Закрытьdate:abbr_day_names:- Всdiff --git a/config/locales/defaults/tr.yml b/config/locales/defaults/tr.ymlindex fa5ede2bec..a27e21cd4c 100644--- a/config/locales/defaults/tr.yml+++ b/config/locales/defaults/tr.yml@@ -7,8 +7,6 @@ tr:restrict_dependent_destroy:has_many: Bağlı kayıtlar %{record} bulunduğu için kayıt silinemedihas_one: Bağlı bir kayıt %{record} bulunduğu için kayıt silinemedi- common:- close: Kapatdate:abbr_day_names:- Pzrdiff --git a/config/locales/defaults/zh-CN.yml b/config/locales/defaults/zh-CN.ymlindex fcdc2591c9..395922fc0a 100644--- a/config/locales/defaults/zh-CN.yml+++ b/config/locales/defaults/zh-CN.yml@@ -225,5 +225,3 @@ zh-CN:long: "%Y年%m月%d日 %H:%M"short: "%m月%d日 %H:%M"pm: 下午- common:- close: 关闭