Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2017-12-22 07:25:24 +0300
committerJanek Bevendorff <janek@jbev.net>2017-12-23 19:47:46 +0300
commit6c2ccada1383379a47035431b5f46d1038c21881 (patch)
tree84a76cf3d3fac034155fd179997c16a2c92cc2ab /snapcraft.yaml
parenta4cf32dce0eed6e0dd326a88f464712512482962 (diff)
Support built-in translations in Snap
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml3
1 files changed, 3 insertions, 0 deletions
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