Missing mentions of pl_PL.
authorCarl Hetherington <cth@carlh.net>
Mon, 6 Jul 2015 19:43:28 +0000 (20:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 6 Jul 2015 19:43:28 +0000 (20:43 +0100)
cscript
debian/rules

diff --git a/cscript b/cscript
index 4acc14f4fa3612b1377efebc8d1f79cd1df87eea..6aba27e05700d2a34c37c0d0224d749b97876190 100644 (file)
--- a/cscript
+++ b/cscript
@@ -194,7 +194,7 @@ def make_spec(filename, version, target):
     print >>f,'%{_datadir}/dcpomatic2/LiberationSans-Regular.ttf'
     for r in ['128x128', '22x22', '32x32', '48x48', '64x64']:
         print >>f,'%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2.png' % r
-    for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU']:
+    for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU', 'pl_PL']:
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/dcpomatic2.mo' % l
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2-wx.mo' % l
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2.mo' % l
index 6d6dbf906c4231f63ddd2a3bdf000494b88cc390..b41487f86806b42ce5a0d558b412624efa36f6a1 100755 (executable)
@@ -10,7 +10,7 @@
 #export DH_VERBOSE=1
 
 %:
-       dh $@ 
+       dh $@
 
 override_dh_auto_configure:
        LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
@@ -33,6 +33,10 @@ override_dh_auto_install:
        cp -a $(CDIST_LOCALE_PREFIX)/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic2-wxstd.mo
        mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/
        cp -a $(CDIST_LOCALE_PREFIX)/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic2-wxstd.mo
+       mkdir -p debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/
+       cp -a $(CDIST_LOCALE_PREFIX)/pl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/dcpomatic2-wxstd.mo
+       mkdir -p debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/
+       cp -a $(CDIST_LOCALE_PREFIX)/ru/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/dcpomatic2-wxstd.mo
 
 .PHONY: override_dh_strip
 override_dh_strip: