Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Hard-coded English in the language selector, the image and file index and the text page digest

Aperta
#607 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@guidol-ive ci sta già lavorando.

Dal 28/10/2026.

  • #611 di @guidol-ive — aperta

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

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

Component: User interface Impact: Low Level: Easy Pagetype: Text Type: Bug Value: Users

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PlanBCode/hypha

Tutte le issue di PlanBCode/hypha

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.