From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNovG20crmBBEAAAgWs5BA (envelope-from ) for ; Wed, 26 May 2021 12:01:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4PTSFm0crmAFagAAB5/wlQ (envelope-from ) for ; Wed, 26 May 2021 10:01:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 07C83235A5 for ; Wed, 26 May 2021 12:01:16 +0200 (CEST) Received: from localhost ([::1]:46606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llqLi-0003a2-7r for larch@yhetil.org; Wed, 26 May 2021 06:01:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llqLW-0003Yb-SG for guix-patches@gnu.org; Wed, 26 May 2021 06:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llqLW-0000lt-KO for guix-patches@gnu.org; Wed, 26 May 2021 06:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llqLW-0004v8-IY for guix-patches@gnu.org; Wed, 26 May 2021 06:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48637] [PATCH] website: Add publications page Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 10:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: Luis Felipe , "48637@debbugs.gnu.org" <48637@debbugs.gnu.org> Received: via spool by 48637-submit@debbugs.gnu.org id=B48637.162202323618863 (code B ref 48637); Wed, 26 May 2021 10:01:02 +0000 Received: (at 48637) by debbugs.gnu.org; 26 May 2021 10:00:36 +0000 Received: from localhost ([127.0.0.1]:47669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llqL6-0004uB-0Z for submit@debbugs.gnu.org; Wed, 26 May 2021 06:00:36 -0400 Received: from pelzflorian.de ([5.45.111.108]:53824 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llqL0-0004tr-6K for 48637@debbugs.gnu.org; Wed, 26 May 2021 06:00:34 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id DDFAC36065D; Wed, 26 May 2021 12:00:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1622023227; bh=6Pj8relsSnabpX6FRCMNHRgey7pbr9He20MidfHJnPg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YnIDg+PV+qzVs3pB20hIzgEMYihZgvb+Q34FFwHZXpQZ/OINWibhbeCjHXTdwJOT0 Hv36LuxoX/ZtarSUWm/3YUzAAGOlFUz+u1nny2kSMURdHoNngSCqv2EQVBHgyeTDwn vYm8d57j7w0eNYJ2CDMVum8JJiUCbyxtxF/faVuM= Date: Wed, 26 May 2021 12:00:18 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210526095955.obtu772oolv4lkrb@pelzflorian.localdomain> References: <4BtcqLwBY7LgeYhUd41lhUUAcT5n2Zn9OTJUzGswTuBpLla8nBHyrQ3kJzwEMI9E7MPEnr6wBqSeCMqByldZ6i5jPR8B7ZtEi0XhwextyQo=@protonmail.com> <20210525134405.hmevensj5m42iluo@pelzflorian.localdomain> <3mZyc8pra0TLSyJS6RlWIrQGBnje7dT_EMRBeOdFC_Z2wsZGoaI1rVNVtoiI57KEOvolEiahl6j7M4UBsoO0NsuieAfDPIkZQ-MR8C5UhAE=@protonmail.com> <20210525182123.a5l4d6t3xt3qn437@pelzflorian.localdomain> <0aOCO-8AZ9biZ9iIxwrbB509xigLvoEfiOHOXiC_hfm1YqdAKMuCftahFz-8Ix2Ikdlt8akHkyoRsH6OvV0gOzlFrcw3xdyeE2IPF5TchB0=@protonmail.com> <02EED264-0509-453A-A016-2AD05353370B@lepiller.eu> <68748170-9C48-45F1-98D7-6152572D6D61@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <68748170-9C48-45F1-98D7-6152572D6D61@lepiller.eu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622023277; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2NKMprh+WqlBrDmj83IuzYJ3gCRMh/Prz9xQzQwLZpY=; b=aQCAoGFoV1Qnf99Wr1qPcw8mHiUt2FVD0dyHgcsvoODmX1qYwJjcGN6ckNe0Vw83Kqv0l1 sNxnrc8ZeKJ4QXt72r43j1DhJCXuUyHQrK/EmYSsgrBjOIirnfQYW5EHsPog17pSYAz8iE U1zYBtaW/4Ikd6yMJCBuwbm41naFH6SzmvykOgtlJplMZGcn/kqUWeqU121Xe1jeEkwHHm LPs3AmAy1B2wzC9BGTsWgGdjUYeM6lssgFSYT5lzXAULQEm0tGbEla7wo6yIVfP2S3UN+G qsNYshUkkA9jwgjCIlAtLgLvBMJESDgg5+bH/CvJagdaskLOW0xnQbjaWn2Xvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622023277; a=rsa-sha256; cv=none; b=KCiZs0KyeCUTvtmL+me3qYm7a0a0Gx8a6SWDUSyCtQYi60qoLvw1QJkM83rqygGQfXJCAF 8gdEmlMZgXIUUsrziyIMjdgtIRaxgRjkvRqPiyhg0Do2/plkDB0x8NB59xjKS9QtvmhhzU 4kJMqxPoyuN0mmPejH9ba+VFLVg03qqSLiCDUtdIiSUNmS2MdplVM/jVtzkORd8eBb9bug 4E8o/j+pk6QGiUwqpmZrh3V3SFPA8uZXUp9vqQceFjBSQeu1/dgWH9MWMp244YGbUKnrth 65n79QlZnpLv/IjQVnbSluge47oGQXxMr7HUUhLx1G5qAJk5cgPQzQxo4CAM/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=YnIDg+PV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=YnIDg+PV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 07C83235A5 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: l8NT3xYoAKQr On Tue, May 25, 2021 at 10:03:01PM -0400, Julien Lepiller wrote: > Le 25 mai 2021 16:16:42 GMT-04:00, Luis Felipe a écrit : > >#:authors (G_ "Jane Roe, Eva Lua and Luis Felipe") > > I think so, but I think we'll have to test, because I don't really know the i18n process either for the website ^^' Yes, it is correct and the best way, but testing by running the sexp-xgettext script is good too. > >That's what I thought, and I was about to ask if it was possible to > >have and instead of <1> and <2>. I guess not... > > > >I need a course on the i18n system :) I wanted the sexp-xgettext i18n system so developers would not have to add a tag name to every element … Well, we can use regexp helper function find-empty-element like website/sexp-xgettext.scm uses at the beginning of the deconstruct procedure: (define (find-empty-element msgstr name) "Return the regex match structure for the empty tag for XML element of type NAME inside MSGSTR. If the element does not exist or is more than the empty tag, #f is returned." (string-match (string-append "<" (regexp-quote name) "/>") msgstr)) and call it on a translation with G_, but I would prefer not to increase code complexity in the website. Regards, Florian