diff --git a/app/views/settings/imports/show.html.haml b/app/views/settings/imports/show.html.haml
index 4d50049d3d..dd18ac2168 100644
--- a/app/views/settings/imports/show.html.haml
+++ b/app/views/settings/imports/show.html.haml
@@ -5,9 +5,9 @@
.flash-message.warning= t('imports.mismatched_types_warning')
- if @bulk_import.overwrite?
- %p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
+ %p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, count: @bulk_import.total_items)
- else
- %p.hint= t("imports.preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
+ %p.hint= t("imports.preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, count: @bulk_import.total_items)
.simple_form
.actions
diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml
index 8463d4297d..fc043c4223 100644
--- a/config/i18n-tasks.yml
+++ b/config/i18n-tasks.yml
@@ -66,8 +66,8 @@ ignore_unused:
- 'admin_mailer.*.subject'
- 'user_mailer.*.subject'
- 'notification_mailer.*'
- - 'imports.overwrite_preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
- - 'imports.preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
+ - 'imports.overwrite_preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html.*'
+ - 'imports.preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html.*'
- 'mail_subscriptions.unsubscribe.emails.*'
- 'preferences.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use
- 'edit_profile.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use
diff --git a/config/locales/en.yml b/config/locales/en.yml
index bf45dff33a..42327ae183 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1366,19 +1366,43 @@ en:
overwrite: Overwrite
overwrite_long: Replace current records with the new ones
overwrite_preambles:
- blocking_html: You are about to replace your block list with up to %{total_items} accounts from %{filename}.
- bookmarks_html: You are about to replace your bookmarks with up to %{total_items} posts from %{filename}.
- domain_blocking_html: You are about to replace your domain block list with up to %{total_items} domains from %{filename}.
- following_html: You are about to follow up to %{total_items} accounts from %{filename} and stop following anyone else.
- lists_html: You are about to replace your lists with contents of %{filename}. Up to %{total_items} accounts will be added to new lists.
- muting_html: You are about to replace your list of muted accounts with up to %{total_items} accounts from %{filename}.
+ blocking_html:
+ one: You are about to replace your block list with up to %{count} account from %{filename}.
+ other: You are about to replace your block list with up to %{count} accounts from %{filename}.
+ bookmarks_html:
+ one: You are about to replace your bookmarks with up to %{count} post from %{filename}.
+ other: You are about to replace your bookmarks with up to %{count} posts from %{filename}.
+ domain_blocking_html:
+ one: You are about to replace your domain block list with up to %{count} domain from %{filename}.
+ other: You are about to replace your domain block list with up to %{count} domains from %{filename}.
+ following_html:
+ one: You are about to follow up to %{count} account from %{filename} and stop following anyone else.
+ other: You are about to follow up to %{count} accounts from %{filename} and stop following anyone else.
+ lists_html:
+ one: You are about to replace your lists with contents of %{filename}. Up to %{count} account will be added to new lists.
+ other: You are about to replace your lists with contents of %{filename}. Up to %{count} accounts will be added to new lists.
+ muting_html:
+ one: You are about to replace your list of muted account with up to %{count} account from %{filename}.
+ other: You are about to replace your list of muted accounts with up to %{count} accounts from %{filename}.
preambles:
- blocking_html: You are about to block up to %{total_items} accounts from %{filename}.
- bookmarks_html: You are about to add up to %{total_items} posts from %{filename} to your bookmarks.
- domain_blocking_html: You are about to block up to %{total_items} domains from %{filename}.
- following_html: You are about to follow up to %{total_items} accounts from %{filename}.
- lists_html: You are about to add up to %{total_items} accounts from %{filename} to your lists. New lists will be created if there is no list to add to.
- muting_html: You are about to mute up to %{total_items} accounts from %{filename}.
+ blocking_html:
+ one: You are about to block up to %{count} account from %{filename}.
+ other: You are about to block up to %{count} accounts from %{filename}.
+ bookmarks_html:
+ one: You are about to add up to %{count} post from %{filename} to your bookmarks.
+ other: You are about to add up to %{count} posts from %{filename} to your bookmarks.
+ domain_blocking_html:
+ one: You are about to block up to %{count} domain from %{filename}.
+ other: You are about to block up to %{count} domains from %{filename}.
+ following_html:
+ one: You are about to follow up to %{count} account from %{filename}.
+ other: You are about to follow up to %{count} accounts from %{filename}.
+ lists_html:
+ one: You are about to add up to %{count} account from %{filename} to your lists. New lists will be created if there is no list to add to.
+ other: You are about to add up to %{count} accounts from %{filename} to your lists. New lists will be created if there is no list to add to.
+ muting_html:
+ one: You are about to mute up to %{count} account from %{filename}.
+ other: You are about to mute up to %{count} accounts from %{filename}.
preface: You can import data that you have exported from another server, such as a list of the people you are following or blocking.
recent_imports: Recent imports
states: