Hard-coded English in the language selector, the image and file index and the text page digest
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- php
調査の方向性
The affected entry points are system/core/language.php, system/datatypes/index.php, system/datatypes/text.php, and system/core/communication.php; the issue links pull request #611, which contains a suggested fix. Review that pull request and the listed reproduction steps for the expected behavior. Done means the Dutch interface uses dictionary text and each digest translation shows its own page name.
索引モデルが issue の本文から書いたものです。
説明
A few texts of the interface are written in English in the code instead of taken from the dictionaries, so a Dutch interface shows them in English. One of them also shows the wrong page name.
| Where | Text on a Dutch interface | Code |
|---|---|---|
| language selector of translate and new page (group labels) | in use, add new |
system/core/language.php:48,61 |
index/images, index/files |
image index is not yet implemented |
system/datatypes/index.php:24,29 |
| digest e-mail, text page section | update (last version ...), new translation, new page |
system/datatypes/text.php:341 |
| digest e-mail, every entry with changes | view changes |
system/core/communication.php:163 |
In the same digest section every translation is listed under the page name of the current content language: a change of en/Home appears as Start (en), because textpage::digest() uses $this->pagename for every language (text.php:337).
Not included: the keys of #557 (page index and tag index titles, festival, settings) and the datatype names of #575; and the choice of the digest language (it is the language of whoever triggers it, see #181).
Steps to reproduce (fictional site, PHP 8.2 container of docs/container): log in, open nl/Start/translate: the language list has the groups in use and add new. Open index/images: image index is not yet implemented.
Suggested fix. Add the keys languages-in-use, languages-add-new, index-not-implemented, digest-update, digest-new-translation, digest-new-page and digest-view-changes to en.php and nl.php and use them; take the name of each translation in the digest from the page list node. The linked pull request does that.
Tested in the PHP 8.2 and 8.5 containers of docs/container with a fictional test site: reproduces on main (d97ab7b), gone with the linked pull request, which is offered as a suggestion and a starting point.
🤖 Generated with Claude Code
- 主要言語
- JavaScript
- スター
- 5
- フォーク
- 9
- 平均マージ
- 18時間 7分
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PlanBCode/hypha のほかの issue
-
Component: User interface Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Visitors
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Impact: Medium Level: Easy Type: Bug Value: Users
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Impact: Low Level: Easy Pagetype: Festival Type: Bug Value: Coders
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Impact: Medium Level: Easy Pagetype: Mailinglist Type: Bug Value: Users
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
Impact: Low Level: Easy Type: Bug Value: Coders
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
PlanBCode/hypha#586 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
PlanBCode/hypha の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Graphify-Labs/graphify#4860 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CommandCodeAI/command-code#1088 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CanadaHonk/porffor#426 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
RIT-Software-Engineering/RIT-SE-Senior-Project#546 ·
メンテナーはふだん 1 日以内に返信