Page MenuHome GnuPG

Pinentry-qt: Context menu in english
Closed, ResolvedPublic

Description

Was reported to me and I can reproduce it. If you open the context menu in pinentry the context menu is in english on a german installation. I think pinentry-qt probably does not find the installed qt translations so this would be a packaging / installation issue and I have assigned this to me.

Details

Version
master

Revisions and Commits

Event Timeline

aheinecke triaged this task as Normal priority.Jan 17 2022, 9:06 AM
aheinecke created this task.

For the appimage I have added a patch (backported from ki18n) that makes sure that the Qt translations for qtbase are loaded even if the (unneeded) translations for qtscript, qtmultimedia, and qtxmlpatterns are missing. See 0001-Load-Qt-translations-even-if-some-catalogs-are-missi.patch.

OTOH, inst-qttranslations.nsi copies all .qm files needed by the qt_<language>.qm files.

ikloecker I have just added the ki18n main code to pinentry-qt as qti18n.cpp this fixes it for me. I have commented out everything but the base catalog.

Btw. had to revert your unique ptr change ;-) I didn't want to raise the c++ level just for that.