+2006-11-26 Bruno Haible <bruno@clisp.org>
+
+ * write-po.c (make_format_description_string,
+ make_c_width_description_string): Strip off the leading space.
+ (message_print_comment_flags): Print the space here.
+ * write-stringtable.c (write_message): Print the space here.
+
2006-11-26 Bruno Haible <bruno@clisp.org>
* write-po.c: Include write-catalog.h instead of write-properties.h,
case possible:
if (debug)
{
- sprintf (result, " possible-%s-format", lang);
+ sprintf (result, "possible-%s-format", lang);
break;
}
/* FALLTHROUGH */
case yes_according_to_context:
case yes:
- sprintf (result, " %s-format", lang);
+ sprintf (result, "%s-format", lang);
break;
case no:
- sprintf (result, " no-%s-format", lang);
+ sprintf (result, "no-%s-format", lang);
break;
default:
/* The others have already been filtered out by significant_format_p. */
switch (do_wrap)
{
case yes:
- result = " wrap";
+ result = "wrap";
break;
case no:
- result = " no-wrap";
+ result = "no-wrap";
break;
default:
abort ();
if (!first_flag)
ostream_write_str (stream, ",");
+ ostream_write_str (stream, " ");
ostream_write_str (stream,
make_format_description_string (mp->is_format[i],
format_language[i],
if (!first_flag)
ostream_write_str (stream, ",");
+ ostream_write_str (stream, " ");
ostream_write_str (stream,
make_c_width_description_string (mp->do_wrap));
first_flag = false;
for (i = 0; i < NFORMATS; i++)
if (significant_format_p (mp->is_format[i]))
{
- ostream_write_str (stream, "/* Flag:");
+ ostream_write_str (stream, "/* Flag: ");
ostream_write_str (stream,
make_format_description_string (mp->is_format[i],
format_language[i],