diff --git a/changelog/unreleased/12766.md b/changelog/unreleased/12766.md new file mode 100644 index 00000000000..3229b390c72 --- /dev/null +++ b/changelog/unreleased/12766.md @@ -0,0 +1,8 @@ +Bugfix: Ship qtkeychain's translations + +qtkeychain's messages about storing and reading credentials were shown in +English: the Conan builds came without its translations, and of the Craft +builds only the Linux ones had them where the client looks for them. +qtkeychain is now built with them. + +https://github.com/owncloud/client/pull/12766 diff --git a/conan/profiles/macos-x86_64 b/conan/profiles/macos-x86_64 index a2a336a7d3b..b123ff054e7 100644 --- a/conan/profiles/macos-x86_64 +++ b/conan/profiles/macos-x86_64 @@ -22,3 +22,6 @@ tools.system.package_manager:mode=check # CMAKE_OSX_ARCHITECTURES=x86_64, and runs its own x86_64 tools under Rosetta. qt/*:tools.build.cross_building:cross_build=False qt/*:tools.cmake.cmaketoolchain:system_name= +# qtkeychain's translations come from Qt's lrelease, which is x86_64 here and +# runs under Rosetta as well; the recipe refuses them unless it can run it. +qtkeychain/*:tools.build.cross_building:can_run=True diff --git a/conanfile.py b/conanfile.py index bddedcbe1a9..4f26e36c448 100644 --- a/conanfile.py +++ b/conanfile.py @@ -54,6 +54,9 @@ class OwncloudClientConan(ConanFile): "qt/*:with_libjpeg": "libjpeg", "qt/*:with_odbc": False, "qt/*:with_pq": False, + # qtkeychain_.qm, which the client loads next to Qt's translations + # (src/gui/main.cpp); without them qtkeychain's messages stay English. + "qtkeychain/*:with_translations": True, } def configure(self):