From 35cd8f80ccb2edcfe85cbf366b44ac8105d702a8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 19 Jun 2022 12:52:47 +0100 Subject: [PATCH] Restore intended title for GPS trace view --- app/controllers/traces_controller.rb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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}" -- 2.39.5