]> git.openstreetmap.org Git - rails.git/commitdiff
Restore intended title for GPS trace view
authorTom Hughes <tom@compton.nu>
Sun, 19 Jun 2022 11:52:47 +0000 (12:52 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 19 Jun 2022 11:52:47 +0000 (12:52 +0100)
app/controllers/traces_controller.rb
config/locales/en.yml

index 741819f65a167c3c8a149955f0d742f19a343a47..23f8ce7ec51c138f903349d7780ab62bf236a276 100644 (file)
@@ -28,7 +28,7 @@ class TracesController < ApplicationController
     @title = if target_user.nil?
                t ".public_traces"
              elsif current_user && current_user == target_user
-               t ".my_traces"
+               t ".my_gps_traces"
              else
                t ".public_traces_from", :user => target_user.display_name
              end
index 00e8068f8911fd6fd14b43b3a5cf83a2fe400ba5..3c8f09a489d48a2d4717efa3e1214687e804a5cd 100644 (file)
@@ -2354,6 +2354,7 @@ en:
       in: "in"
     index:
       public_traces: "Public GPS Traces"
+      my_gps_traces: "My GPS Traces"
       public_traces_from: "Public GPS Traces from %{user}"
       description: "Browse recent GPS trace uploads"
       tagged_with: " tagged with %{tags}"