From c0fefee284c5af84e8831b2126c274e56475814e Mon Sep 17 00:00:00 2001 From: Hebert Marchesi Date: Thu, 30 Jul 2026 10:45:04 -0300 Subject: [PATCH] feat(l10n): add pt-BR translations for Smart Care dashboard The Smart Care dashboard redesign introduced many string literals that were never added to the localization catalog, so they fell back to English regardless of the app language. Add the missing Brazilian Portuguese strings for DashboardView, plus "Appearance" and "Advanced Tools", and backfill the same source strings in the English catalog to keep both files in sync. - Add 39 pt-BR entries (DashboardView, appearance controls) - Backfill 50 source strings in en.lproj - Cover the interpolated keys "%lld-POINT LOCAL SCAN" and "%@ free" - Validated with plutil -lint; no new duplicate keys Co-Authored-By: Claude Opus 4.8 (1M context) --- PureMac/en.lproj/Localizable.strings | 52 ++++++++++++++++++++++++ PureMac/pt-BR.lproj/Localizable.strings | 54 +++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/PureMac/en.lproj/Localizable.strings b/PureMac/en.lproj/Localizable.strings index 49a77b3..07b5cc3 100644 --- a/PureMac/en.lproj/Localizable.strings +++ b/PureMac/en.lproj/Localizable.strings @@ -379,3 +379,55 @@ "Disk" = "Disk"; "Open PureMac" = "Open PureMac"; "Quit PureMac" = "Quit PureMac"; + +/* Smart Care dashboard + appearance (source strings) */ +"One scan checks every cleanup tool and prepares a plan for your review." = "One scan checks every cleanup tool and prepares a plan for your review."; +"PureMac is checking your Mac without removing anything." = "PureMac is checking your Mac without removing anything."; +"Choose what to keep, then clean everything in one controlled pass." = "Choose what to keep, then clean everything in one controlled pass."; +"Selected items are being removed safely." = "Selected items are being removed safely."; +"Cleanup complete. Your storage summary is refreshing." = "Cleanup complete. Your storage summary is refreshing."; +"Ready" = "Ready"; +"Scanning" = "Scanning"; +"Review ready" = "Review ready"; +"All clear" = "All clear"; +"Complete" = "Complete"; +"No cleanup run yet" = "No cleanup run yet"; +"Last clean: %@" = "Last clean: %@"; +"Ready for review" = "Ready for review"; +"Caches, mail, trash, and large files" = "Caches, mail, trash, and large files"; +"Developer" = "Developer"; +"Xcode and package tools" = "Xcode and package tools"; +"Installed apps" = "Installed apps"; +"No known leftovers" = "No known leftovers"; +"App leftovers to inspect" = "App leftovers to inspect"; +"%lld checks" = "%lld checks"; +"%lld/%lld checked" = "%lld/%lld checked"; +"Clear" = "Clear"; +"%lld items found" = "%lld items found"; +"%lld selected" = "%lld selected"; +"Care areas" = "Care areas"; +"Review what was found" = "Review what was found"; +"Smart Care" = "Smart Care"; +"LOW SPACE" = "LOW SPACE"; +"PureMac builds a reviewable cleanup plan on your Mac. Nothing is removed until you approve it." = "PureMac builds a reviewable cleanup plan on your Mac. Nothing is removed until you approve it."; +"Scan My Mac" = "Scan My Mac"; +"Checks every cleanup category without deleting files" = "Checks every cleanup category without deleting files"; +"Local" = "Local"; +"Private" = "Private"; +"Reviewable" = "Reviewable"; +"Twelve-layer storage inspection model" = "Twelve-layer storage inspection model"; +"Your Mac is in good shape." = "Your Mac is in good shape."; +"No removable junk was found in the areas PureMac checked." = "No removable junk was found in the areas PureMac checked."; +"Ready to reclaim" = "Ready to reclaim"; +"Cleaning safely…" = "Cleaning safely…"; +"Cleanup complete" = "Cleanup complete"; +"Review" = "Review"; +"ALL CLEAR" = "ALL CLEAR"; +"SCAN COMPLETE" = "SCAN COMPLETE"; +"Make room.\nKeep control." = "Make room.\nKeep control."; +"Scan first.\nDecide what goes." = "Scan first.\nDecide what goes."; +"Review scan results" = "Review scan results"; +"%lld-POINT LOCAL SCAN" = "%lld-POINT LOCAL SCAN"; +"%@ free" = "%@ free"; +"Appearance" = "Appearance"; +"Advanced Tools" = "Advanced Tools"; diff --git a/PureMac/pt-BR.lproj/Localizable.strings b/PureMac/pt-BR.lproj/Localizable.strings index e4ac453..1c7819e 100644 --- a/PureMac/pt-BR.lproj/Localizable.strings +++ b/PureMac/pt-BR.lproj/Localizable.strings @@ -58,6 +58,19 @@ "Done" = "Concluído"; "%lld items" = "%lld itens"; +/* Dashboard hero + header */ +"Make room.\nKeep control." = "Libere espaço.\nMantenha o controle."; +"Scan first.\nDecide what goes." = "Analise primeiro.\nDecida o que sai."; +"PureMac builds a reviewable cleanup plan on your Mac. Nothing is removed until you approve it." = "O PureMac cria um plano de limpeza revisável no seu Mac.\nNada removido até você aprovar."; +"Scan My Mac" = "Analisar meu Mac"; +"Checks every cleanup category without deleting files" = "Verifica todas as categorias de limpeza sem apagar arquivos"; +"No cleanup run yet" = "Nenhuma limpeza realizada ainda"; +"One scan checks every cleanup tool and prepares a plan for your review." = "Uma única análise verifica todas as ferramentas de limpeza e prepara um plano para você revisar."; +"PureMac is checking your Mac without removing anything." = "O PureMac está verificando seu Mac sem remover nada."; +"Choose what to keep, then clean everything in one controlled pass." = "Escolha o que manter e limpe tudo em uma única passagem controlada."; +"Selected items are being removed safely." = "Os itens selecionados estão sendo removidos com segurança."; +"Cleanup complete. Your storage summary is refreshing." = "Limpeza concluída. O resumo de armazenamento está sendo atualizado."; + /* Common destructive dialog */ "Clean" = "Limpar"; "Cancel" = "Cancelar"; @@ -379,3 +392,44 @@ "Disk" = "Disco"; "Open PureMac" = "Abrir o PureMac"; "Quit PureMac" = "Encerrar o PureMac"; + +/* Smart Care dashboard + appearance (added for pt-BR localization) */ +"Ready" = "Pronto"; +"Scanning" = "Analisando"; +"Review ready" = "Pronto para revisar"; +"All clear" = "Tudo limpo"; +"Complete" = "Concluído"; +"Last clean: %@" = "Última limpeza: %@"; +"Ready for review" = "Pronto para revisar"; +"Caches, mail, trash, and large files" = "Caches, e-mail, lixeira e arquivos grandes"; +"Developer" = "Desenvolvedor"; +"Xcode and package tools" = "Xcode e gerenciadores"; +"Installed apps" = "Apps instalados"; +"No known leftovers" = "Nenhum resíduo conhecido"; +"App leftovers to inspect" = "Resíduos de apps para inspecionar"; +"%lld checks" = "%lld verificações"; +"%lld/%lld checked" = "%lld/%lld verificados"; +"Clear" = "Limpo"; +"%lld items found" = "%lld itens encontrados"; +"%lld selected" = "%lld selecionados"; +"Care areas" = "Áreas de cuidado"; +"Review what was found" = "Revise o que foi encontrado"; +"Smart Care" = "Smart Care"; +"LOW SPACE" = "POUCO ESPAÇO"; +"Local" = "Local"; +"Private" = "Privado"; +"Reviewable" = "Revisável"; +"Twelve-layer storage inspection model" = "Modelo de inspeção de armazenamento em doze camadas"; +"Your Mac is in good shape." = "Seu Mac está em boa forma."; +"No removable junk was found in the areas PureMac checked." = "Nenhum lixo removível foi encontrado nas áreas que o PureMac verificou."; +"Ready to reclaim" = "Pronto para recuperar"; +"Cleaning safely…" = "Limpando com segurança…"; +"Cleanup complete" = "Limpeza concluída"; +"Review" = "Revisar"; +"ALL CLEAR" = "TUDO LIMPO"; +"SCAN COMPLETE" = "ANÁLISE CONCLUÍDA"; +"Review scan results" = "Revisar resultados da análise"; +"%lld-POINT LOCAL SCAN" = "ANÁLISE LOCAL DE %lld PONTOS"; +"%@ free" = "%@ livres"; +"Appearance" = "Aparência"; +"Advanced Tools" = "Ferramentas avançadas";