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

Setup publishes its strings one key at a time

Chiusa
#667 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #692 di @Stamina9 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

build

Follow-up from #540 / #636.

SetupTexts.Publish (src/Filee.Setup/SetupTexts.cs) writes every text into Application.Resources one key at a time, the same way LocalizationService.SetLanguage did before #636. Setup loads the app's own translation files, so that is the same 1177 keys, and each write raises a resource change. It runs when Setup starts and on every language change (ApplyLook in App.axaml.cs).

Setup has a single window, so far fewer controls get each change than in the App tests. I haven't measured how long a switch takes there.

What I'd do:

  1. One change: publish the texts with SetItems like #636, keeping the same keys and values (English fallback included).
  2. Test: add a test to SetupTextsTests that one language switch raises one resource change and the new text is there, and check it fails with the old per-key writes.
Lingua principale
C#
Stelle
3.6k
Fork
192
Merge medio
7h 30m
PR unite (30g)
303

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 KnifeLemon/Filee

Tutte le issue di KnifeLemon/Filee

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.