Skip to content

PT: untranslate the "Variables" unlock name, fix misplaced backticks in tuples.md - #32

Open
LucasCerattoRS wants to merge 2 commits into
Timiodon:mainfrom
LucasCerattoRS:fix/pt-scripting-unlock-name-and-backticks
Open

PT: untranslate the "Variables" unlock name, fix misplaced backticks in tuples.md#32
LucasCerattoRS wants to merge 2 commits into
Timiodon:mainfrom
LucasCerattoRS:fix/pt-scripting-unlock-name-and-backticks

Conversation

@LucasCerattoRS

Copy link
Copy Markdown

Two small corrections to the Brazilian Portuguese docs/scripting/ pages.

Both were found while auditing the whole PT localisation (all 16 docs/scripting/ files and all
14 Strings/*.txt) against the English. Worth saying up front: the PT translation held up very
well.
Placeholders, @Key structure, every number and every code span matched the English
exactly, with zero drift. These two are the only concrete errors I found in scope.

I skipped docs/unlocks/ deliberately, since the README says those files are likely to change.


1. PT/docs/scripting/operators.md - an unlock name is translated

EN  For assignment operators you need to unlock the "Variables" unlock.
PT  Para operadores de atribuicao, voce precisa desbloquear o desbloqueio "Variaveis".

Variables is an unlock name, and the contribution guidelines say:

Names of items, entities, grounds, unlocks and leaderboards cannot be translated either,
because things like 'Items.Carrot' are also a part of the code.

As it stands, a player reads "Variaveis" and then looks for that in the research tree, where it
is shown as Variables. The fix restores the original name. It also drops the doubled
"desbloquear o desbloqueio" ("unlock the unlock"), which reads awkwardly in Portuguese.

2. PT/docs/scripting/tuples.md - backticks on the wrong token

EN  `prints` (4,5)
PT  `imprime` (4,5)

The backticks sit on the verb rather than on the value, so "imprime" renders as a code span.
The same file already does it correctly eleven lines above, where line 16 reads imprime `2` ,
so this just makes the two consistent.

Note the English original has the same misplaced backticks, so you may want to fix EN/.../tuples.md
too. I left it alone since this PR is about the Portuguese.


Please credit me as Lucas Ceratto (@LucasCerattoRS).

Thanks for shipping the docs under CC0 and keeping this repo open - it made it possible to build a
study site for the game from a primary source instead of guesswork.

LucasCerattoRS added a commit to LucasCerattoRS/the-farmer-was-replaced-lab that referenced this pull request Jul 22, 2026
Full audit of the shipped PT localisation vs EN in tools/translation-audit.md.
Scope: all 16 PT/docs/scripting/ files + all 14 Strings/*.txt; skipped
docs/unlocks/ (README says those change). Mechanical checks — placeholders,
@key structure, numbers, code spans — all clean, zero drift. The translation
is in good shape.

Two concrete errors found and fixed upstream via
Timiodon/TFWR-Translations#32:
  - operators.md translated the "Variables" unlock name (guidelines say unlock
    names must stay untranslated; a player can't find "Variáveis" in the tree)
  - tuples.md put backticks on "imprime" instead of the (4,5) value, rendering
    a Portuguese verb as code

Terminology cross-check required no changes to this site. ROADMAP Track 4 ticked.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant