Hard-coded English in the language selector, the image and file index and the text page digest
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- internationalization
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 5
- Fork
- 9
- Merge medio
- 18h 7m
- PR unite (30g)
- 11
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PlanBCode/hypha
-
Component: User interface Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Visitors
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Pagetype: Festival Type: Bug Value: Coders
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Pagetype: Mailinglist Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Type: Bug Value: Coders
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
PlanBCode/hypha#586 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PlanBCode/hypha
Issue simili
-
FEATURE REQUEST
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
I maintainer di solito rispondono entro 1 giorno
-
ds-bot collides with dsh-argp: tool "recall" is already registered, Bot layer never activatesApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
career-ops-hq/career-ops#6264 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
catppuccin/firefox#21 ·
-
[Server Submission]: Wiro AIAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
cline/mcp-marketplace#3394 ·