From 35572f5db6b6854912ddd9976fe4a9e2eb6943c3 Mon Sep 17 00:00:00 2001 From: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de> Date: Fri, 29 Nov 2019 12:23:56 +0100 Subject: [PATCH] Added string for anonymous user --- classes/local/table/interaction_remaining_table.php | 2 +- lang/en/tool_lifecycle.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/local/table/interaction_remaining_table.php b/classes/local/table/interaction_remaining_table.php index c23bf58..5e6a06a 100644 --- a/classes/local/table/interaction_remaining_table.php +++ b/classes/local/table/interaction_remaining_table.php @@ -165,7 +165,7 @@ class interaction_remaining_table extends interaction_table { // Otherwise, show latest action commited by user. global $CFG; if ($row->userid == -1) { - $userlink = get_string("anonymous_user"); + $userlink = get_string("anonymous_user", 'tool_lifecycle'); } else { $userlink = \html_writer::link($CFG->wwwroot . '/user/profile.php?id=' . $row->userid, fullname($row)); } diff --git a/lang/en/tool_lifecycle.php b/lang/en/tool_lifecycle.php index f0714ad..875144a 100644 --- a/lang/en/tool_lifecycle.php +++ b/lang/en/tool_lifecycle.php @@ -163,6 +163,7 @@ $string['manual_trigger_process_existed'] = 'A workflow for this course already $string['coursename'] = 'Course name'; $string['lastaction'] = 'Last action on'; +$string['anonymous_user'] = 'Anonymous User'; $string['workflow_started'] = 'Workflow started.'; $string['workflow_is_running'] = 'Workflow is running.'; -- GitLab