From 31d160d3b9ad3882d0da4ed027501b535b2534f6 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 15 Aug 2002 17:41:24 +0000 Subject: [PATCH] Forum language fixes, and addition of help for separate/connected knowing --- lang/en/forum.php | 15 ++++++++ lang/en/help/waysofknowing.html | 67 +++++++++++++++++++++++++++++++++ lang/en/moodle.php | 9 +++-- mod/forum/lib.php | 4 +- mod/forum/mod.html | 29 +++++++------- mod/forum/subscribe.php | 10 ++--- mod/forum/view.php | 31 ++++++++------- 7 files changed, 129 insertions(+), 36 deletions(-) create mode 100755 lang/en/help/waysofknowing.html diff --git a/lang/en/forum.php b/lang/en/forum.php index abdcf0cb0b..56aed5e366 100644 --- a/lang/en/forum.php +++ b/lang/en/forum.php @@ -6,7 +6,12 @@ $string[modulenameplural] = "Forums"; #------------------------------------------------------------ $string[addanewdiscussion] = "Add a new discussion topic"; +$string[allowchoice] = "Allow everyone to choose"; +$string[allowdiscussions] = "Can a \$a start new discussions?"; +$string[allowratings] = "Allow posts to be rated?"; +$string[allowsdiscussions] = "This forum allows each person to start one discussion topic."; $string[bynameondate] = "by \$a->name - \$a->date"; +$string[canstudentsstart] = "Can a \$a start new discussions?"; $string[delete] = "Delete"; $string[discussion] = "Discussion"; $string[discussions] = "Discussions"; @@ -14,8 +19,15 @@ $string[discussionsstartedby] = "Discussions started by \$a"; $string[discussthistopic] = "Discuss this topic"; $string[eachuserforum] = "Each person posts one discussion"; $string[edit] = "Edit"; +$string[everyonecanchoose] = "Everyone can choose to be subscribed"; +$string[everyoneissubscribed] = "Everyone is subscribed to this forum"; +$string[forcesubscribe] = "Force everyone to be subscribed"; +$string[forcesubscribeq] = "Force everyone to be subscribed?"; $string[forum] = "Forum"; +$string[forumintro] = "Forum introduction"; +$string[forumname] = "Forum name"; $string[forums] = "Forums"; +$string[forumtype] = "Forum type"; $string[generalforum] = "Standard forum for general use"; $string[generalforums] = "General forums"; $string[inforum] = "in \$a"; @@ -35,6 +47,8 @@ $string[nameteacher] = "Teacher forum"; $string[nodiscussions] = "There are no discussion topics yet in this forum"; $string[noposts] = "No posts"; $string[nosubscribers] = "There are no subscribers yet for this forum"; +$string[nownotsubscribed] = "You are now NOT SUBSCRIBED to receive '\$a' by email."; +$string[nowsubscribed] = "You are now SUBSCRIBED to receive '\$a' by email."; $string[numposts] = "\$a posts"; $string[olderdiscussions] = "Older discussions"; $string[parentofthispost] = "Parent of this post"; @@ -68,6 +82,7 @@ $string[reply] = "Reply"; $string[search] = "Search"; $string[searchforums] = "Search forums"; $string[sendinratings] = "Send in my latest ratings"; +$string[showsubscribers] = "Show subscribers"; $string[singleforum] = "A single simple discussion"; $string[subject] = "Subject"; $string[subscribe] = "Subscribe to this forum"; diff --git a/lang/en/help/waysofknowing.html b/lang/en/help/waysofknowing.html new file mode 100755 index 0000000000..a63696c800 --- /dev/null +++ b/lang/en/help/waysofknowing.html @@ -0,0 +1,67 @@ +

Separate and Connected Ways of Knowing

+ +

This page explains a theory that may help you to look at human interactions + in a new way. It describes two different ways that we can evaluate and learn + about the things we see and hear - called separate and connected ways + of knowing.

+

Although each of us may use these two methods in different amounts at different + times, it may be useful to imagine two people as examples, one who is a mostly + separate knower (Jim) and the other a mostly connected knower (Mary).

+ +

Did you notice in these examples that the separate knower is male and the connected + knower is female? Some studies have shown that statistically this tends to be + the case, however individual people can be anywhere in the spectrum between + these two extremes.

+

For a collaborative and effective group of learners it may be best if everyone + were able to use BOTH ways of knowing.

+

In a particular situation like an online forum, a single post by a person may + exhibit either of these characteristics, or even both. Someone who is generally + very connected may post a very separate-sounding message, and vice versa. The + purpose of rating each post using this scale is to:

+
+

a) help you think about these issues when reading other people's posts
+ b) provide feedback to each author on how they are being seen by others

+
+

The results are not used towards student assessment in any way, they are just + to help improve communication and learning.

+
+


+ In case you're interested, here are some references to papers by the authors + who originally developed these ideas:

+ + diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 00b5ce0ecf..9980a5efbf 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -194,6 +194,8 @@ $string[missingstudent] = "Must choose something"; $string[missingsummary] = "Missing summary"; $string[missingteacher] = "Must choose something"; $string[missingusername] = "Missing username"; +$string[modulesetup] = "Setting up module tables"; +$string[modulesuccess] = "\$a tables have been set up correctly"; $string[mostrecently] = "most recently"; $string[movedown] = "Move down"; $string[moveup] = "Move up"; @@ -274,6 +276,7 @@ $string[savechanges] = "Save changes"; $string[section] = "Section"; $string[selectacountry] = "Select a country"; $string[senddetails] = "Send my details via email"; +$string[separateandconnected] = "Separate and Connected ways of knowing"; $string[serverlocaltime] = "Server's local time"; $string[settings] = "Settings"; $string[shortname] = "Short name"; @@ -285,7 +288,6 @@ $string[showonlytopic] = "Show only topic \$a"; $string[showonlyweek] = "Show only week \$a"; $string[showtheselogs] = "Show these logs"; $string[socialheadline] = "Social forum - latest topics"; -$string[yourlastlogin] = "Your last login was"; $string[site] = "Site"; $string[sites] = "Sites"; $string[sitelogs] = "Site logs"; @@ -299,8 +301,6 @@ $string[success] = "Success"; $string[summary] = "Summary"; $string[summaryof] = "Summary of \$a"; $string[supplyinfo] = "Please supply some information about yourself"; -$string[modulesetup] = "Setting up module tables"; -$string[modulesuccess] = "\$a tables have been set up correctly"; $string[teacherforum] = "Teacher forum"; $string[teacheronly] = "for the \$a only"; $string[textformat] = "Plain text format"; @@ -346,7 +346,8 @@ $string[wordforstudent] = "Your word for Student"; $string[wordforstudenteg] = "eg Student, Participant etc"; $string[wrongpassword] = "Incorrect password for this username"; $string[yes] = "Yes"; -$string[yourteacher] = "your \$a"; +$string[yourlastlogin] = "Your last login was"; $string[yourself] = "yourself"; +$string[yourteacher] = "your \$a"; ?> diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 6aceaf6397..1539ae95ea 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -946,7 +946,9 @@ function forum_print_discussion($course, $forum, $discussion, $post, $mode) { } if ($ratingform) { - echo "

"; + echo "

"; + helpbutton("waysofknowing", get_string("separateandconnected")); + echo "

"; echo ""; } } diff --git a/mod/forum/mod.html b/mod/forum/mod.html index 4e176e11e1..342c7ef9c6 100644 --- a/mod/forum/mod.html +++ b/mod/forum/mod.html @@ -2,13 +2,13 @@ - + - + - + - + - + - +

Forum Name:

:

Type of Forum:

:

student); @@ -20,31 +20,34 @@

Forum Introduction:

:

Can student?>s start new discussions?:

student") ?>:

- open == 1) echo "CHECKED"; ?> >Yes - open == 0) echo "CHECKED"; ?> >No + + open == 1) echo "CHECKED"; ?> > + open == 0) echo "CHECKED"; ?> >

Will this forum contain assessments?:

+ + :

- assessed == 1) echo "CHECKED"; ?> >Yes - assessed == 0) echo "CHECKED"; ?> >No + assessed == 1) echo "CHECKED"; ?> > + assessed == 0) echo "CHECKED"; ?> >

Force everyone to be subscribed to this forum?:

:

- forcesubscribe == 1) echo "CHECKED"; ?> >Yes - forcesubscribe == 0) echo "CHECKED"; ?> >No + forcesubscribe == 1) echo "CHECKED"; ?> > + forcesubscribe == 0) echo "CHECKED"; ?> >
@@ -56,6 +59,6 @@ - +"> diff --git a/mod/forum/subscribe.php b/mod/forum/subscribe.php index 12acc32eb9..e1b97358d6 100644 --- a/mod/forum/subscribe.php +++ b/mod/forum/subscribe.php @@ -37,21 +37,21 @@ if ($force and isteacher($course->id)) { if (forum_is_forcesubscribed($forum->id)) { forum_forcesubscribe($forum->id, 0); - redirect($returnto, "Everyone can choose their own subscription to this forum", 1); + redirect($returnto, get_string("everyonecanchoose", "forum"), 1); } else { forum_forcesubscribe($forum->id, 1); - redirect($returnto, "Everyone is now subscribed to this forum", 1); + redirect($returnto, get_string("everyoneissubscribed", "forum"), 1); } } if (forum_is_forcesubscribed($forum->id)) { - redirect($returnto, "Everyone is subscribed to this forum", 1); + redirect($returnto, get_string("everyoneissubscribed", "forum"), 1); } if ( forum_is_subscribed($USER->id, $forum->id) ) { if (forum_unsubscribe($USER->id, $forum->id) ) { add_to_log($course->id, "forum", "unsubscribe", "view.php?f=$forum->id", "$forum->id"); - redirect($returnto, "You are now NOT subscribed to receive '$forum->name' by email.", 1); + redirect($returnto, get_string("nownotsubscribed", "forum", "$forum->name"), 1); } else { error("Could not unsubscribe you from that forum", "$HTTP_REFERER"); } @@ -59,7 +59,7 @@ } else { // subscribe if (forum_subscribe($USER->id, $forum->id) ) { add_to_log($course->id, "forum", "subscribe", "view.php?f=$forum->id", "$forum->id"); - redirect($returnto, "You are now subscribed to recieve '$forum->name' by email.", 1); + redirect($returnto, get_string("nowsubscribed", "forum", "$forum->name"), 1); } else { error("Could not subscribe you to that forum", "$HTTP_REFERER"); } diff --git a/mod/forum/view.php b/mod/forum/view.php index 87ce370914..587169fec8 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -37,12 +37,14 @@ error("Must specify a course module or a forum ID"); } + $strforums = get_string("modulenameplural", "forum"); + if ($course->category) { require_login($course->id); $navigation = "id\">$course->shortname -> - id\">Forums ->"; + id\">$strforums ->"; } else { - $navigation = "id\">Forums ->"; + $navigation = "id\">$strforums ->"; } if ($forum->type == "teacher") { @@ -60,32 +62,35 @@ $SESSION->fromdiscussion = "$FULLME"; save_session("SESSION"); if (forum_is_forcesubscribed($forum->id)) { - $subtext = "Everyone is subscribed to this forum"; + $streveryoneissubscribed = get_string("everyoneissubscribed", "forum"); + $strallowchoice = get_string("allowchoice", "forum"); if (isteacher($course->id)) { echo "
"; - echo "id&force=no\">$subtext"; + echo "id&force=no\">$streveryoneissubscribed"; echo "
"; } else { - echo "
$subtext
"; + echo "
$streveryoneissubscribed
"; } } else { - $subtext = "Everyone can choose to be subscribed"; + $streveryonecanchoose = get_string("everyonecanchoose", "forum"); + $strforcesubscribe = get_string("forcesubscribe", "forum"); + $strshowsubscribers = get_string("showsubscribers", "forum"); if (isteacher($course->id)) { echo "
"; - echo "id&force=yes\">$subtext"; + echo "id&force=yes\">$streveryonecanchoose"; echo "
"; - $subtext = "id\">Show subscribers"; + $subtext = "id\">$strshowsubscribers"; echo "
$subtext
"; } else { - echo "
$subtext
"; + echo "
$streveryonecanchoose
"; } if (forum_is_subscribed($USER->id, $forum->id)) { - $subtext = "Unsubscribe me"; + $subtext = get_string("unsubscribe", "forum"); } else { - $subtext = "Subscribe me"; + $subtext = get_string("subscribe", "forum"); } - $subtext = "id\">$subtext"; + $subtext = "id\">$subtext"; echo "
$subtext
"; } } @@ -112,7 +117,7 @@ print_simple_box(text_to_html($forum->intro), "CENTER"); echo "

"; if (forum_user_can_post_discussion($forum)) { - echo "This forum allows each person to start one discussion topic."; + print_string("allowsdiscussions", "forum"); } else { echo " "; } -- 2.39.5