Restore intended title for GPS trace view

This commit is contained in:
Tom Hughes 2022-06-19 12:52:47 +01:00
parent 8e288156d4
commit 35cd8f80cc
2 changed files with 2 additions and 1 deletions

View 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

View 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}"