mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 06:35:37 +08:00
Move some text into localization file
This commit is contained in:
parent
95e19e1229
commit
af307eae73
3 changed files with 5 additions and 4 deletions
|
@ -4,13 +4,13 @@
|
|||
<div class="col-xs-3 col-md-1">
|
||||
<span style="display: none;" data-hook="user-notification-list-item"></span>
|
||||
<%= render partial: "user_notifications/icons/#{notification.type_of}",
|
||||
locals: {notification: notification},
|
||||
locals: { notification: notification },
|
||||
formats: [:html] %>
|
||||
</div>
|
||||
<div class="col-xs-9 col-md-11">
|
||||
<strong><%= sanitize_input(notification.title) %></strong> <br>
|
||||
<% if notification.deliver? %>
|
||||
Click the link to download the file.</br>
|
||||
<%= I18n.t('notifications.deliver.download_text') %></br>
|
||||
<% end %>
|
||||
<%= l(notification.created_at, format: :full) %> | <%= sanitize_input(notification.message) %>
|
||||
</div>
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
<%= render partial: "user_notifications/icons/#{notification.type_of}",
|
||||
locals: {notification: notification},
|
||||
locals: { notification: notification },
|
||||
formats: [:html] %>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-10">
|
||||
<strong><%= sanitize_input(notification.title) %></strong> <br>
|
||||
<% if notification.deliver? %>
|
||||
Click the link to download the file.</br>
|
||||
<%= I18n.t('notifications.deliver.download_text') %></br>
|
||||
<% end %>
|
||||
<%= l(notification.created_at, format: :full) %> | <%= sanitize_input(notification.message) %>
|
||||
</div>
|
||||
|
|
|
@ -1861,6 +1861,7 @@ en:
|
|||
system_message_description: 'System message notifications are specifically sent by site maintainers to notify all users about a system update.'
|
||||
deliver:
|
||||
download_link: "Download link:"
|
||||
download_text: "Click the link to download the file."
|
||||
email_subject: "Your SciNote export is ready!"
|
||||
email_body: "<p>The export of SciNote project(s) that you requested is ready!</p><p>You can find the link to download the file below or in your SciNote notifications. Please keep in mind that the link will expire in 7 days for security reasons.</p>"
|
||||
email_end_greeting: "<p>Best regards,</p><p>Your SciNote team</p>"
|
||||
|
|
Loading…
Add table
Reference in a new issue