From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#32440: localization of guix refresh Date: Tue, 14 Aug 2018 21:45:16 +0200 Message-ID: <20180814214516.5e3da61a@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpfIU-00036m-Og for bug-guix@gnu.org; Tue, 14 Aug 2018 15:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpfIR-0008Mf-B8 for bug-guix@gnu.org; Tue, 14 Aug 2018 15:48:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpfIQ-0008Lh-Rl for bug-guix@gnu.org; Tue, 14 Aug 2018 15:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fpfIQ-0006aN-5s for bug-guix@gnu.org; Tue, 14 Aug 2018 15:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpfGk-00029U-7Q for bug-guix@gnu.org; Tue, 14 Aug 2018 15:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpfGV-0007ZL-2l for bug-guix@gnu.org; Tue, 14 Aug 2018 15:46:18 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:43936) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fpfGU-0007X2-IS for bug-guix@gnu.org; Tue, 14 Aug 2018 15:46:02 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 4b010cd6 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Tue, 14 Aug 2018 19:46:11 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32440@debbugs.gnu.org Hi, I've just found out that guix refresh is not translated. Indeed, guix/script/refresh.scm is not listed in po/guix/POTFILES.in as it should be. Adding it to the file leads to an issue though. One of the entries generated in po files is the following: #: guix/scripts/refresh.scm:307 #, scheme-format msgid "" "Building the following package would ensure ~d dependent packages are " "rebuilt: ~*~{~a~^ ~}~%" msgid_plural "" "Building the following ~d packages would ensure ~d dependent packages" "are rebuilt: ~{~a~^ ~}~%" msgstr[0] "" "Building the following package would ensure ~d dependent packages are " "rebuilt: ~*~{~a~^ ~}~%" msgstr[1] "" "Building the following ~d packages would ensure ~d dependent packages" "are rebuilt: ~{~a~^ ~}~%" which leads to this error while running "make -C po/guix update-po": en@boldquot.po:3140: format specifications in 'msgstr[0]' are not a subset of those in 'msgid_plural'.