From: Theodore Ts'o Date: Wed, 1 Jan 2025 06:09:43 +0000 (-0500) Subject: po: update the binary gmo files X-Git-Tag: v1.47.2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d84b4ceb01b11377dba1ba6d2d01b160adcec43;p=thirdparty%2Fe2fsprogs.git po: update the binary gmo files Also relax the msgfmt checking to avoid using --check-format, since e2fsck's problem string's %-interpolation allows the ordering of block, inode, etc. numbers to be moved around in translations. (And the recent update to the Spanish po file takes advantage of this feature.) Signed-off-by: Theodore Ts'o --- diff --git a/po/Makefile.in.in b/po/Makefile.in.in index f21852fe..5e19eeb8 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -55,6 +55,7 @@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ +MSGFMT_OPTS = --check-header --check-domain MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ @@ -96,14 +97,14 @@ DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: - $(E) "$(MSGFMT) -c -o $@ $<"; \ - $(Q) $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + $(E) "$(MSGFMT) $(MSGFMT_OPTS) -o $@ $<"; \ + $(Q) $(MSGFMT) $(MSGFMT_OPTS) -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ - echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ - cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) $(MSGFMT_OPTS) --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) $(MSGFMT_OPTS) --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ diff --git a/po/cs.gmo b/po/cs.gmo index 3a73e4ef..05c0084e 100644 Binary files a/po/cs.gmo and b/po/cs.gmo differ diff --git a/po/es.gmo b/po/es.gmo index a3f46fb9..91df241a 100644 Binary files a/po/es.gmo and b/po/es.gmo differ diff --git a/po/fr.gmo b/po/fr.gmo index 23db0353..003a946b 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/id.gmo b/po/id.gmo index 6657b014..421f78ad 100644 Binary files a/po/id.gmo and b/po/id.gmo differ diff --git a/po/ms.gmo b/po/ms.gmo index fa6ef807..9c0e30c2 100644 Binary files a/po/ms.gmo and b/po/ms.gmo differ diff --git a/po/pl.gmo b/po/pl.gmo index 8d510d4a..0ef5df16 100644 Binary files a/po/pl.gmo and b/po/pl.gmo differ diff --git a/po/ro.gmo b/po/ro.gmo index 912d2a33..5c199ef6 100644 Binary files a/po/ro.gmo and b/po/ro.gmo differ diff --git a/po/sv.gmo b/po/sv.gmo index 1e79a6df..17e8dabc 100644 Binary files a/po/sv.gmo and b/po/sv.gmo differ diff --git a/po/uk.gmo b/po/uk.gmo index 59158d2a..5062d880 100644 Binary files a/po/uk.gmo and b/po/uk.gmo differ diff --git a/po/zh_CN.gmo b/po/zh_CN.gmo index e7520fd8..024319be 100644 Binary files a/po/zh_CN.gmo and b/po/zh_CN.gmo differ