Be more consistent with 'my' vs 'your' for objects that belong to

the user
This commit is contained in:
Andy Allan 2018-03-28 17:07:50 +08:00
parent 1f2ac59d1d
commit 3b75e92415
4 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ class TraceController < ApplicationController
@title = if target_user.nil?
t "trace.list.public_traces"
elsif current_user && current_user == target_user
t "trace.list.your_traces"
t "trace.list.my_traces"
else
t "trace.list.public_traces_from", :user => target_user.display_name
end