Find a mechanism to detect and prevent certain strings or markup from being modified
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
- Ambito
- internationalization
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
- 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 GDQuest/learn-gdscript
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
GDQuest/learn-gdscript#1446 ·
-
user experience
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
GDQuest/learn-gdscript#1438 ·
-
user experience
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
GDQuest/learn-gdscript#1420 ·
-
Syntax highlighting: some symbols are highlighted blue while being regular property accesses =Apertabug user experience
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
GDQuest/learn-gdscript#1449 ·
-
Consider adding SFXApertauser experience
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
GDQuest/learn-gdscript#1448 ·
Tutte le issue di GDQuest/learn-gdscript
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug low-priority mobile
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
lognorman20/monaco#6182 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rlaope/oh-my-hermes#2193 ·
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
[Sync EN] Document Error thrown by shm_* functions on a detached segment (#5975)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertasync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 3 giorni