developertools-tech / developertools-tech/developertools.tech

[Req]: [i18n] Plurals

未关闭
#124 2 条评论 0 个 reaction 已指派 1 人 已被 @ivanignatiev 认领 在 GitHub 查看
feature request hacktoberfest in progress
主要语言
TypeScript
星标
41
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

### Contact Details

_No response_

### Explain the proposed feature

That is not critical but some words require to use [i18n plurals](https: //www.i18next.com/translation-function/plurals), so `t` calls need to be improved, i.e. for `t('across`)`:

```
...
"across_one": "{{count}} Розтин",
"across_two": "{{count}} Розтину",
"across_few": "{{count}} Розтинів",
"across_many": "{{count}} Розтинів",
"across_other": "{{count}} Розтинів",
...
t('across`, { count: c })
```

I prefer to create a separate issue as it will require more difficult review than just adding a language.

### Explain the possible use cases for the feature

_No response_

### Any other details you would like to provide?

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。