Whamcloud - gitweb
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 f21852f..5e19eeb 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 3a73e4e..05c0084 100644 (file)
Binary files a/po/cs.gmo and b/po/cs.gmo differ
index a3f46fb..91df241 100644 (file)
Binary files a/po/es.gmo and b/po/es.gmo differ
index 23db035..003a946 100644 (file)
Binary files a/po/fr.gmo and b/po/fr.gmo differ
index 6657b01..421f78a 100644 (file)
Binary files a/po/id.gmo and b/po/id.gmo differ
index fa6ef80..9c0e30c 100644 (file)
Binary files a/po/ms.gmo and b/po/ms.gmo differ
index 8d510d4..0ef5df1 100644 (file)
Binary files a/po/pl.gmo and b/po/pl.gmo differ
index 912d2a3..5c199ef 100644 (file)
Binary files a/po/ro.gmo and b/po/ro.gmo differ
index 1e79a6d..17e8dab 100644 (file)
Binary files a/po/sv.gmo and b/po/sv.gmo differ
index 59158d2..5062d88 100644 (file)
Binary files a/po/uk.gmo and b/po/uk.gmo differ
index e7520fd..024319b 100644 (file)
Binary files a/po/zh_CN.gmo and b/po/zh_CN.gmo differ