]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
po: update the binary gmo files
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jan 2025 06:09:43 +0000 (01:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jan 2025 06:09:43 +0000 (01:09 -0500)
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 <tytso@mit.edu>
po/Makefile.in.in
po/cs.gmo
po/es.gmo
po/fr.gmo
po/id.gmo
po/ms.gmo
po/pl.gmo
po/ro.gmo
po/sv.gmo
po/uk.gmo
po/zh_CN.gmo

index f21852fecc89a6b2791ff018bf732d871e7a5e0b..5e19eeb8263264a030c7e43a67c66d00c2ddfa83 100644 (file)
@@ -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-$@
index 3a73e4ef8cee7cdd8816f06a7e846cac96b97651..05c0084e4364592d939524ba0ca23b4a8faf1690 100644 (file)
Binary files a/po/cs.gmo and b/po/cs.gmo differ
index a3f46fb98ee7834902e266938af11227dd5e2c50..91df241a16592caaf12685f4e624f4f5a56ca7d1 100644 (file)
Binary files a/po/es.gmo and b/po/es.gmo differ
index 23db03536b29c4d38320eabc64f8e94030be41f3..003a946b97e05467ffec55133d743fb46ff6b44e 100644 (file)
Binary files a/po/fr.gmo and b/po/fr.gmo differ
index 6657b01453c65bd8c7118a70e6b924973d523d01..421f78ad895c27a21ce22303a98ded190817acda 100644 (file)
Binary files a/po/id.gmo and b/po/id.gmo differ
index fa6ef80744b6c84b3ff623a184257be75aa95437..9c0e30c202b0d38ebd0d5d40ec263ac2f254908a 100644 (file)
Binary files a/po/ms.gmo and b/po/ms.gmo differ
index 8d510d4a6acf4fb91dc25fd0d24cfc6a5dad7f93..0ef5df16d61660dd6de1e6458b52148f3be3fc82 100644 (file)
Binary files a/po/pl.gmo and b/po/pl.gmo differ
index 912d2a33e275cd3591ca36cda3255089fe638783..5c199ef6b8b1464931ba9ae155a03ed9e0a75d18 100644 (file)
Binary files a/po/ro.gmo and b/po/ro.gmo differ
index 1e79a6dfc63bf8043387772efbb61133c77e4951..17e8dabc333f05699065d6e64b788e6a8f87b72f 100644 (file)
Binary files a/po/sv.gmo and b/po/sv.gmo differ
index 59158d2a4bdb6766dc7df00a0c5af63ff97bf307..5062d880dedf9960054bb9b438fc04b851e8022d 100644 (file)
Binary files a/po/uk.gmo and b/po/uk.gmo differ
index e7520fd8f5f47843f0d5fbfcf1c4f125a84b9f07..024319be19a523032434f3f34d381dd576531e34 100644 (file)
Binary files a/po/zh_CN.gmo and b/po/zh_CN.gmo differ