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">
+3 -2
View File
@@ -326,6 +326,7 @@ en: &en
bulk_send_from_excel_xlsx_or_csv: Bulk send from Excel XLSX or CSV
add_new: Add New
add_recipients: Add Recipients
add_new_recipients: Add New Recipients
add_recipients_html: <span>Add <span class="hidden md:inline">Recipients</span></span>
type_emails_here: Type emails here
or_embed_on_your_website: Or embed on your website
@@ -339,7 +340,7 @@ en: &en
re_send_sms: Re-send SMS
send_sms: Send SMS
preserve_order: Preserve order
when_checked_notifications_will_be_sent_to_the_second_party_once_the_form_is_completed_by_the_previous_party: 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.
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: 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.
upgrade_to_send_unlimited_signature_requests: Upgrade to send unlimited signature requests
add_without_sending: Add without sending
upgade_now: Upgrade Now
@@ -475,7 +476,7 @@ en: &en
please_sign_in: Please sign in.
not_found: Not found
new_recipients_have_been_added: New recipients have been added
submission_has_been_deleted: Submission has been deleted
submission_has_been_removed: Submission has been removed
submission_has_been_archived: Submission has been archived
form_has_been_completed_already: Form has been completed already.
form_has_been_archived: Form has been archived.