Le 28/07/13 10:11, Yaron Shahrabani a écrit :
I'm noticing with 5.1.3.2 lots and lots of warnings (building with all languages) such as:
[build SRS] dbaccess/source/ui/misc/WizardPages.src
Warning :
/tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/translations/source/da/dbaccess/source/ui/dlg.po
contains invalid entry
Warning :
/tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/translations/source/el/dbaccess/source/ui/dlg.po
contains invalid entry
Warning :
/tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/translations/source/eo/dbaccess/source/ui/dlg.po
contains invalid entry
...
For grins, tried this [g]msgfmt invocation to see what was up, and I see:
$ LANG=C gfind translations/source -name '*.po' -exec gmsgfmt -vco /dev/null {} \; >&
msgfmtlog.txt
$ cat msgfmtlog.txt |grep -Ev 'translated|fatal error' |cut -d: -f3- |sort |uniq -c
125
3 'msgid' and 'msgstr' entries do not both begin with '\n'
207 'msgid' and 'msgstr' entries do not both end with '\n'
41 invalid nplurals value
41 invalid plural expression
82 n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
26640 warning: header field 'Language-Team' still has the initial default value
157 warning: header field 'Language' missing in header
8 warning: header field 'Language' still has the initial default value
3745 warning: header field 'Last-Translator' still has the initial default value
3748 warning: header field 'PO-Revision-Date' still has the initial default value
27629 warning: header field 'Project-Id-Version' still has the initial default value
43 warning: PO file header fuzzy
hoping something can be done to get over the bulk of these.
--
Richard PALO
Context
- Re: [libreoffice-l10n] Invalid Entry in Po Files · Richard PALO
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.