Use plural forms for date_of_birth prompt

This commit is contained in:
Claire 2025-05-07 14:31:48 +02:00
parent 6ac29ab1ac
commit 35dc12c3a2
2 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,7 @@
.fields-group
= f.input :date_of_birth,
as: :date_of_birth,
hint: t('simple_form.hints.user.date_of_birth', age: Setting.min_age.to_i),
hint: t('simple_form.hints.user.date_of_birth', count: Setting.min_age.to_i),
required: true,
wrapper: :with_block_label

View File

@ -148,7 +148,9 @@ en:
min_age: Should not be below the minimum age required by the laws of your jurisdiction.
user:
chosen_languages: When checked, only posts in selected languages will be displayed in public timelines
date_of_birth: We have to make sure you're at least %{age} to use Mastodon. We won't store this.
date_of_birth:
one: We have to make sure you're at least %{count} to use Mastodon. We won't store this.
other: We have to make sure you're at least %{count} to use Mastodon. We don't store this.
role: The role controls which permissions the user has.
user_role:
color: Color to be used for the role throughout the UI, as RGB in hex format