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 摘要。