From 6c2ccada1383379a47035431b5f46d1038c21881 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Thu, 21 Dec 2017 23:25:24 -0500 Subject: [PATCH] Support built-in translations in Snap --- snapcraft.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index fd2ca7b8d..97a4bc255 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -43,8 +43,11 @@ parts: - libykpers-1-dev stage-packages: - dbus + - qttranslations5-l10n # common translations install: | sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/org.keepassxc.KeePassXC.desktop + organize: + usr/share/qt5/translations/*.qm: usr/share/keepassxc/translations/ after: [desktop-qt5] # Redefine desktop-qt5 stage packages to work with Ubuntu 17.04