Skip to content

Spanish - #243

Open
helloworldxdwastaken wants to merge 2 commits into
iliyami:mainfrom
helloworldxdwastaken:localization/spanish
Open

helloworldxdwastaken wants to merge 2 commits into
iliyami:mainfrom
helloworldxdwastaken:localization/spanish

Conversation

@helloworldxdwastaken

Copy link
Copy Markdown

Part of #12. Machine-assisted; native review needed.

616 static strings. Version, build and localization checks pass; interpolated strings keep their English fallback.

Preview

@iliyami iliyami left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @helloworldxdwastaken, and thank you for being upfront that this is machine-assisted. I reviewed it carefully:

  • Code and safety: all good. Only the language plumbing changes (enum case, locale mapping, dictionary, kept .lproj folders, Info.plist), existing translations are untouched, and the new strings contain no URLs, invisible characters, em dashes, duplicate keys, or lost placeholders. The tests mirror the Italian ones and add the language to every per-module loop. Merged with current main, the full suite passes locally (1,056 tests, 0 failures). Nice touch translating the three strings no other language had yet ("Scanning disk…", "No items found", "System").
  • Translation: good base, needs a fix pass. I had every entry reviewed against the English meaning and Apple's own terminology. Most of it is accurate, but there are machine-translation errors, a few of which change what a safety message says. Those must be fixed before merge.

Spanish: required fixes

Line numbers refer to Sources/MacCleanKit/Localization.swift in this PR.

Critical

  • 468 (Restore description): "Vuelve a tener una limpieza completa con un solo clic…" reads as "run a full cleanup again", the opposite of Restore. Suggest: "Restaura una limpieza completa con un solo clic. Se omiten los elementos que ya se vaciaron de la Papelera o cuyo lugar original ocupa ahora un archivo nuevo."

Major

  1. Broken tú/usted replacement typos: 261 "necesites" sentence, 278 "no usass", 282 "necesitess", 473 "usasn", 701 "no usass". For example 278: "Traducciones de idiomas que no usas. Eliminarlas modifica el paquete de la aplicación; reinstálala para recuperarlas." and 282: "Los elementos seleccionados están en la Papelera: recupera lo que necesites. Para borrarlos definitivamente, abre Papeleras y vacíala."
  2. Register: about 21 strings still use usted while the rest use tú (315, 334, 384, 406, 459, 467, 502, 540, 560, 562, 567, 669, 719, 738, 780, 791), and 629, 675, 680, 741 switch mid-sentence. Please use tú throughout.
  3. Full Disk Access: Apple's Spanish term is "Acceso total al disco" (379, 810 use "Acceso completo al disco").
  4. Wrong word sense: 396 "Admite archivos…" (reads "supports files") → "Archivos de soporte de aplicaciones que has eliminado."; 300 and 578 "artículo" → "elemento"; 331 and 729 "camino" → "ruta"; 384 "número de GitHub" → "issue de GitHub"; 336 "Seguro de eliminar" → "Se puede eliminar sin riesgo".
  5. 419 "Próximo lanzamiento regenerado." is broken → "Archivos temporales de las aplicaciones. Se regeneran la próxima vez que se abren."
  6. Module names that drop "junk" (they now sound like they clean all files): 232 Xcode junk, 815 Project Junk, 712 System Junk (e.g. "Basura de Xcode", "Basura de proyectos", "Basura del sistema"), and 722 should use the translated module name.
  7. 680 "Haz clic en Smart Scan" names a button that is "Análisis inteligente" in Spanish.
  8. 634 destructive button "Eliminación permanente" is a noun → "Eliminar permanentemente".
  9. 227 "Gestiónalas en los ajustes de Safari."; 276 "Las instantáneas locales de Time Machine…".

Worth fixing (minor): "este Mac" vs "esta Mac" is mixed (Apple uses masculine); scan vocabulary is split between "escanear" and "analizar" (pick one); "Sólo" → "Solo"; no capital after a semicolon (261, 280, 722); Docker is not a simulator (217, 764); 405 "Restaurados: %ld".

Housekeeping (applies to all five of your PRs)

  1. All five PRs set VERSION to 1.25.5, and main is moving to 1.25.7 (#249, #250, #251). They'll be merged one at a time, so please rebase each onto main right before it's ready and bump to the next free patch version then (bash scripts/check-version-sync.sh).
  2. #250 replaces the Language Cleanup caption key in Settings (英文、基础资源、中文、俄文和德文会始终保留… becomes Base 资源、Mac Sai 的界面语言以及你的 Mac 在“语言与地区”中设置的语言会始终保留…), and #251 adds two launch-at-login error sentences with a {message} placeholder. After rebasing, please translate those and drop the old caption entry plus the 开启/关闭 entries, which are no longer used.
  3. Next time, please comment on #12 to claim a language before starting, so two people don't translate the same one. And since these are machine-assisted, a note on #12 inviting a native speaker to proofread would be very welcome.

Once the fixes above are in, I'm happy to merge. Thanks again!

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.

2 participants