about summary refs log tree commit diff
path: root/spec/fabricators/webauthn_credential_fabricator.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-16 14:57:57 +0100
committerGitHub <noreply@github.com>2022-02-16 14:57:57 +0100
commit1abf0f90000c86bfbc5d6ac9a976834dcd17983a (patch)
tree13590ca8eb117de8cad84da5c96bc3101688fa79 /spec/fabricators/webauthn_credential_fabricator.rb
parent6ea80ba2a22aaeae4f773b28b33168395c5297af (diff)
Fix 0 pluralization for some localization strings (#17576)
Apparently, when the `zero` case is not defined, the translation string used
for `0` depends on the language. In French, `one` is used, causing some strings
with hardcoded “one” or `1` to misrepresent the actual data.

For instance, the dashboard would display « 1 utilisateur·rice en attente » for
both 0 and 1 pending users.
Diffstat (limited to 'spec/fabricators/webauthn_credential_fabricator.rb')
0 files changed, 0 insertions, 0 deletions