patternfly / patternfly/patternfly-react
Bug - [Pagination] - ofWord insufficient for internationalization
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 862
- フォーク
- 392
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 9
説明
Describe the problem
The pagination ofWord prop simply sticks that word in the phrase (e.g. "1 – 2 of 2"), but this word order is incorrect/incomplete in some languages.
For example, in Chinese, "1 - 2 的 2" should be "2 的 1 - 2"; instead of "1 的 1 页" it should be "1 页的 1".
Is this issue blocking you?
One possible workaround is to define our own ToggleTemplate instead of the one provided by PF. See https://github.com/ansible/ansible-hub-ui/pull/3248/files#diff-557f73ee26e47e81e8822500a443d62d86428cfe044435601c719fee5b22d43dR33
What is your product and what release date are you targeting?
AAP (longstanding issue)
Jira Issue: PF-2204
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
PatternFly React のページネーションコンポーネントの ofWord prop と、issue にリンクされている ToggleTemplate workaround から始めます。現在のフレーズの組み立てを中国語の例と比較し、その後、コンポーネントに既に存在する国際化とテストのエントリーポイントを特定します。完了の条件は、カスタムテンプレートを必要とせずに、ページネーションの文言が言語ごとの語順をサポートすることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend, internationalization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100