Skip to content

Commit

Permalink
Support built-in translations in Snap
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey authored and phoerious committed Dec 23, 2017
1 parent a4cf32d commit 6c2ccad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c2ccad

Please sign in to comment.