i18n new_a* messages
Change-Id: I150ac704da01a58f4e948f05c1d4b916056d2976 Reviewed-on: https://gerrit.instructure.com/4519 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Brian Palmer <brianp@instructure.com>
This commit is contained in:
parent
a758284f09
commit
174c1968c1
|
@ -1,9 +1,9 @@
|
|||
<% define_content :link do %>http://<%= HostUrl.default_host %><% end %>
|
||||
<% define_content :subject do %>
|
||||
New Account User
|
||||
<%= t :subject, "New Account User" %>
|
||||
<% end %>
|
||||
|
||||
New Account Admin for <%= asset.account.name %>
|
||||
<%= t :body, "New Account Admin for %{account}", :account => asset.account.name %>
|
||||
|
||||
A new admin, <%= asset.user.name %>, has been added for the account <%= asset.account.name %>
|
||||
<%= t :details, "A new admin, %{user}, has been added for the account %{account}", :user => asset.user.name, :account => asset.account.name %>
|
||||
<%= content :link %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% define_content :link do %>http://<%= HostUrl.default_host %><% end %>
|
||||
|
||||
New Account Admin for <%= asset.account.name %>
|
||||
<%= t :subject, "New Account Admin for %{account}", :account => asset.account.name %>
|
||||
|
||||
A new admin <b><%= asset.user.name %></b> has been added for the account <b><%= asset.account.name %></b>.
|
||||
<%= mt :body, "A new admin **%{user}** has been added for the account **%{account}**.", :user => asset.user.name, :account => asset.account.name %>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
A new admin, <%= asset.user.name %>, has been added for the account <%= asset.account.name %>
|
||||
<%= t :body, "A new admin, %{user}, has been added for the account %{account}", :user => asset.user.name, :account => asset.account.name %>
|
||||
|
||||
More info at <%= HostUrl.default_host %>
|
||||
<%= t :details, "More info at %{website}", :website => HostUrl.default_host %>
|
|
@ -1,6 +1,6 @@
|
|||
<% define_content :link do %>http://<%= HostUrl.default_host %><% end %>
|
||||
<% define_content :subject do %>
|
||||
New Account User
|
||||
<%= t :subject, "New Account User" %>
|
||||
<% end %>
|
||||
|
||||
A new admin, <%= asset.user.name %>, has been added for the account <%= asset.account.name %>
|
||||
<%= t :body, "A new admin, %{user}, has been added for the account %{account}", :user => asset.user.name, :account => asset.account.name %>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<% define_content :link do %>http://<%= HostUrl.default_host %><% end %>
|
||||
Canvas Alert - New Admin: <%= asset.user.name %>, <%= asset.account.name %>
|
||||
<%= t :body, "Canvas Alert - New Admin: %{user}, %{account}", :user => asset.user.name, :account => asset.account.name %>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<% end %>
|
||||
|
||||
<% define_content :subject do %>
|
||||
<%= asset.title %>: <%= asset.context.name %>
|
||||
<%= before_label asset.title %> <%= asset.context.name %>
|
||||
<% end %>
|
||||
|
||||
<%= strip_and_truncate(asset.message, :max_length => 500) %>
|
||||
<% if asset.attachment %>File Included: <%= asset.attachment.display_name %> - <%= asset.attachment.readable_size %>
|
||||
<% if asset.attachment %><%= before_label :file_included, "File Included" %> <%= asset.attachment.display_name %> - <%= asset.attachment.readable_size %>
|
||||
http://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.base_ar_class.to_s.downcase.pluralize %>/<%= asset.context_id %>/files/<%= asset.attachment_id %>/download<% end %>
|
||||
|
||||
<%= content :link %>
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
http://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.base_ar_class.to_s.downcase.pluralize %>/<%= asset.context_id %>/announcements
|
||||
<% end %>
|
||||
|
||||
New Announcement: <b><a href="<%= content :link %>"><%= asset.title %></a></b>, <%= asset.context.name %>
|
||||
<%= t :body, "New Announcement: %{title}, %{course}", :title => %{<b><a href="#{ content :link }">#{h asset.title}</a></b>}.html_safe, :course => asset.context.name %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
New announcement: <%= asset.title %>, <%= asset.context.name %>
|
||||
<%= t :subject, "New announcement: %{title}, %{course}", :title => asset.title, :course => asset.context.name %>
|
||||
|
||||
<%= strip_and_truncate(asset.message, :max_length => 50) %>
|
||||
|
||||
More info at <%= HostUrl.context_host(asset.context) %>
|
||||
<%= t :details, "More info at %{url}", :url => HostUrl.context_host(asset.context) %>
|
|
@ -3,7 +3,7 @@
|
|||
<% end %>
|
||||
|
||||
<% define_content :subject do %>
|
||||
<%= asset.title %>: <%= asset.context.name %>
|
||||
<%= before_label asset.title %> <%= asset.context.name %>
|
||||
<% end %>
|
||||
|
||||
<%= strip_and_truncate(asset.message, :max_length => 500) %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% define_content :link do %>
|
||||
http://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.base_ar_class.to_s.downcase.pluralize %>/<%= asset.context_id %>/announcements
|
||||
<% end %>
|
||||
Canvas Alert - Announcement: <%= asset.title %>, <%= asset.context.name %>.
|
||||
<%= t :body, "Canvas Alert - Announcement: %{title}, %{course}.", :title => asset.title, :course => asset.context.name %>
|
||||
<%= strip_and_truncate(asset.message, :max_length => 50) %>
|
||||
|
|
Loading…
Reference in New Issue