On Wed, Feb 13, 2008 at 09:37:57AM -0500, Kyle Nitzsche wrote:
> mail/claws-mail-3.2.0/po# intltool-update -p -x
> Building claws-mail.pot...
> Running xgettext --add-comments --directory=. --default-domain=claws- 
> mail --flag=g_strdup_printf:1:c-format --flag=g_string_printf:2:c-format 
> --flag=g_string_append_printf:2:c-format --flag=g_error_new:3:c-format 
> --flag=g_set_error:4:c-format --flag=g_markup_printf_escaped:1:c-format 
> --flag=g_log:3:c-format --flag=g_print:1:c-format -- 
> flag=g_printerr:1:c-format --flag=g_printf:1:c-format --flag=g_fprintf: 
> 2:c-format --flag=g_sprintf:2:c-format --flag=g_snprintf:3:c-format -- 
> flag=g_scanner_error:2:c-format --flag=g_scanner_warn:2:c-format -- 
> output=claws-mail.pot --files-from=./POTFILES.in.temp  \ --msgid-bugs- 

Quick fix: edit po/Makevars and change the XGETTEXT_OPTIONS variable
assignment to be all on one line, removing all of the backslashes.  Patch
attached.

Long answer: intltool-update tries to parse this file to extract the right
parameters with which to run xgettext, but it does a bad job of it, which
results in that stray backslash you see before --msgid-bugs-address.

-- 
 - mdz
--- Makevars.old	2008-02-08 05:33:13.000000000 +0000
+++ Makevars	2008-02-13 15:00:54.811279849 +0000
@@ -8,13 +8,7 @@
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = \
-  --keyword=_ --flag=_:1:pass-c-format \
-  --keyword=Q_ --flag=Q_:1:pass-c-format \
-  --keyword=N_ --flag=N_:1:pass-c-format \
-  --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' \
-  --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' \
-  --flag=error:3:c-format --flag=error_at_line:5:c-format
+XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-c-format --keyword=Q_ --flag=Q_:1:pass-c-format --keyword=N_ --flag=N_:1:pass-c-format --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' --flag=error:3:c-format --flag=error_at_line:5:c-format
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to