From: Anton Khorev Date: Tue, 4 Jun 2024 13:17:20 +0000 (+0300) Subject: Move comment changeset locale string out of javascripts X-Git-Tag: live~451^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0d0a9fc0044a77aa8f5b70761b7529e2191e5a3e?ds=inline;hp=-c Move comment changeset locale string out of javascripts --- 0d0a9fc0044a77aa8f5b70761b7529e2191e5a3e 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.