From 1b6762762cce40969ca3962c25e9699291ab0d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <323649642+oc-tmueller@users.noreply.github.com> Date: Thu, 3 Dec 2026 14:10:32 +0100 Subject: [PATCH 1/2] build(conan): build qtkeychain with its translations qtkeychain_.qm were missing from the packages: the client loads them next to Qt's translations, and without them qtkeychain's messages stay English. The recipe has the option; on macOS x86_64 it also needs to run Qt's lrelease, which is x86_64 there and runs under Rosetta like Qt's other tools. Co-Authored-By: Claude Opus 5.5 --- conan/profiles/macos-x86_64 | 3 +++ conanfile.py | 3 +++ 2 files changed, 6 insertions(+) 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): From 4a9bf0b884701a732ac09d24c67f12ad93221e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <323649642+oc-tmueller@users.noreply.github.com> Date: Thu, 3 Dec 2026 14:23:43 +0100 Subject: [PATCH 2/2] docs(changelog): add the entry for #12766 Co-Authored-By: Claude Opus 5.5 --- changelog/unreleased/12766.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 changelog/unreleased/12766.md 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