rubric assessment submission reminder messages i18n

Change-Id: I0f0f4f191d938245c1ccc96efcefa6fa85d33396
Reviewed-on: https://gerrit.instructure.com/4490
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
This commit is contained in:
JT Olds 2011-06-29 16:12:48 -06:00
parent 3fd0c63ec8
commit 736a13f6f9
5 changed files with 9 additions and 9 deletions

View File

@ -3,12 +3,12 @@
<% end %>
<% define_content :subject do %>
Reminder to Assess: <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>
<%= t :subject, "Reminder to Assess: %{rubric}, %{context}", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>
<% end %>
You've been reminded to assess: <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>:
<%= t :body, "You've been reminded to assess: %{rubric}, %{context}:", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>
<%= asset.rubric_association.description %>
You can review the assessment and submit your entry here:
<%= t :link_message, "You can review the assessment and submit your entry here:" %>
<%= content :link %>

View File

@ -2,4 +2,4 @@
http://<%= HostUrl.context_host(asset.rubric_association.context) %>/<%= asset.rubric_association.context.class.to_s.downcase.pluralize %>/<%= asset.rubric_association.context_id %>/rubrics/<%= asset.rubric_association.rubric_id %>
<% end %>
You've been reminded to assess: <b><a href="<%= content :link %>"><%= asset.rubric_association.title %></a></b> for <%= asset.rubric_association.context.name %>.
<%= t :body, "You've been reminded to assess: *%{title}* for %{context}.", :title => asset.rubric_association.title, :context => asset.rubric_association.context.name, :wrapper => "<b><a href=\"#{content :link}\">\\1</a></b>" %>

View File

@ -1,3 +1,3 @@
You've been reminded to assess: <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>.
<%= t :body, "You've been reminded to assess: %{rubric}, %{context}.", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>
More info at <%= HostUrl.default_host %>
<%= t :more_info, "More info at %{url}", :url => HostUrl.default_host %>

View File

@ -3,9 +3,9 @@
<% end %>
<% define_content :subject do %>
Reminder to Assess: <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>
<%= t :subject, "Reminder to Assess: %{rubric}, %{context}", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>
<% end %>
You've been reminded to assess: <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>:
<%= t :body, "You've been reminded to assess: %{rubric}, %{context}:", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>
<%= asset.rubric_association.description %>

View File

@ -1,4 +1,4 @@
<% define_content :link do %>
http://<%= HostUrl.context_host(asset.rubric_association.context) %>/<%= asset.rubric_association.context.class.to_s.downcase.pluralize %>/<%= asset.rubric_association.context_id %>/rubrics/<%= asset.rubric_association.rubric_id %>
<% end %>
Canvas Alert - Reminder: assess <%= asset.rubric_association.title %>, <%= asset.rubric_association.context.name %>
<%= t :tweet, "Canvas Alert - Reminder: assess %{rubric}, %{context}", :rubric => asset.rubric_association.title, :context => asset.rubric_association.context.name %>