diff -Nru gnome-shell-extension-ubuntu-dock-0.4/debian/changelog gnome-shell-extension-ubuntu-dock-0.5/debian/changelog
--- gnome-shell-extension-ubuntu-dock-0.4/debian/changelog 2017-08-31 11:50:47.000000000 +0200
+++ gnome-shell-extension-ubuntu-dock-0.5/debian/changelog 2017-09-19 13:16:06.000000000 +0200
@@ -1,3 +1,10 @@
+gnome-shell-extension-ubuntu-dock (0.5) artful; urgency=medium
+
+ * debian/control, debian/rules:
+ - use dh_translations, update the template during the build
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Tue, 19 Sep 2017 13:16:06 +0200
+
gnome-shell-extension-ubuntu-dock (0.4) artful; urgency=medium
* Switch click-action to previews multiple window instances by default.
diff -Nru gnome-shell-extension-ubuntu-dock-0.4/debian/control gnome-shell-extension-ubuntu-dock-0.5/debian/control
--- gnome-shell-extension-ubuntu-dock-0.4/debian/control 2017-08-31 11:50:47.000000000 +0200
+++ gnome-shell-extension-ubuntu-dock-0.5/debian/control 2017-09-19 13:16:06.000000000 +0200
@@ -3,6 +3,7 @@
Priority: optional
Maintainer: Didier Roche <didrocks@ubuntu.com>
Build-Depends: debhelper (>= 10),
+ dh-translations,
libglib2.0-bin,
Standards-Version: 4.0.0
Homepage: https://github.com/micheleg/dash-to-dock/tree/ubuntu-dock
diff -Nru gnome-shell-extension-ubuntu-dock-0.4/debian/rules gnome-shell-extension-ubuntu-dock-0.5/debian/rules
--- gnome-shell-extension-ubuntu-dock-0.4/debian/rules 2017-08-31 11:50:47.000000000 +0200
+++ gnome-shell-extension-ubuntu-dock-0.5/debian/rules 2017-09-19 13:16:06.000000000 +0200
@@ -2,8 +2,12 @@
#export DH_VERBOSE = 1
%:
- dh $@
+ dh $@ --with translations
override_dh_install:
dh_install --fail-missing
rm debian/*/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/COPYING
+
+override_dh_translations:
+ make ./po/dashtodock.pot
+ dh_translations