From bb7ef80d084f474bb4c3be0ae0d033aff3de0272 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 16 Jul 2026 05:39:27 +0200 Subject: Don't reference your own user as 'du' in action log. It breaks grammar. --- app/helpers/node_actions_helper.rb | 3 --- config/locales/de.yml | 1 - 2 files changed, 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 private def actor_ref action - if action.user && respond_to?(:current_user) && action.user == current_user - return t("node_actions.actor_self") - end action.user ? link_to(h(action.actor_name), admin_log_path(:user_id => action.user_id)) : h(action.actor_name) 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: backfilled: "rekonstruiert" show_changes: "Änderungen an Übersetzungen" view_revision: "Diese Revision ansehen" - actor_self: "du" unknown: "%{actor} hat %{action} auf %{subject} aus" publish: "%{actor} hat %{subject} veröffentlicht, (vorher: %{from})" publish_first: "%{actor} hat %{subject} zum ersten Mal veröffentlicht" -- cgit v1.3