From 0d0a9fc0044a77aa8f5b70761b7529e2191e5a3e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 4 Jun 2024 16:17:20 +0300 Subject: [PATCH] Move comment changeset locale string out of javascripts --- app/views/changesets/show.html.erb | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb index 5a54bd80e..a30dc8c79 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -66,7 +66,7 @@
- <%= tag.button t("javascripts.changesets.show.comment"), + <%= tag.button t(".comment"), :class => "btn btn-primary", :name => "comment", :disabled => true, diff --git a/config/locales/en.yml b/config/locales/en.yml index 0b7027f80..bad3ef025 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -476,6 +476,7 @@ en: hidden_comment_by_html: "Hidden comment from %{user} %{time_ago}" hide_comment: "hide" unhide_comment: "unhide" + comment: "Comment" changesetxml: "Changeset XML" osmchangexml: "osmChange XML" paging_nav: @@ -3173,7 +3174,6 @@ en: embed_html_disabled: HTML embedding is not available for this map layer changesets: show: - comment: "Comment" subscribe: "Subscribe" unsubscribe: "Unsubscribe" edit_help: Move the map and zoom in on a location you want to edit, then click here. -- 2.39.5