Skip to content

438421 ki18n: fix loading our translations from Windows

Amy spark requested to merge lsegovia/krita:work/amyspark/ki18n into master

This commit introduces a patch to k18n, suggested by Alvin Wong, to make ki18n behave properly with our patched copy of gettext. The latter contains a patch of vcpkg to make it behave with UTF-8 paths on Windows, but this wasn't reflected on ki18n's initialization code.

BUG: 438421

Test Plan

Build Krita on Windows with the patch. Package it and try running it from a path with CJK characters.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Amy spark

Merge request reports