]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for MDL-6319, to fix opposite-state links for unread tracking settings
authormoodler <moodler>
Fri, 22 Sep 2006 03:36:31 +0000 (03:36 +0000)
committermoodler <moodler>
Fri, 22 Sep 2006 03:36:31 +0000 (03:36 +0000)
lang/en_utf8/forum.php
mod/forum/view.php

index 1da56cc06dc3bb24b8fdb57fa2c7c9f5608c2d65..26fc03cb44fb2ec7178fcfaf4c9c6fc9f6b83f11 100644 (file)
@@ -90,6 +90,8 @@ $string['forumintro'] = 'Forum introduction';
 $string['forumname'] = 'Forum name';
 $string['forumposts'] = 'Forum posts';
 $string['forums'] = 'Forums';
+$string['forumtracked'] = 'Unread posts are being tracked';
+$string['forumtrackednot'] = 'Unread posts are not being tracked';
 $string['forumblockingalmosttoomanyposts'] = 'You are approaching the posting threshold. You have posted $a->numposts times in the last $a->blockperiod and the limit is $a->blockafter posts.';
 $string['forumbodyhidden'] = 'This post cannot be viewed by you, probably because you have not posted in the discussion yet.';
 $string['forumauthorhidden'] = 'Author (hidden)';
@@ -139,7 +141,7 @@ $string['noquestions'] = 'There are no questions yet in this forum';
 $string['nosubscribers'] = 'There are no subscribers yet for this forum';
 $string['nothingnew'] = 'Nothing new for $a';
 $string['notingroup'] = 'Sorry, but you need to be part of a group to see this forum.';
-$string['notrackforum'] = 'Don\'t track unread messages';
+$string['notrackforum'] = 'Don\'t track unread posts';
 $string['noviewdiscussionspermission'] = 'You do not have the permission to view discussions in this forum';
 $string['nownotsubscribed'] = '$a->name will NOT receive copies of \'$a->forum\' by email.';
 $string['nownottracking'] = '$a->name is no longer tracking \'$a->forum\'.';
@@ -233,7 +235,7 @@ $string['subscription'] = 'Subscription';
 $string['subscriptions'] = 'Subscriptions';
 $string['thisforumisthrottled'] = 'This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at $a->blockafter posting(s) in $a->blockperiod';
 $string['timestartenderror'] = 'Display end date cannot be earlier than the start date';
-$string['trackforum'] = 'Track unread messages';
+$string['trackforum'] = 'Track unread posts';
 $string['tracking'] = 'Track';
 $string['trackingon'] = 'On';
 $string['trackingoff'] = 'Off';
index 352a70f31cdd32e833f0bc26dc0ff45a480b6ea8..95541c176fb50117a60cfeec7ce49349bc713157 100644 (file)
             if (forum_tp_is_tracked($forum, $USER->id)) {
                 $trtitle = get_string('notrackforum', 'forum');
                 $trackedlink = '<a title="'.get_string('notrackforum', 'forum').'" href="settracking.php?id='.
-                               $forum->id.'&returnpage=view.php">'.get_string('notrackforum', 'forum').'</a>';
+                               $forum->id.'&returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
             } else {
                 $trtitle = get_string('trackforum', 'forum');
                 $trackedlink = '<a title="'.get_string('trackforum', 'forum').'" href="settracking.php?id='.
-                               $forum->id.'&returnpage=view.php">'.get_string('trackforum', 'forum').'</a>';
+                               $forum->id.'&returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
             }
             echo "<br />";
             echo "<span class=\"helplink\">$trackedlink</span>";