settings_export: Fix plural strings in export confirmation modal.

(cherry picked from commit e9be0c54bd)
This commit is contained in:
PieterCK
2025-08-28 15:51:57 +07:00
committed by Tim Abbott
parent bf84c2aa19
commit 758c541d5a

View File

@@ -324,8 +324,11 @@ function show_start_export_modal(): void {
$("#allow_private_data_export_stats").text(
$t(
{
defaultMessage:
"Exporting private data for {users_consented_for_export_count} users ({total_users_count} users total).",
defaultMessage: `
Exporting private data for {users_consented_for_export_count,
plural, one {# user} other {# users}} ({total_users_count,
plural, one {# user} other {# users}} total).
`,
},
{users_consented_for_export_count, total_users_count},
),
@@ -464,8 +467,11 @@ function update_start_export_modal_stats(): void {
$("#allow_private_data_export_stats").text(
$t(
{
defaultMessage:
"Exporting private data for {users_consented_for_export_count} users ({total_users_count} users total).",
defaultMessage: `
Exporting private data for {users_consented_for_export_count,
plural, one {# user} other {# users}} ({total_users_count,
plural, one {# user} other {# users}} total).
`,
},
{users_consented_for_export_count, total_users_count},
),