summary refs log blame commit diff
path: root/pkgs/applications/networking/browsers/mozilla-plugins/fribid/translation-xgettext-to-intltool.patch
blob: dcac4f17928b5a23a93e480e4b2f41b2037d219f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                                                                                   
--- a/translations/Makefile	2013-09-18 07:25:16.503800613 +0200
+++ b/translations/Makefile	2013-09-18 07:25:29.495869405 +0200
@@ -38,7 +38,7 @@
 all: template.pot $(MOFILES)

 template.pot: $(POTFILES) $(DEFINES)
-	xgettext -k_ -ktranslatable -d $(DOMAIN) --package-name=$(PACKAGENAME) --package-version=$(PACKAGEVERSION) --copyright-holder='YOUR NAME' -o $@ $(POTFILES)
+	intltool-update --gettext-package=$(PACKAGENAME) -o $@ sv

 .po.mo:
 	msgfmt $< -o $@
--- a/translations/POTFILES.in	2013-09-16 20:28:56.766106014 +0200
+++ b/translations/POTFILES.in	2013-09-18 13:15:05.252689648 +0200
@@ -0,0 +1,2 @@
+client/gtk.c
+client/gtk/sign.glade