From 002220ee5291848e710ad52e7b168fa25bf85cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sat, 10 Jun 2023 08:24:20 +0200 Subject: [PATCH] "Last post" as language string fixes #150. --- lang/en/moodleoverflow.php | 1 + templates/discussions.mustache | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en/moodleoverflow.php b/lang/en/moodleoverflow.php index 23955a1580..14534d5f4c 100644 --- a/lang/en/moodleoverflow.php +++ b/lang/en/moodleoverflow.php @@ -59,6 +59,7 @@ // Strings for the view.php. $string['noviewdiscussionspermission'] = 'You do not have the permission to view discussions in this forum'; +$string['lastpost'] = 'Last post'; // Strings for the locallib.php. $string['addanewdiscussion'] = 'Add a new discussion topic'; diff --git a/templates/discussions.mustache b/templates/discussions.mustache index 48340589d3..96d87a246a 100644 --- a/templates/discussions.mustache +++ b/templates/discussions.mustache @@ -127,7 +127,7 @@ {{/userlink}}
- Last post: + {{#str}}lastpost, mod_moodleoverflow{{/str}}: