Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40804

Assignments Reminder: Localize the reminder email content

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      SAK-40544 is an amazing feature but has some know I18N issues, the reminder email content is hardcoded and should be localized.

      https://github.com/sakaiproject/sakai/blob/master/assignment/impl/src/java/org/sakaiproject/assignment/impl/reminder/AssignmentDueReminderServiceImpl.java#L155

      String subject = "Assignment '" + assignmentTitle + "' Due on " + formattedDateDue;
      StringBuilder body = new StringBuilder();
      body.append("Hello ");
      body.append(getUserFirstName(submitter.getUserId()));
      body.append(",<br />");
      body.append("<br />");
      body.append("Reminder: An assignment of yours is due within 24 hours.");
      body.append("<br />");
      body.append("<ul>");
      body.append("<li> Assignment : ").append(assignment.getTitle()).append("</li>");
      body.append("<li> Due : ").append(formattedDateDue).append("</li>");
      body.append("<li> Class : ").append(courseName).append("</li>");
      body.append("</ul>");
      body.append("<br />");
      body.append("Have a nice day!");
      body.append("<br />");
      body.append("- ").append(getServiceName());
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  farreri Miguel Pellicer
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration