mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 02:25:00 +00:00
feat(i18n): enable pluralization for count-based translations
Enable i18next pluralization by setting disablePlurals to false and update multiple translation keys to use _one/_other suffixes for proper singular/plural handling. This improves localization accuracy for count-dependent strings like "X keys", "X models", and "X times".
This commit is contained in:
@@ -82,10 +82,10 @@ export default defineConfig({
|
||||
"validateStatus",
|
||||
"value",
|
||||
"viewBox",
|
||||
"width",
|
||||
"width"
|
||||
],
|
||||
sort: true,
|
||||
disablePlurals: true,
|
||||
disablePlurals: false,
|
||||
removeUnusedKeys: true,
|
||||
nsSeparator: false,
|
||||
keySeparator: false,
|
||||
|
||||
Reference in New Issue
Block a user