From: Tom Hughes Date: Sun, 19 Jun 2022 11:52:47 +0000 (+0100) Subject: Restore intended title for GPS trace view X-Git-Tag: live~1933 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/35cd8f80ccb2edcfe85cbf366b44ac8105d702a8 Restore intended title for GPS trace view --- diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index 741819f65..23f8ce7ec 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index 00e8068f8..3c8f09a48 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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}"