Date: Mon, 26 Oct 2015 15:35:07 +0800 From: RayCherng Yu <raycherng@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-translators@freebsd.org Subject: Re: How to submit my leap-second translation (with PO translation)? Message-ID: <CAG2Wu4P4xnmVFf0nZ8KfBZjqGibVDmhOE%2Bb3a1tWHRXu3qn8Tg@mail.gmail.com> In-Reply-To: <CAG2Wu4NYD7t_ujOe%2BkkdkSs%2B4m2q4f0XVehCK-3ptQgDEWwr1A@mail.gmail.com> References: <CAG2Wu4M81iVo-xVxbCjLf_vhXwx7D-Q_2_pAUBEMq_qbOty75A@mail.gmail.com> <alpine.BSF.2.20.1510121943450.62072@wonkity.com> <CAG2Wu4P94%2B=nniEks_ygdt0%2B1Tri=UhG941%2BRFNS-RGudjWfzg@mail.gmail.com> <alpine.BSF.2.20.1510131206001.86120@wonkity.com> <CAG2Wu4M1PtACYBBru5ze5Rg9wiu1nvBDWQwDYaXpX-uW7_WkbQ@mail.gmail.com> <alpine.BSF.2.20.1510221538130.84993@wonkity.com> <CAG2Wu4NYD7t_ujOe%2BkkdkSs%2B4m2q4f0XVehCK-3ptQgDEWwr1A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I remove my ~/doc(rm -r doc) and .subversion directory. Then, I checkout again (svn checkout https://svn0.us-west.FreeBSD.org/doc/head ~/doc) And make po again. I got the same result. raycherng@FreeBSD </home/raycherng> svn mkdir --parents ~/doc/zh_TW.UTF-8/articles/leap-seconds/ A /home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds raycherng@FreeBSD </home/raycherng> svn cp ~/doc/en_US.ISO8859-1/articles/leap-seconds/Makefile ~/doc/zh_TW.UTF-8/articles/leap-seconds/ A /home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds/Makefile raycherng@FreeBSD </home/raycherng> cd ~/doc/zh_TW.UTF-8/articles/leap-seconds/raycherng@FreeBSD </home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds> ls Makefile raycherng@FreeBSD </home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds> make po file:///usr/home/raycherng/doc/share/xml/freebsd50.dtd:20: warning: failed to load external entity "file:///usr/home/raycherng/doc/share/xml/entities.ent" %orig-entities; ^ Entity: line 1: %orig-entities; ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:1= 0: parser error : Entity 'os' not defined <title>&os; Support for Leap Seconds</title> ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:2= 0: parser error : Entity 'os' not defined This article describes how &os; interacts with leap ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:4= 0: parser error : Entity 'os' not defined <title>Default Leap Second Handling on &os;</title> ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:4= 3: parser error : Entity 'os' not defined <acronym>POSIX</acronym> time rules &os; uses by default, ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:4= 5: parser error : Entity 'url.books.handbook' not defined xlink:href=3D"&url.books.handbook;/network-ntp.html"><acronym>NTP</acronym>= </link ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:7= 0: parser error : Entity 'os' not defined <para>We believe and expect that &os;, if provided correct and ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:8= 2: parser error : Entity 'os' not defined handle the leap-second the same way as &os;, and systems without ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:1= 04: parser error : Entity 'prompt.user' not defined <screen>&prompt.user; <userinput>ntpq -c 'rv 0 leap'</userinput></screen> ^ /usr/home/raycherng/doc/en_US.ISO8859-1/articles/leap-seconds/article.xml:1= 15: parser error : Entity 'os' not defined <para>In practice, leap seconds are usually not a problem on &os;. ^ *** Error code 4 Stop. make: stopped in /usr/home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds Anything wrong with my command? Or something wrong with FreeBSD-doc? 2015-10-23 6:32 GMT+08:00 RayCherng Yu <raycherng@gmail.com>: > I started with a a full checkout of the doc tree(rm -r ~/doc and checkout > a full new doc tree) > > Ok, I'll try it later > > > 2015-10-23 5:46 GMT+08:00 Warren Block <wblock@wonkity.com>: > >> On Fri, 23 Oct 2015, RayCherng Yu wrote: >> >> I delete my doc dir and svn checkout again >>> When I make po again to test translation of leap second article. >>> I got the following messages: >>> >>> make po >>> file:///usr/home/raycherng/doc/share/xml/freebsd50.dtd:20: warning: >>> failed to load external entity >>> "file:///usr/home/raycherng/doc/share/xml/entities.ent" >>> %orig-entities; >>> ^ >>> Entity: line 1: >>> %orig-entities; >>> ^ >>> >> ... >> >>> *** Error code 4 >>> >>> Stop. >>> make: stopped in >>> /usr/home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds >>> >> >> It worked here just now, starting without a PO file. Was this a full >> checkout of the doc tree? >> >> There were a couple of recent changes to handle entities correctly. >> First, clean out any temporary files: >> >> % cd /usr/home/raycherng/doc/zh_TW.UTF-8/articles/leap-seconds >> % make clean >> >> Then try 'make po' again. If it still fails, start with a fresh >> directory with only the Makefile present. There might still be old >> localized entities in the PO file. > > > > > -- > "Life is like a snowball. The important thing is finding wet snow and a > really long hill." > > "Price is what you pay. Value is what you get." > > "The first rule of Investing is don't lose money; the second rule is > don't forget rule #1..." > > "Wall Street is the only place that people ride to work in a Rolls-Royce > to get advice from those who take the subway..." > > > =E2=80=94 Warren Buffett. > --=20 "Life is like a snowball. The important thing is finding wet snow and a really long hill." "Price is what you pay. Value is what you get." "The first rule of Investing is don't lose money; the second rule is don't forget rule #1..." "Wall Street is the only place that people ride to work in a Rolls-Royce to get advice from those who take the subway..." =E2=80=94 Warren Buffett.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG2Wu4P4xnmVFf0nZ8KfBZjqGibVDmhOE%2Bb3a1tWHRXu3qn8Tg>