Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Dear Yaron,

I am still struggling with the 'invalid entry' message during LO build. The
followings are things I have done since you advised me last time:

1) corrected all 'critical errors' suggested
2) Tried to build and failed
3) Uploaded all files to Pootle, corrected all errors suggested by pootle
downloaded the translations and tried to build, not OK
4) Pulled the latest source code from git, switched to master and tried to
build, not OK

I did this on both Win and Ubuntu with same result. When I open the files
in Virtaal I cannot see any problem. What shall I do?

Regards,


On Sun, Jul 28, 2013 at 11:11 AM, Yaron Shahrabani <sh.yaron@gmail.com>wrote:

I attached 2 files.

msgfmtlog.txt - Displays all errors, even the non critical one (these can
be fixed with recursive regex operation).

msgfmtcrit.txt - Displays only the critical errors (grep -v did the job).

The commands I used:
# recursively find all po files and send then to msgfmt for inspection
find . -name *.po -exec msgfmt -vco /dev/null {} \; >& msgfmtlog.txt
# filter out all the non critical messages (usefull only in this case) and
put them in a file
cat msgfmtlog.txt | grep -v 'initial\|translated' > msgfmtcrit.txt


Kind regards,

Yaron Shahrabani

<Hebrew translator>



On Sat, Jul 27, 2013 at 6:10 PM, Zolnai Tamás <zolnaitamas2000@gmail.com>wrote:

Yes, gettext may help, to find the problem, but the "contains invalid
entry" message come from LO specific po checks. The LO used po has some
additional requirements to meet. If you use Pootle, than this problem don't
come up, but If you intend to use "Find and Replace" in a text editor than
you have to be sure that this replacing touch only the lines started with
"msgstr" and not others.

Best regards,
Tamás

2013/7/27 Yaron Shahrabani <sh.yaron@gmail.com>

It's fairly simple, assuming you have the gettext tools installed, if
not just send me the file and I'll scan it for you.

With gettext the command would be: msgfmt -vco /dev/null base.po (in the
same dir of course)

Yaron Shahrabani

<Hebrew translator>



On Sat, Jul 27, 2013 at 11:37 AM, Tadele Assefa <milkyswd@gmail.com>wrote:

Dear All,

After we did a 100%, we decided to change some of owr strings to a  new
terminology. As a result I did a "Find and Replace in All Files" using
Sublime Text 2 to change the terms.

After this I started building entire LO,(libreoffice-4-1 branch), but it
failed to include the new terms saying invalid entry like
"git/libowin/translations/source/sid/scp2/source/base.po contains
invalid
entry".


What mistake did I do? How may i resolve this?
--
Regards,*
___________________________
Tadele Assefa***

--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems?
http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more:
http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be
deleted



_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice






-- 
Regards,*
___________________________
Tadele Assefa
Managing Director*
*

Cell: +25-911-84-13-84*
*Think Green – Please do not print this email unless you really need to*

Context


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.