mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Bump ruby to 3.0.6 (#218)
* Bump ruby to 2.7.8 * Bump listen to 3.5.1 (remove dependency on ruby_dep) * Bump ruby to 3.0.6 * Fix I18n.translate arguments: from hash to keyword arguments
This commit is contained in:
committed by
GitHub
parent
5b9edd4745
commit
10f06c9760
@@ -1,4 +1,4 @@
|
||||
<p><%= t('mailers.devise.welcome_greeting', { email: @email, site_name: Current.tenant_or_raise!.site_name }) %></p>
|
||||
<p><%= t('mailers.devise.welcome_greeting', email: @email, site_name: Current.tenant_or_raise!.site_name) %></p>
|
||||
|
||||
<p><%= t('mailers.devise.confirmation_instructions.body') %></p>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<p><%= t('mailers.devise.opening_greeting', { email: @email }) %></p>
|
||||
<p><%= t('mailers.devise.opening_greeting', email: @email) %></p>
|
||||
|
||||
<% if @resource.try(:unconfirmed_email?) %>
|
||||
<p><%= t('mailers.devise.email_changed.body', { email: @resource.unconfirmed_email }) %></p>
|
||||
<p><%= t('mailers.devise.email_changed.body', email: @resource.unconfirmed_email) %></p>
|
||||
<% else %>
|
||||
<p><%= t('mailers.devise.email_changed.body', { email: @resource.email }) %></p>
|
||||
<p><%= t('mailers.devise.email_changed.body', email: @resource.email) %></p>
|
||||
<% end %>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<p><%= t('mailers.devise.opening_greeting', { email: @resource.email }) %></p>
|
||||
<p><%= t('mailers.devise.opening_greeting', email: @resource.email) %></p>
|
||||
|
||||
<p><%= t('mailers.devise.password_change.body') %></p>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<p><%= t('mailers.devise.opening_greeting', { email: @resource.email }) %></p>
|
||||
<p><%= t('mailers.devise.opening_greeting', email: @resource.email) %></p>
|
||||
|
||||
<p><%= t('mailers.devise.reset_password.body') %></p>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<% if @minimum_password_length %>
|
||||
<small id="passwordHelp" class="form-text text-muted">
|
||||
(<%= t('common.forms.auth.password_help', { count: @minimum_password_length }) %>)
|
||||
(<%= t('common.forms.auth.password_help', count: @minimum_password_length) %>)
|
||||
</small>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<hr />
|
||||
<% @o_auths.each do |o_auth| %>
|
||||
<p>
|
||||
<%= link_to t('common.forms.auth.sign_up_with', { o_auth: o_auth.name }),
|
||||
<%= link_to t('common.forms.auth.sign_up_with', o_auth: o_auth.name),
|
||||
o_auth_start_path(o_auth, reason: 'user') %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<hr />
|
||||
<% @o_auths.each do |o_auth| %>
|
||||
<p>
|
||||
<%= link_to t('common.forms.auth.log_in_with', { o_auth: o_auth.name }),
|
||||
<%= link_to t('common.forms.auth.log_in_with', o_auth: o_auth.name),
|
||||
o_auth_start_path(o_auth, reason: 'user') %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= t('site_settings.authentication.test_page.title', { name: @o_auth.name }) %></title>
|
||||
<title><%= t('site_settings.authentication.test_page.title', name: @o_auth.name) %></title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><%= t('site_settings.authentication.test_page.title', { name: @o_auth.name }) %></h1>
|
||||
<h1><%= t('site_settings.authentication.test_page.title', name: @o_auth.name) %></h1>
|
||||
|
||||
<div>
|
||||
<h2><%= t('site_settings.authentication.test_page.fetched_user_data') %></h2>
|
||||
@@ -36,7 +36,7 @@
|
||||
<% end %>
|
||||
|
||||
<% if @email_valid and not @name_valid %>
|
||||
<p><%= t('site_settings.authentication.test_page.warning_configuration', { name: t('defaults.user_full_name') }) %></p>
|
||||
<p><%= t('site_settings.authentication.test_page.warning_configuration', name: t('defaults.user_full_name')) %></p>
|
||||
<% end %>
|
||||
|
||||
<% if not @email_valid %>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p>
|
||||
<%= t('mailers.user.notify_comment_owner.body', { user: @comment.user.full_name, post: @comment.post.title }) %>
|
||||
<%= t('mailers.user.notify_comment_owner.body', user: @comment.user.full_name, post: @comment.post.title) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p>
|
||||
<%= t('mailers.user.notify_followers_of_post_status_change.body', { post: @post }) %>
|
||||
<%= t('mailers.user.notify_followers_of_post_status_change.body', post: @post) %>
|
||||
<span style='background-color: <%= @post.post_status.color %>; color: white;'%>>
|
||||
<%= @post.post_status.name %>
|
||||
</span>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p>
|
||||
<%= t('mailers.user.notify_followers_of_post_update.body', { user: @comment.user.full_name, post: @comment.post.title }) %>
|
||||
<%= t('mailers.user.notify_followers_of_post_update.body', user: @comment.user.full_name, post: @comment.post.title) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p>
|
||||
<%= t('mailers.user.notify_post_owner.body', { user: @comment.user.full_name, post: @comment.post.title }) %>
|
||||
<%= t('mailers.user.notify_post_owner.body', user: @comment.user.full_name, post: @comment.post.title) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user