Skip to content
Snippets Groups Projects
Commit a22e742b authored by gnaegi's avatar gnaegi
Browse files

OO-377 improved wording, typo in comment, filter html in course description in emails

parent ac3d30fd
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ import org.olat.repository.RepositoryEntryShort;
public class BGMailHelper {
/**
* The mail templated when adding users to a group. The method chooses
* The mail template when adding users to a group. The method chooses
* automatically the right translator for the given group type to customize
* the template text
*
......@@ -73,7 +73,7 @@ public class BGMailHelper {
}
/**
* The mail templated when removing users from a group. The method chooses
* The mail template when removing users from a group. The method chooses
* automatically the right translator for the given group type to customize
* the template text
*
......@@ -88,7 +88,7 @@ public class BGMailHelper {
}
/**
* The mail templated when deleting a whole group. The method chooses
* The mail template when deleting a whole group. The method chooses
* automatically the right translator for the given group type to customize
* the template text
*
......@@ -103,7 +103,7 @@ public class BGMailHelper {
}
/**
* The mail templated when a user added himself to a group. The method chooses
* The mail template when a user added himself to a group. The method chooses
* automatically the right translator for the given group type to customize
* the template text
*
......@@ -118,7 +118,7 @@ public class BGMailHelper {
}
/**
* The mail templated when a user removed himself from a group. The method
* The mail template when a user removed himself from a group. The method
* chooses automatically the right translator for the given group type to
* customize the template text
*
......@@ -133,7 +133,7 @@ public class BGMailHelper {
}
/**
* The mail templated when adding users to a waitinglist. The method chooses
* The mail template when adding users to a waitinglist. The method chooses
* automatically the right translator for the given group type to customize
* the template text
*
......@@ -148,7 +148,7 @@ public class BGMailHelper {
}
/**
* The mail templated when removing users from a waiting list. The method
* The mail template when removing users from a waiting list. The method
* chooses automatically the right translator for the given group type to
* customize the template text
*
......@@ -163,7 +163,7 @@ public class BGMailHelper {
}
/**
* The mail templated when automatically transferring users from the
* The mail template when automatically transferring users from the
* waitinglist to the participants list adding users to a waitinglist. The
* method chooses automatically the right translator for the given group type
* to customize the template text
......
......@@ -39,7 +39,7 @@ chelp.membLearn2=Hier k\u00F6nnen Sie bestimmen, wer die Mitglieder und Wartelis
chelp.membLearn5=Wenn Sie eine neue Gruppe erstellen, sind Sie automatisch Betreuer dieser Gruppe. Betreuer der Gruppe erhalten den Link "$org.olat.group.ui.run\:menutree.administration" im Menu.
chelp.membLearn6=Sie k\u00F6nnen die $org.olat.group.ui\:LearningGroup also administrieren, insbesondere auch andere Benutzer zu Betreuern ernennen und die Gruppe löschen.
chelp.membLearn7=$org.olat.group.ui\:fieldset.legend.groupowners k\u00F6nnen beliebige Benutzer als $\:fieldset.legend.grouppartips in die Gruppe einladen.
chelp.membLearn8=Betreuer können die Kandidaten in der Warteliste als Teilnehmer übernehmen oder aus der Warteliste entfernen. In beiden Fällen können sie bestimmen, ob die Benutzer darüber per Email notifiziert werden sollen und können gegenfalls den Emailtext anpassen.
chelp.membLearn8=Betreuer können die Kandidaten in der Warteliste als Teilnehmer zulassen oder aus der Warteliste entfernen. In beiden Fällen können sie bestimmen, ob die Benutzer darüber per Email notifiziert werden sollen und können gegenfalls den Emailtext anpassen.
chelp.resource1=Hier legen Sie fest, ob und mit welchen Kursen eine Gruppe verbunden ist. Über "$:cmd.addresource" können Sie die Kurse einbinden, bei denen Sie als Besitzer eingetragen sind. Es gibt keine Beschränkung der Anzahl eingebundener Kurse.
chelp.resource2=Sobald die Gruppe mit mindestens einem Kurs verbunden wurde, erscheint der Eintrag "Kurs" in der Navigation.
chelp.right1=Sie haben die M\u00F6glichkeit, den Mitgliedern der Gruppe innerhalb des Kurses die Berechtigung f\u00FCr den Zugriff und die Verwendung der folgenden Werkzeuge zu vergeben\:
......
......@@ -39,7 +39,7 @@ chelp.membLearn2=Here you can decide which user groups are allowed to view the m
chelp.membLearn5=If you create a new group, you are automatically one of the coaches of this group. Coaches of this group will see the link "$org.olat.group.ui.run\:menutree.administration" in the menu. They can then administer this group, appoint other users as owners and delete the group.
chelp.membLearn6=They can then administer that group and appoint other OLAT users as coaches.
chelp.membLearn7=Coaches can invite users to be participants of their group.
chelp.membLearn8=Coaches can accept candidates from a waiting list as participants or delete them. Either way you can determine if users should be notified via e-mail; its text will be adaptable.
chelp.membLearn8=Coaches can admit candidates from a waiting list as participants or delete them. Either way you can determine if users should be notified via e-mail; its text will be adaptable.
chelp.resource1=Here you can determine whether a group is connected to one or multiple courses. Clicking on "$:cmd.addresource" allows you to link as many courses you are owner of with the group. There is no limit to the number of embedded courses.
chelp.resource2=Once the group has been associated with at least one course, the entry "Course" appears in the navigation.
chelp.right1=You have the possibility to assign access rights as well as the right to use the following tools to members of a group with the same rights during this course\:
......
......@@ -147,7 +147,7 @@ edit.member.title=Mitgliederrechte Kurs "{0}"
table.header.edit=Bearbeiten
table.header.remove=Entfernen
table.header.graduate=\u00DCbernehmen
table.header.graduate=Zulassen
tbl_graduate=$:table.header.graduate
table.header.firstName=Vorname
table.header.lastName=Name
......
......@@ -95,7 +95,7 @@ table.header.description=Description
table.header.edit=Edit
table.header.firstTime=Registration
table.header.freePlaces=Slots
table.header.graduate=Promote
table.header.graduate=Admit
table.header.group.full=Full
table.header.key=ID
table.header.lastTime=Last visit
......
<h4 class="b_with_small_icon_left b_group_icon">
$name
</h4>
$r.translate("group.on.waitinglist")
\ No newline at end of file
<p class="b_warning">
$r.translate("group.on.waitinglist")
</p>
\ No newline at end of file
......@@ -27,7 +27,9 @@ import org.olat.core.gui.translator.Translator;
import org.olat.core.id.Identity;
import org.olat.core.id.User;
import org.olat.core.id.UserConstants;
import org.olat.core.util.StringHelper;
import org.olat.core.util.Util;
import org.olat.core.util.filter.FilterFactory;
import org.olat.core.util.i18n.I18nManager;
import org.olat.core.util.mail.MailContext;
import org.olat.core.util.mail.MailContextImpl;
......@@ -139,7 +141,7 @@ public class RepositoryMailing {
private static MailTemplate createMailTemplate(RepositoryEntry re, Identity actor, String subjectKey, String bodyKey) {
// build learning resources as list of url as string
final String reName = re.getDisplayname();
final String redescription = re.getDescription();
final String redescription = (StringHelper.containsNonWhitespace(re.getDescription()) ? FilterFactory.getHtmlTagAndDescapingFilter().filter(re.getDescription()) : "");
// get some data about the actor and fetch the translated subject / body via i18n module
String[] bodyArgs = new String[] {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment