Repository navigation
Conversation
Apple (Localizable.xcstrings) and Android (values-pt-rPT): - Fix "Descansoaurador/Descansoaurar/..." (a bad find-and-replace of "Rest...") to Restaurador/Restaurar/Restaurado; "Descansoante" -> "Restante". - Replace "cochilo" (pt-BR) with "sesta" and fix the surrounding agreement. - Fix gender/number agreement for "cópia de segurança" (feminine). - "Livro-razão da dívida do sono" -> "Registo da dívida de sono". - "pega" (handle) -> "bracelete" for the strap, the app's dominant term. - "esparso/esparsas" -> "escasso/escassas"; fix swapped placeholders in "Sparse, widened to %@ · %lld readings". - "Band Sleep State": Android pt-PT was "Estado de suspensão da banda"; now "Estado de sono da bracelete". - Minor typos: "tincronização", "tinais", "Detecção" -> "Deteção". "Band Sleep State" had no Apple catalogue entry, so it fell back to English. Added it for the other focus locales too (reusing the Android strings), because the i18n audit fails a new key that lacks them.
- week/month/quarter/year were left in English in the Apple catalogue, which produced captions like "sem week anterior". - "o tempo todo" (all the time) -> "todo o período" for the all-time window. - "toda a histórico" -> "todo o histórico" (Apple and Android). - "versus anterior %@" -> "vs. %@ anterior" (Apple and Android). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The pt-PT 'pega' -> 'bracelete' sweep also rewrote four Spanish AI Coach key-setup strings, where 'pega' is the imperative of 'pegar' (paste). Restore them to their values on main.
… sweep Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Most of the pt-PT catalogue already addresses the reader as "tu" (about 600
"teu/tua" against 50 "seu/sua"), but several hundred strings used the formal
imperative or mixed both in one sentence ("Ligue a tua bracelete"). Rewrites
494 Apple and 227 Android strings so every instruction uses "tu", and short
button labels use the infinitive, as pt-PT interfaces usually do.
Also in the same strings:
- pt-BR forms: aplicativo -> app, arquivo -> ficheiro, Tônus -> Tónus,
"estão aumentando" -> continuous "a + infinitive", conectado -> ligado,
provedor -> fornecedor, Digitalizar (Scan) -> Procurar.
- The strap is "bracelete" everywhere (was also pulseira, correia, banda);
third-party fitness bands are "pulseira"; the heart-rate target zone stays
"banda".
- Mistranslations: "Toque na tua bracelete" for buzz -> vibrar, "Mi Band" ->
"A minha banda", crypto -> criptografia, Building -> Prédio,
"Sem Carga bancária", "Superior inclina-se para a simpatia".
- 32 lowercase captions that were still English (balanced, negligible, weak,
...) and several Android strings that were only half translated.
Placeholders are unchanged in every edited string. Keys edited by the other
open pt-PT pull requests (ryanbr#2784, ryanbr#2878, ryanbr#2897) are left alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jvascopf
added a commit
to jvascopf/noop
that referenced
this pull request
Nov 21, 2026
…register throughout pt-PT ryanbr#2933 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # android/app/src/main/res/values-pt-rPT/strings.xml
"Estágio" is the pt-BR word (and in pt-PT means an internship); the rest of the catalogue already says "fases do sono". Six Apple and five Android strings, including the Stage breakdown header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- HR was translated "RH" (recursos humanos) in about 30 strings; pt-PT
uses FC, as the rest of the catalogue already does (FC em repouso),
with the feminine agreement it needs (FC média, FC máxima).
- The remaining "correia"/"tiras" for the strap become "bracelete",
with the broken ones rewritten ("Correia colada" for Strap bonded,
"Correia de zumbido" for Buzz Strap).
- "Treinadoring" (a broken find-and-replace of coaching) becomes
"orientação".
- Sleep staging was "Encenação" (theatrical staging) or the clinical
"estadiamento"; it is now "classificação das fases do sono".
- "histórico bancário" for banked history becomes "histórico guardado".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Makes pt-PT consistent with itself. Translated values only; no code changes.
Stacked on #2781. The first commit on this branch merges #2781, because this sweep rewrites many of the strings that PR corrects. Once #2781 is merged, only the second commit remains in the diff.
Register
Most of the pt-PT catalogue already addresses the reader as "tu" (about 600 "teu/tua" against 50 "seu/sua"). Several hundred strings used the formal imperative instead, or mixed both in one sentence ("Ligue a tua bracelete", "Escolha… o teu"). This rewrites 494 Apple strings (
Strand/Resources/Localizable.xcstrings) and 227 Android strings (values-pt-rPT/strings.xml) so that:Fixed in the same strings
Not changed
Type of change
How it was tested
Translation-only change. No BLE, protocol or analytics code was touched.
Localizable.xcstringsstill parses as JSON andstrings.xmlpassesxmllint.%@,%lld,%1$s,%%…) are the same in every edited string. A script compared them before and after.\',\").python3 Tools/i18n_audit.py --ci HEADexits 0 (all pt-PT catalogues OK; echo allowance not exceeded).python3 -m unittest test_i18n_audit(inTools/): 83 tests OK. The fullToolssuite has the same 4test_check_source_referencesfailures on this branch and onmain(a macOS temp-path issue, fixed separately in test(tools): resolve the temp root so source-reference tests pass on macOS #2874).Checklist
android/(resource values only)StrandDesigntokens — no hardcoded colors, fonts, or spacingdocs/CONTRIBUTING.mdStrand.xcodeproj/) or any secrets/keystoresRelated issues
Refs #2781
🤖 Generated with Claude Code