mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Support built-in translations in Snap
This commit is contained in:
parent
a4cf32dce0
commit
6c2ccada13
@ -43,8 +43,11 @@ parts:
|
|||||||
- libykpers-1-dev
|
- libykpers-1-dev
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- dbus
|
- dbus
|
||||||
|
- qttranslations5-l10n # common translations
|
||||||
install: |
|
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
|
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]
|
after: [desktop-qt5]
|
||||||
|
|
||||||
# Redefine desktop-qt5 stage packages to work with Ubuntu 17.04
|
# Redefine desktop-qt5 stage packages to work with Ubuntu 17.04
|
||||||
|
Loading…
Reference in New Issue
Block a user