From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nSZOo-00030f-Cr for mharc-grub-devel@gnu.org; Fri, 11 Mar 2022 02:09:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSZOj-0002yU-7h for grub-devel@gnu.org; Fri, 11 Mar 2022 02:09:14 -0500 Received: from [2607:f8b0:4864:20::833] (port=42973 helo=mail-qt1-x833.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSZOg-0005Gd-Pd for grub-devel@gnu.org; Fri, 11 Mar 2022 02:09:12 -0500 Received: by mail-qt1-x833.google.com with SMTP id 11so6633241qtt.9 for ; Thu, 10 Mar 2022 23:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X4Y4LtSsk5WV8GFRigKBoXJpy0/Q3gbA9YBkgpolQfU=; b=fDQGmJ3Kp+vTiyz71qlyqaoTf1LBGZaDutO7JhyJ3IkhnjbRw77l2JxpbAMZE20kwj cahfj0wi2Fgof6xS9X0y9YO4Q+DZjVnSNiRHQ/ZZCgRhbtDhiCILCf7uAT/dr2+Z8rfn uaUQupoM/vG8kujKPUhirATIO901i7pUmvWn8Do6AjXtgGeab2sagg1Cp+BKRjOeY9+n Glarte54SWy8/PPOnWV/5yLfxkjcP/Dmg/cW63taj34780mjb8Q35wxk5W2uwvTdr9R4 T9ywbPUU6mP39QAKW/FCmifhY9cfozgDDBMvMazcDfXD5jMJb2P5KkCxP7DzP/4jSbgt Tfyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X4Y4LtSsk5WV8GFRigKBoXJpy0/Q3gbA9YBkgpolQfU=; b=TeYX5t5iiLU56qolCO1gqFckT3MBB0ecVSXp6VbYVszTY5yGPkKWSolXcm5VDOeFah gsDj0qGisBCgZ0VQ36r/mNT2bfT8Wx1uBomyhT2CUPeIMrEiPZM6itCc5UjUbqB54/ZF 2DNEA1K0iDIrz6ecaJTzb03nqotoTP8dKOAXenYiNTWfboo27s1rsXO7Vfh8+bTRxOuG wT2YP1TKecnIe127cDr2swscINMru8rCcNT3Aim2iTfxtAToN8gp3cMeiWNtGxTYvqrh uqHK4pd3viyY7rsfsb99JrRZao+2UXPWZ2I6Jv40R2ynW4a0Z83ktJWxKOiXtxx09wf+ rKGg== X-Gm-Message-State: AOAM533BAmDldZO2+YaEbfCac4fnY1WLO/g0gHOyhiQS1LWKaq7GS+hW AFCoxYQYHEA69JLloBB6ZzReFQ== X-Google-Smtp-Source: ABdhPJyHW/mfgx3i06LjkM8eA4tXMcPRI+WHhz0w4m9TRzDDVHqvN75ploP7pMnSTzFMjZTDTJ7aWw== X-Received: by 2002:ac8:5a48:0:b0:2e0:198:1924 with SMTP id o8-20020ac85a48000000b002e001981924mr6993161qta.481.1646982537641; Thu, 10 Mar 2022 23:08:57 -0800 (PST) Received: from localhost.localdomain (garza.riseup.net. [198.252.153.109]) by smtp.gmail.com with ESMTPSA id a129-20020a376687000000b0067d186d953bsm3480154qkc.121.2022.03.10.23.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 23:08:57 -0800 (PST) From: Glenn Washburn To: Daniel Kiper , grub-devel@gnu.org Cc: Glenn Washburn Subject: [PATCH v2] po: Un-transliterate the %zu format code Date: Fri, 11 Mar 2022 01:08:32 -0600 Message-Id: <20220311070832.1128252-1-development@efficientek.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::833 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=development@efficientek.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2022 07:09:15 -0000 Commit 45bffae13 (util/resolve: Bail with error if moddep.lst file line is too long) uses the %zu format specifier which has not been used in any translated strings yet. So the sed scripts used for tranliterating certain languages need to be updated otherwise creation of the message indexes will fail on an unknown format code. This is essentially the same issue fixed for the %m format code in commit 2e246b6f (po: Fix replacement of %m in sed programs). Also reorder transliteration lines to be more lexographically ordered. Signed-off-by: Glenn Washburn --- po/arabic.sed | 3 ++- po/cyrillic.sed | 3 ++- po/greek.sed | 3 ++- po/hebrew.sed | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/po/arabic.sed b/po/arabic.sed index 21dc8b6db2..3fbee72480 100644 --- a/po/arabic.sed +++ b/po/arabic.sed @@ -74,9 +74,10 @@ s,%\([0-9]*\)للد,%\1lld,g s,%\([0-9\.\*]*\)س,%\1s,g s,%\([0-9\.\*]*\)م,%\1m,g -s,%\([0-9]*\)لو,%\1lu,g s,%\([0-9]*\)و,%\1u,g +s,%\([0-9]*\)لو,%\1lu,g s,%\([0-9]*\)للو,%\1llu,g +s,%\([0-9]*\)زو,%\1zu,g s,%\([0-9]*\)كس,%\1x,g s,%\([0-9]*\)لكس,%\1lx,g s,%\([0-9]*\)للكس,%\1llx,g diff --git a/po/cyrillic.sed b/po/cyrillic.sed index 2e3e6655d6..472f095295 100644 --- a/po/cyrillic.sed +++ b/po/cyrillic.sed @@ -97,9 +97,10 @@ s,%\([0-9]*\)ллд,%\1lld,g s,%\([0-9\.\*]*\)с,%\1s,g s,%\([0-9\.\*]*\)м,%\1m,g -s,%\([0-9]*\)лу,%\1lu,g s,%\([0-9]*\)у,%\1u,g +s,%\([0-9]*\)лу,%\1lu,g s,%\([0-9]*\)ллу,%\1llu,g +s,%\([0-9]*\)зу,%\1zu,g s,%\([0-9]*\)ѯ,%\1x,g s,%\([0-9]*\)лѯ,%\1lx,g s,%\([0-9]*\)ллѯ,%\1llx,g diff --git a/po/greek.sed b/po/greek.sed index 3543f6aac3..0e81625fbb 100644 --- a/po/greek.sed +++ b/po/greek.sed @@ -99,9 +99,10 @@ s,%\([0-9]*\)λλδ,%\1lld,g s,%\([0-9\.\*]*\)σ,%\1s,g s,%\([0-9\.\*]*\)μ,%\1m,g -s,%\([0-9]*\)λυ,%\1lu,g s,%\([0-9]*\)υ,%\1u,g +s,%\([0-9]*\)λυ,%\1lu,g s,%\([0-9]*\)λλυ,%\1llu,g +s,%\([0-9]*\)ζυ,%\1zu,g s,%\([0-9]*\)ξ,%\1x,g s,%\([0-9]*\)λξ,%\1lx,g s,%\([0-9]*\)λλξ,%\1llx,g diff --git a/po/hebrew.sed b/po/hebrew.sed index 9210014bc3..33174bbdcc 100644 --- a/po/hebrew.sed +++ b/po/hebrew.sed @@ -82,9 +82,10 @@ s,%\([0-9]*\)ללד,%\1lld,g s,%\([0-9\.\*]*\)ש,%\1s,g s,%\([0-9\.\*]*\)מ,%\1m,g -s,%\([0-9]*\)לוּ,%\1lu,g s,%\([0-9]*\)וּ,%\1u,g +s,%\([0-9]*\)לוּ,%\1lu,g s,%\([0-9]*\)ללוּ,%\1llu,g +s,%\([0-9]*\)זוּ,%\1zu,g s,%\([0-9]*\)כּס,%\1x,g s,%\([0-9]*\)לכּס,%\1lx,g s,%\([0-9]*\)ללכּס,%\1llx,g -- 2.27.0