www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/01/03/14:45:01

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=SZeElaGCbrvYWpSQW8BnM5CErGAX9xJCzwXDNCPm0IY=;
b=b0DGw7q1k2COmhoTmYeEVQmlGcCWT+L5bN19iwD17j7Y1/hjv3Cd5ycvl2gzwZMTfE
i/fyuupAN5v5X99RuEJqQmvAHKWIjoiNOWS9zc0pYMwdtrzXIqSMw5LjDGIlPtf+2aqA
i/y24MmQ9q4nosp/l4sc7IX7d3jKm16ZpglQLRdiJX+K6GGRbxiOXulqER+6zy8cNB68
9ShKZtsoFgvvt6cE96KYheYr9eZQeBowznXdDWo0qMtiI/Zw5X6UpfCJr6MqCV8Fh3jE
TU5mtBx+QXAfi4TZ2Vc44hhaa2gq6fDgrk2pSKHpftraLL+UlnF8XDKFsqCFODpyMp7j
ubQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=SZeElaGCbrvYWpSQW8BnM5CErGAX9xJCzwXDNCPm0IY=;
b=cn9crG3u8ouhTfKnCqpNrYve6L0HxH7xsTl6KlpHaJZYvcWlwXHd9QmUYOePyE6KjM
zAU4j9HyHFCKuB8PTUZ35L2PnUHELMTYyDMiVdm6umsPAqteS1FPYgN21TYWG9UugSl1
J7JYx5HTWJSlTQNKg9Cq3/ftOrrOEmPhYr5WsNcM3/m6tCsQQVwpB032jN7Y+gQ4QenN
bmMU1nIdgyOe10hhrxWT5j7F2R/vwKGMi02AAXIcaELyThxbDshZYESUD0c67mPuLXhb
sMXttwdjj1chNP+obNovopKsNWiTto0KVbNQHDkXxgiSBEmbJvnENlR654iGQxxSiLSX
KNew==
X-Gm-Message-State: AIkVDXJZAV5/0otTl3t+Mmnhu0PiiffgxKG++fdRfGivGo630Piry/AJ1MYSEZnZYdMOFN+j3TdmgoBE1egudg==
X-Received: by 10.28.146.203 with SMTP id u194mr54047892wmd.79.1483472595781;
Tue, 03 Jan 2017 11:43:15 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <f1226321-a1f7-f46a-63c8-867024b13f87@mcmahill.net>
References: <f1226321-a1f7-f46a-63c8-867024b13f87 AT mcmahill DOT net>
From: "Sergey Alyoshin (alyoshin DOT s AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Tue, 3 Jan 2017 22:43:14 +0300
Message-ID: <CAOxVtSScXqz0QMez+=DfNYA3pACD=QQgiT2uGJGcRCSFif4W9w@mail.gmail.com>
Subject: Re: [geda-user] pcb distcheck target fails from pcb-menu.res.h
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, Jan 3, 2017 at 7:20 AM, Dan McMahill (dan AT mcmahill DOT net) [via
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> I tried to run 'make distcheck' on pcb master today and found that there
> seems to be some broken stuff in src/Makefile.am related to menu resource
> file translations.
>
> One of the things 'make distcheck' does is to verify that you can build from
> outside the source tree with a read only source tree. pcb-menu.res.h gets
> generated and then we try to copy to $srcdir (this seems broken, we should
> not be writing back to $srcdir).  That of course fails but there is a hack
> in Makefile.am to get past that.  But the later on there are complaints that
> sub/src/pcb-menu.res.h and sub/src/gpcb-menu.res.h contain translations but
> weren't listed in POTFILES.in.  This is because what is listed in
> POTFILES.in is the *source* version, not the version which was generated in
> the build tree.  Are these .res.h files actually used?  It has been a few
> years since I last dug into the menu code.

Yes messages from *-menu.res.h are necessary and resulted in po/*.po

> Does anyone know if the menu translation stuff actually works?  Was the goal
> to have translations for the default menus?

Menu is translated in commit 0a2a7efffbc3664ba14e75b479d9199ea2528a0
from origin/home/cparker/4.0.0

src/*-menu.res.h after commit 91a528eff37a76518dec5d15cd03df8c7ee0969b
now listed both in po/POTFILES.in and in po/POTFILES.skip

If src/*-menu.res.h are removed from po/POTFILES.in then all menu
strings is not translated.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019