mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-03 13:01:55 +01:00
Placeholders like %1 and %d have to survive translation intact, and they don't always: the new "validate" command finds 37 strings across four language files where one got dropped, localized into another script, or split with a space. It also catches empty translations, line breaks and stray quotes, and exits non-zero so it can be used as a check in a script. The same checks now run on everything the AI returns, before it's written to a file - plus a check that it didn't just echo the English string back at us. A language that fails is skipped instead of aborting the whole run. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0164UKoXpz9r155TRfQsoc3H