mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add custom pluralization rule for Vietnamese (#279)
This commit is contained in:
committed by
GitHub
parent
3910c85898
commit
1d5df21301
@@ -8,7 +8,7 @@ export const getLabel = (
|
||||
attribute ?
|
||||
I18n.t(`activerecord.attributes.${entity}.${attribute}`)
|
||||
:
|
||||
I18n.t(`activerecord.models.${entity}.one`)
|
||||
I18n.t(`activerecord.models.${entity}`, { count: 1 })
|
||||
);
|
||||
|
||||
export const getValidationMessage = (
|
||||
|
||||
Reference in New Issue
Block a user