Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18n] Font UI fallbacks: insert replacement characters with template for Weblate compatibility #11614

Merged
merged 1 commit into from
Apr 3, 2024

Commits on Apr 3, 2024

  1. [i18n] Insert replacement characters with template for Weblate compat…

    …ibility
    
    Added in <koreader#8722> and unproblematic for the past two years, but Weblate has now decided to complain about it to the extent of disabling translations:
    
    > Error message
    String contains control character: 'If some book titles, dictionary entries and such are not displayed well but shown as \ufffe\ufffe or ��, it may be necessary to download the required fonts for those languages. They can then be enabled as additional UI fallback fonts.\nFonts for many languages can be downloaded at:\n\nhttps://fonts.google.com/noto\n\nOnly fonts named "Noto Sans xyz" or "Noto Sans xyz UI" (regular, not bold nor italic, not Serif) will be available in this menu. However, bold fonts will be used if their corresponding regular fonts exist.'
    Frenzie committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    8faf39d View commit details
    Browse the repository at this point in the history