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

Find a mechanism to detect and prevent certain strings or markup from being modified

Aperta
#1,450 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
godot

Direzione di ricerca

Start by reading the existing translation filters and glossary tag reconstruction mentioned in the issue, then trace where strings are extracted and where tr() is applied. Compare how inline code and BBCode markup behave across translations; done means a reusable approach protects untranslatable text and can validate or repair malformed markup across languages.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

There are a couple of labels across the application that should never be translated. E.g. code. We filter out many of them already, but we don't have an exhaustive filter mechanism.

Notably, there are sometimes pieces of inline code in certain scenes or tags within a paragraph.

We probably need multiple mechanisms to protect those:

  • A way to parse and verify the structure of the bbcode markup, and not only ensure that the structure is valid, but actually force reconstruct, or replace borked parts, if any, in the translation. The application already does that to a limited extent (i.e. reconstructing glossary tags), but this should be a tool usable in this repository across all languages.
  • One to several ways to mark parts as untranslatable and filter them out of translation strings and never apply the translation function tr() at runtime or build time to those. There are different strategies like we can use placeholders (%s) in some strings, literal markup or filters. None of these, however, completely shield the markup.

We already do have some of that, but I'm opening an issue to take some time and address it more systematically.

Lingua principale
GDScript
Stelle
2.8k
Fork
236
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 GDQuest/learn-gdscript

Tutte le issue di GDQuest/learn-gdscript

Issue simili

Altre issue su Internationalization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.