developertools-tech / developertools-tech/developertools.tech

[Req]: [i18n] Plurals

Đang mở
#124 2 bình luận 0 reaction 1 người được giao Được @ivanignatiev nhận Xem trên GitHub
feature request hacktoberfest in progress
Ngôn ngữ chính
TypeScript
Star
41
Fork
44
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.