Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 15:46:00 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        RayCherng Yu <raycherng@gmail.com>
Cc:        freebsd-translators@freebsd.org
Subject:   Re: How to submit my leap-second translation (with PO translation)?
Message-ID:  <alpine.BSF.2.20.1510221538130.84993@wonkity.com>
In-Reply-To: <CAG2Wu4M1PtACYBBru5ze5Rg9wiu1nvBDWQwDYaXpX-uW7_WkbQ@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
From owner-freebsd-translators@freebsd.org  Thu Oct 22 22:32:45 2015
Return-Path: <owner-freebsd-translators@freebsd.org>
Delivered-To: freebsd-translators@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2D94A1CE07
 for <freebsd-translators@mailman.ysv.freebsd.org>;
 Thu, 22 Oct 2015 22:32:45 +0000 (UTC)
 (envelope-from raycherng@gmail.com)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com
 [IPv6:2607:f8b0:4001:c06::22c])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9B445162C
 for <freebsd-translators@freebsd.org>; Thu, 22 Oct 2015 22:32:45 +0000 (UTC)
 (envelope-from raycherng@gmail.com)
Received: by iodv82 with SMTP id v82so106758102iod.0
 for <freebsd-translators@freebsd.org>; Thu, 22 Oct 2015 15:32:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=dbIneorcJgwjj1iC30gBnRxb576fe8MqGTPyQ55LrkE=;
 b=ZavmUnXzaIDblgy9GKehUkcmeGXtSQlHlai8GYk6sBtWLbi7+v4kO+0dOVeal93U2c
 IRwh8WtTw2CmTTG39xcE3j8a4Ab/m1Wk8hFD7NMPXDMRlJ8/ZnysFYLQ+5VithL5aJ18
 gIetfGwdPsTY0dDwUutaKx+Uwtx1ADSK79qD4D9BPAo1+gkOISPpIFOFksbGhoMhxTlI
 G1KmcaorE5Ru52iLzfrDl6Hh21qQBTTi87BzlUutD4/OJqs5XJPnB6P5uaInCcUwe6Kq
 pI4MRmJvmyatdwN3Al/UHH4C9JbyA4WwkgNNrtbo0KI0L2xEjz8Qi6t5+nUpJnDNDGz6
 gIZw==
MIME-Version: 1.0
X-Received: by 10.107.47.24 with SMTP id j24mr3765761ioo.168.1445553164934;
 Thu, 22 Oct 2015 15:32:44 -0700 (PDT)
Received: by 10.107.8.25 with HTTP; Thu, 22 Oct 2015 15:32:44 -0700 (PDT)
In-Reply-To: <alpine.BSF.2.20.1510221538130.84993@wonkity.com>
References: <CAG2Wu4M81iVo-xVxbCjLf_vhXwx7D-Q_2_pAUBEMq_qbOty75A@mail.gmail.com>
 <alpine.BSF.2.20.1510121943450.62072@wonkity.com>
 <CAG2Wu4P94+=nniEks_ygdt0+1Tri=UhG941+RFNS-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>
Date: Fri, 23 Oct 2015 06:32:44 +0800
Message-ID: <CAG2Wu4NYD7t_ujOe+kkdkSs+4m2q4f0XVehCK-3ptQgDEWwr1A@mail.gmail.com>
Subject: Re: How to submit my leap-second translation (with PO translation)?
From: RayCherng Yu <raycherng@gmail.com>
To: Warren Block <wblock@wonkity.com>
Cc: freebsd-translators@freebsd.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
X-BeenThere: freebsd-translators@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Translators <freebsd-translators.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-translators>, 
 <mailto:freebsd-translators-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-translators/>;
List-Post: <mailto:freebsd-translators@freebsd.org>
List-Help: <mailto:freebsd-translators-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-translators>, 
 <mailto:freebsd-translators-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2015 22:32:46 -0000

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-secon=
ds
>>
>
> 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 director=
y
> with only the Makefile present.  There might still be old localized
> entities in the PO file.




--=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?alpine.BSF.2.20.1510221538130.84993>