fix i18n typos

This commit is contained in:
Oleksandr Turchyn
2024-09-23 11:38:08 +03:00
committed by Oleksandr Turchyn
parent c717293306
commit 8b035f80b3
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class SubmissionsController < ApplicationController
if params[:permanently].present?
@submission.destroy!
I18n.t('submission_has_been_deleted')
I18n.t('submission_has_been_removed')
else
@submission.update!(archived_at: Time.current)
@@ -3,7 +3,7 @@
<%= f.label :preserve_order, for: uuid = SecureRandom.uuid, class: 'flex items-center cursor-pointer' do %>
<%= f.check_box :preserve_order, id: uuid, class: 'base-checkbox', checked: template.submissions.last&.submitters_order.in?(['preserved', nil]) %>
<span class="label"><%= t('preserve_order') %></span>
<span class="tooltip" data-tip="<%= t('when_checked_notifications_will_be_sent_to_the_second_party_once_the_form_is_completed_by_the_previous_party') %>">
<span class="tooltip" data-tip="<%= t('when_checked_notifications_will_be_sent_to_the_second_party_once_the_form_is_completed_by_the_previous_party_uncheck_this_option_to_send_notifications_to_all_parties_simultaneously_right_away') %>">
<%= svg_icon('info_circle', class: 'w-4 h-4') %>
</span>
<% end %>
+1 -1
View File
@@ -1,4 +1,4 @@
<%= render 'shared/turbo_modal_large', title: params[:selfsign] ? t('add_recipients') : 'Add New Recipients' do %>
<%= render 'shared/turbo_modal_large', title: params[:selfsign] ? t('add_recipients') : t('add_new_recipients') do %>
<% options = [['via Email', 'email'], ['via Phone', 'phone'], %w[Detailed detailed], ['Upload List', 'list']].compact %>
<toggle-visible data-element-ids="<%= options.map(&:last).to_json %>" class="relative text-center px-2 mt-4 block">
<div class="join">