]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4530'
authorTom Hughes <tom@compton.nu>
Tue, 20 Feb 2024 18:29:44 +0000 (18:29 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 20 Feb 2024 18:29:44 +0000 (18:29 +0000)
app/views/changesets/index.atom.builder
config/locales/en.yml

index b37fee36755848a613da8f2295ae2134a039e530..521dffe5f1aa5e3b0217014bf8503d284118fc3f 100644 (file)
@@ -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?
index 633e8b1eda563be1c342343ad363c345e5192d9b..e6fde54c2625674ef5f08254454ad1e0974f73e3 100644 (file)
@@ -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: