Skip to content

feat: translation-quality API + 3-way capability merge - #100

Draft
Souptik-De wants to merge 1 commit into
OpenPrinting:masterfrom
Souptik-De:task-a-translation-quality-v2
Draft

feat: translation-quality API + 3-way capability merge#100
Souptik-De wants to merge 1 commit into
OpenPrinting:masterfrom
Souptik-De:task-a-translation-quality-v2

Conversation

@Souptik-De

Copy link
Copy Markdown

Summary

Adds translation-quality ladder (EXACT → LANG → FALLBACK_EN → NONE) to frontend translation API.

Changes

  • New public enum in cpdb.h
  • New *WithQuality() API for option/choice/group translations (cpdb-frontend.h)
  • 3-way capability merge: locale → base language → English with per-field quality tags
  • libcpdb_frontend_la version bump 4:0:1 (new API)

Testing

  • make check passes
  • Integration verified against cpdb-backend-cups
  • Builds cleanly on upstream master with multi-arch CI

Notes

@tillkamppeter

Copy link
Copy Markdown
Member

libcpdb_frontend_la version bumped to 4:0:1 for new API

Note that a version bump is only needed if the new API is breaking any program made for the previous API. If you only add functions and data structures but you do not remove anything existing or incompatibly modify something existing, you do not need to bump.

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