From owner-freebsd-translators@freebsd.org Thu Oct 22 22:11:09 2015 Return-Path: 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 BDADEA1C84C for ; Thu, 22 Oct 2015 22:11:09 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BB5DA17 for ; Thu, 22 Oct 2015 22:11:09 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t9MLk04a087105 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 22 Oct 2015 15:46:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t9MLk0fA087102; Thu, 22 Oct 2015 15:46:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 22 Oct 2015 15:46:00 -0600 (MDT) From: Warren Block To: RayCherng Yu cc: freebsd-translators@freebsd.org Subject: Re: How to submit my leap-second translation (with PO translation)? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 22 Oct 2015 15:46:01 -0600 (MDT) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2015 22:11:09 -0000 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: 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 ; 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 ; Thu, 22 Oct 2015 22:32:45 +0000 (UTC) (envelope-from raycherng@gmail.com) Received: by iodv82 with SMTP id v82so106758102iod.0 for ; 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: References: Date: Fri, 23 Oct 2015 06:32:44 +0800 Message-ID: Subject: Re: How to submit my leap-second translation (with PO translation)? From: RayCherng Yu To: Warren Block 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 : > 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.