Make session link translatable
This commit is contained in:
@@ -19,6 +19,7 @@ $string['messageexit'] = "\$a has left this chat";
|
||||
$string['neverdeletemessages'] = "Never delete messages";
|
||||
$string['savemessages'] = "Save messages";
|
||||
$string['sessions'] = "Chat sessions";
|
||||
$string['seesession'] = "See this session";
|
||||
$string['strftimemessage'] = "%%H:%%M";
|
||||
$string['studentseereports'] = "Everyone can see past sessions";
|
||||
$string['viewreport'] = "View past chat sessions";
|
||||
|
||||
+2
-1
@@ -36,6 +36,7 @@
|
||||
$strchats = get_string("modulenameplural", "chat");
|
||||
$strchat = get_string("modulename", "chat");
|
||||
$strchatreport = get_string("chatreport", "chat");
|
||||
$strseesession = get_string("seesession", "chat");
|
||||
|
||||
/// Print a session if once has been specified
|
||||
|
||||
@@ -126,7 +127,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo "<p align=\"right\"><a href=\"report.php?id=$chat->id&start=$sessionstart&end=$sessionend\">see chat</a>";
|
||||
echo "<p align=\"right\"><a href=\"report.php?id=$chat->id&start=$sessionstart&end=$sessionend\">$strseesession</a>";
|
||||
print_simple_box_end();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user