From 9cdb8f208e53eaa15dfe6ead0c47cf01e0cf43ff Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 20 Feb 2024 18:08:52 +0300 Subject: [PATCH] Move changeset feed locale strings from browse section to changesets --- app/views/changesets/index.atom.builder | 4 ++-- config/locales/en.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/changesets/index.atom.builder b/app/views/changesets/index.atom.builder index b37fee367..521dffe5f 100644 --- a/app/views/changesets/index.atom.builder +++ b/app/views/changesets/index.atom.builder @@ -25,9 +25,9 @@ atom_feed(:language => I18n.locale, :schema_date => 2009, :type => "application/osmChange+xml" if !changeset.tags.empty? && changeset.tags.key?("comment") - entry.title t("browse.changeset.feed.title_comment", :id => changeset.id, :comment => changeset.tags["comment"]) + entry.title t(".feed.title_comment", :id => changeset.id, :comment => changeset.tags["comment"]) else - entry.title t("browse.changeset.feed.title", :id => changeset.id) + entry.title t(".feed.title", :id => changeset.id) end if changeset.user.data_public? diff --git a/config/locales/en.yml b/config/locales/en.yml index d66482639..7e65005ff 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -346,9 +346,6 @@ en: comment_by_html: "Comment from %{user} %{time_ago}" changesetxml: "Changeset XML" osmchangexml: "osmChange XML" - feed: - title: "Changeset %{id}" - title_comment: "Changeset %{id} - %{comment}" join_discussion: "Log in to join the discussion" discussion: Discussion still_open: "Changeset still open - discussion will open once the changeset is closed." @@ -464,6 +461,9 @@ en: no_more_area: "No more changesets in this area." no_more_user: "No more changesets by this user." load_more: "Load more" + feed: + title: "Changeset %{id}" + title_comment: "Changeset %{id} - %{comment}" timeout: sorry: "Sorry, the list of changesets you requested took too long to retrieve." changeset_comments: -- 2.39.5