[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] false msgfmt warning
From: |
Karl Eichwalder |
Subject: |
[bug-gettext] false msgfmt warning |
Date: |
Wed, 27 Jul 2011 10:07:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
<#multipart>
Shane reminded me of a strange msgfmt warning:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===-=-="
> msgfmt -cv -o /dev/null kerry.es.po
>
> kerry.es.po:5: warning: header field `Language' should start at beginning of
> line
>
> 142 translated messages.
0.18.1 on openSUSE 11.4 prints this warning, even if the string
"Language" is just a value of a header field. I think it should only
warn, if "Language" is actually the name of header field and if it is
preceded by leading white-space. Here is a shortened file for testing:
<#part type=text/x-gettext-translation charset="utf-8" filename="kerry.es.po"
disposition=attachment nofile=yes description="po file with 'Language'">
# Copyright (C) 2006 SuSE Linux Products GmbH, Nuernberg
# This file is distributed under the same license as the package.
#
msgid ""
msgstr ""
"Project-Id-Version: kerry\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-01-15 14:37+0100\n"
"PO-Revision-Date: 2009-02-04 14:32\n"
"Last-Translator: Novell Language <address@hidden>\n"
"Language-Team: Novell Language <address@hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
--===-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
#: _translatorinfo.cpp:1
msgid "_: NAME OF TRANSLATORS\nYour names"
msgstr "Novell Language"
#: _translatorinfo.cpp:3
msgid "_: EMAIL OF TRANSLATORS\nYour emails"
msgstr "address@hidden"
#: beaglesearch.cpp:42
msgid "Album: %1"
msgstr "=C3=81lbum: %1"
--===-=-=
Content-Type: text/plain; charset=utf-8
--===-=-=--
--
Karl Eichwalder SUSE LINUX Products GmbH
R&D / Documentation Maxfeldstraße 5
90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] false msgfmt warning,
Karl Eichwalder <=