mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
settings_export: Fix plural strings in export confirmation modal.
(cherry picked from commit e9be0c54bd)
This commit is contained in:
@@ -324,8 +324,11 @@ function show_start_export_modal(): void {
|
|||||||
$("#allow_private_data_export_stats").text(
|
$("#allow_private_data_export_stats").text(
|
||||||
$t(
|
$t(
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage: `
|
||||||
"Exporting private data for {users_consented_for_export_count} users ({total_users_count} users total).",
|
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},
|
{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(
|
$("#allow_private_data_export_stats").text(
|
||||||
$t(
|
$t(
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage: `
|
||||||
"Exporting private data for {users_consented_for_export_count} users ({total_users_count} users total).",
|
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},
|
{users_consented_for_export_count, total_users_count},
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user