diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb
index b9589f9ca..5d2ca6ff6 100644
--- a/app/views/changesets/show.html.erb
+++ b/app/views/changesets/show.html.erb
@@ -37,7 +37,7 @@
:user => link_to(comment.author.display_name, comment.author) %>
<% if current_user&.moderator? %>
—
- <%= tag.button t("javascripts.changesets.show.#{comment.visible ? 'hide' : 'unhide'}_comment"),
+ <%= tag.button t(".#{comment.visible ? 'hide' : 'unhide'}_comment"),
:class => "btn btn-sm small btn-link link-secondary p-0 align-baseline",
:data => { :method => "POST",
:url => comment.visible ? changeset_comment_hide_url(comment) : changeset_comment_unhide_url(comment) } %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 7b4634210..0b7027f80 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -474,6 +474,8 @@ en:
still_open: "Changeset still open - discussion will open once the changeset is closed."
comment_by_html: "Comment from %{user} %{time_ago}"
hidden_comment_by_html: "Hidden comment from %{user} %{time_ago}"
+ hide_comment: "hide"
+ unhide_comment: "unhide"
changesetxml: "Changeset XML"
osmchangexml: "osmChange XML"
paging_nav:
@@ -3174,8 +3176,6 @@ en:
comment: "Comment"
subscribe: "Subscribe"
unsubscribe: "Unsubscribe"
- hide_comment: "hide"
- unhide_comment: "unhide"
edit_help: Move the map and zoom in on a location you want to edit, then click here.
directions:
ascend: "Ascend"