summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/node_actions_helper.rb3
-rw-r--r--config/locales/de.yml1
2 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/node_actions_helper.rb b/app/helpers/node_actions_helper.rb
index ef42b75..55ca982 100644
--- a/app/helpers/node_actions_helper.rb
+++ b/app/helpers/node_actions_helper.rb
@@ -19,9 +19,6 @@ module NodeActionsHelper
19 private 19 private
20 20
21 def actor_ref action 21 def actor_ref action
22 if action.user && respond_to?(:current_user) && action.user == current_user
23 return t("node_actions.actor_self")
24 end
25 action.user ? link_to(h(action.actor_name), admin_log_path(:user_id => action.user_id)) 22 action.user ? link_to(h(action.actor_name), admin_log_path(:user_id => action.user_id))
26 : h(action.actor_name) 23 : h(action.actor_name)
27 end 24 end
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 4e7b11d..795e4d0 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -89,7 +89,6 @@ de:
89 backfilled: "rekonstruiert" 89 backfilled: "rekonstruiert"
90 show_changes: "Änderungen an Übersetzungen" 90 show_changes: "Änderungen an Übersetzungen"
91 view_revision: "Diese Revision ansehen" 91 view_revision: "Diese Revision ansehen"
92 actor_self: "du"
93 unknown: "%{actor} hat %{action} auf %{subject} aus" 92 unknown: "%{actor} hat %{action} auf %{subject} aus"
94 publish: "%{actor} hat %{subject} veröffentlicht, (vorher: %{from})" 93 publish: "%{actor} hat %{subject} veröffentlicht, (vorher: %{from})"
95 publish_first: "%{actor} hat %{subject} zum ersten Mal veröffentlicht" 94 publish_first: "%{actor} hat %{subject} zum ersten Mal veröffentlicht"