Skip to content

fix: retain media error code localizations#615

Merged
everpcpc merged 2 commits intomainfrom
fix-trans
Mar 6, 2026
Merged

fix: retain media error code localizations#615
everpcpc merged 2 commits intomainfrom
fix-trans

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

@everpcpc everpcpc commented Mar 6, 2026

Summary

  • replace runtime Bundle.main.localizedString(forKey:) lookups for Komga ERR_#### media comments with static String(localized:) references so Xcode string extraction keeps these entries active
  • preserve the existing runtime replacement fallback for unknown error codes
  • bump CURRENT_PROJECT_VERSION from 347 to 348

Testing

  • make build
  • make localize
  • ./misc/translate.py list

everpcpc added 2 commits March 6, 2026 19:06
Replace runtime bundle lookups for Komga ERR_#### codes with static localized string references so Xcode string extraction keeps these entries active.

This preserves the existing runtime replacement behavior while allowing make localize to stop marking the translations as stale.
@everpcpc everpcpc merged commit c75bac3 into main Mar 6, 2026
3 checks passed
@everpcpc everpcpc deleted the fix-trans branch March 6, 2026 11:12
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