1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

procps: address failure with gettext 0.22

(From OE-Core rev: 046458f00108385eeae9f71f7350dc1693f64081)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-07-27 16:36:27 +02:00
committed by Richard Purdie
parent a2f1791f8d
commit 0b3ba1e2d9
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,37 @@
From 1d685477c254e5b10a81e32c87786e0f001b70f1 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Mon, 24 Jul 2023 18:06:51 +0200
Subject: [PATCH] po/fr.po: address failures with gettext 0.22
Specifically:
| fr.1po:3027: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 4, the argument size specifier is invalid.
| fr.1po:3820: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the argument size specifier is invalid.
Upstream-Status: Submitted [https://gitlab.com/procps-ng/procps/-/merge_requests/199]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
po/fr.po | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/po/fr.po b/po/fr.po
index 715c2b69..700834e1 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -3800,7 +3800,7 @@ msgid ""
"Type 'q' or <Esc> to continue "
msgstr ""
"Aide pour les commandes interactives~2 - %s\n"
-"Fenêtre ~1%s~6: ~1Mode cumulatif ~3%s~2. ~1Système~6: ~1Délai ~3%.1lf "
+"Fenêtre ~1%s~6: ~1Mode cumulatif ~3%s~2. ~1Système~6: ~1Délai ~3%.1f "
"secs~2; ~1Mode sûr ~3%s~2.\n"
"\n"
" Z~5,~1B~5,E,e Global: «~1Z~2» couleurs; «~1B~2» gras; «~1E~2»/«~1e~2» "
@@ -4723,7 +4723,7 @@ msgstr " -v, --version affiche les informations de version et sort\n"
#: src/watch.c:486
#, c-format
msgid "Every %.1fs: "
-msgstr "Toutes les %.1lfs: "
+msgstr "Toutes les %.1fs: "
#: src/watch.c:487
#, c-format
@@ -15,6 +15,7 @@ inherit autotools gettext pkgconfig update-alternatives
SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \
file://sysctl.conf \
file://0001-src-w.c-use-utmp.h-only.patch \
file://0001-po-fr.po-address-failures-with-gettext-0.22.patch \
"
SRCREV = "806eb270f217ff7e1e745c7bda2b002b5be74be4"