From patchwork Wed Jun 23 10:25:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 30638 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EADFB27BC78; Wed, 23 Jun 2021 11:26:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B128927BC78 for ; Wed, 23 Jun 2021 11:26:09 +0100 (BST) Received: from localhost ([::1]:36492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw05A-0008VO-Pt for patchwork@mira.cbaines.net; Wed, 23 Jun 2021 06:26:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw054-0008UP-3F for guix-patches@gnu.org; Wed, 23 Jun 2021 06:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lw053-00009t-Rj for guix-patches@gnu.org; Wed, 23 Jun 2021 06:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lw053-0007TR-PT for guix-patches@gnu.org; Wed, 23 Jun 2021 06:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49184] [PATCH]: Strings in (guix diagnostics) are not translated Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Jun 2021 10:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49184 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49184@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162444393728695 (code B ref -1); Wed, 23 Jun 2021 10:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 10:25:37 +0000 Received: from localhost ([127.0.0.1]:40442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw04e-0007Sl-KS for submit@debbugs.gnu.org; Wed, 23 Jun 2021 06:25:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:52210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw04c-0007Sd-OY for submit@debbugs.gnu.org; Wed, 23 Jun 2021 06:25:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw04c-0008O9-E6 for guix-patches@gnu.org; Wed, 23 Jun 2021 06:25:34 -0400 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]:34188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lw04a-0008Aw-3F for guix-patches@gnu.org; Wed, 23 Jun 2021 06:25:34 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id LaRT2500e0mfAB406aRTwL; Wed, 23 Jun 2021 12:25:27 +0200 Message-ID: <476731ec1dba1e224a5e872283d949b331d8e628.camel@telenet.be> From: Maxime Devos Date: Wed, 23 Jun 2021 12:25:27 +0200 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624443927; bh=ZhQGgQ+BoHHHdduQo2c1JT25VIB3CHoxzVgSgTAxZ6k=; h=Subject:From:To:Date; b=rg65VpmOJ99Lk1hLv+PT2E/32yxp2Gsc3FzJUfueE0L5+KRsq8WKyOJBP8ChqDTQv VmQ1ZFckR2ff2VydblBF0VL8MUAa/E2QF6WeZwWC0YCNSlHTKX/fApuDefel4+ZihD UxQF7EwWCAtfSfOKvQjW0EVa+fy+PzndEqzG0U1UJR6cLKmzDiJdx6iDrmPPFHxZo3 rD3WsEfW3Vv0Tp083z9+kXeVK4+Fn6APOEfJy0RbycJGfPPMGHdDPlQA9ZkrFe/19l jNjKzr/LB3m0rbMDyN/gVCe1lI5AI1VMlwPOCdh6CKw2R9mwRnG0MCyQQq+NOLzSbt y88pfez7CW7vA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, (guix diagnostics) has some translatable strings. See e.g. the following code: (define-diagnostic warning (G_ "warning: ") %warning-color) ;emit a warning (define-diagnostic info (G_ "") %info-color) (define-diagnostic report-error (G_ "error: ") %error-color) These are currently not translated and don't appear on translate.fedoraproject.org. The issue appears to be that guix/diagnostics.scm does not appear in guix/POTFILES.in. A patch that should fix this is attached. Greetings, Maxime. From 2b3c51645e811ddd615fca5355618e4b0d82c4ec Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 18 Jun 2021 13:47:04 +0200 Subject: [PATCH] po: Add (guix diagnostics) to the list of files with I18N strings. * po/guix/POTFILES.in: Add guix/diagnostics.scm. --- po/guix/POTFILES.in | 1 + 1 file changed, 1 insertion(+) diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in index cbbfe1e76b..34c77c74cd 100644 --- a/po/guix/POTFILES.in +++ b/po/guix/POTFILES.in @@ -93,6 +93,7 @@ guix/profiles.scm guix/git.scm guix/deprecation.scm guix/derivations.scm +guix/diagnostics.scm guix/scripts/archive.scm guix/scripts/build.scm guix/scripts/environment.scm -- 2.32.0