[kupfer] po: Fix so that intltool-update updates preferences.ui



commit fe3ded9d27e1e3ebf5bdaf33f67dd478b8d0e130
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Oct 6 23:09:27 2009 +0200

    po: Fix so that intltool-update updates preferences.ui
    
    In po/POTFILES.in we need a type specifier for data/preferences.ui,
    else intltool-update won't do the right thing.
    
    This way, ``intltool-update sv`` in the po/ directory will work
    properly.
    
    Translators can now be encouraged to use ``intltool-update`` since it
    can update only the language they are interested in.
    
    ``waf intlupdate`` is the maintainer's version which will update all
    languages, create any listed in LINGUAS that do not yet exist, and
    call msgfmt --check for each language.

 po/POTFILES.in |    2 +-
 wscript        |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 30f03b8..56c7031 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
 # encoding: UTF-8
 
 data/kupfer.desktop.in.in
-data/preferences.ui.h
+[type: gettext/glade] data/preferences.ui
 kupfer/browser.py
 kupfer/data.py
 kupfer/main.py
diff --git a/wscript b/wscript
index 1bd8449..7da67f7 100644
--- a/wscript
+++ b/wscript
@@ -188,7 +188,6 @@ def build(bld):
 
 def intlupdate(util):
 	"""Extract new strings for localization"""
-	os.popen("intltool-extract --type=gettext/glade data/preferences.ui")
 	os.chdir("po")
 	for line in open("LINGUAS"):
 		""" Run xgettext for all listed languages



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]