From 43fe02cbaf96ec5326fbe3539730f3cd12ed2d13 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Tue, 7 May 2013 11:47:30 +0200 Subject: [PATCH] * tests/gettext_strings_test.in: A test to check for strings not marked for translation. --- ChangeLog | 5 +++++ Makefile.util.def | 6 ++++++ po/exclude.pot | Bin 0 -> 93967 bytes tests/gettext_strings_test.in | 20 ++++++++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 po/exclude.pot create mode 100644 tests/gettext_strings_test.in diff --git a/ChangeLog b/ChangeLog index d6a68b7c7..67b4c6f25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-07 Vladimir Serbinenko + + * tests/gettext_strings_test.in: A test to check for strings not + marked for translation. + 2013-05-07 Vladimir Serbinenko * autogen.sh: Exclude unused libgcrypt files from translation. diff --git a/Makefile.util.def b/Makefile.util.def index 086ca1285..588831421 100644 --- a/Makefile.util.def +++ b/Makefile.util.def @@ -545,6 +545,12 @@ script = { common = tests/example_scripted_test.in; }; +script = { + testcase; + name = gettext_strings_test; + common = tests/gettext_strings_test.in; +}; + script = { testcase; name = pata_test; diff --git a/po/exclude.pot b/po/exclude.pot new file mode 100644 index 0000000000000000000000000000000000000000..341c45ec32c7f66f9c84f424bfcb17b5ddacbf65 GIT binary patch literal 93967 zcmeIbOOqo>k{&3#d+Wcj7w_tYRAyHq065+;l{Foi8JQLA$cIEkR#$ar3y1(52=BzJ z;Xq_WPL1qkgd*gX7xF+6Qphufyv~7#p-_0-%O3W)GXG(Z6xmPB%}veR%?;*}TwZpn zGG1_3H8nLeH8p+NuY$|BuTO&)rD2?CqNmD|+v3{UW-J>4o}>@h&Mw%H&3Kzc zyQj~;Ke@O(y%IRo+eFcYfRcMrYP9esvtoxBKh* zWW9|V*ZZWgPp%tDw2jA$#$>%*u2)Bs<6cM{pVVjT?Q*=!u;IX{hk5|*AF`jH< zAZhp88RW&~iz|P?PT0=?f2;)9Z4WcR8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 HcmV?d00001 diff --git a/tests/gettext_strings_test.in b/tests/gettext_strings_test.in new file mode 100644 index 000000000..ffbb73dfe --- /dev/null +++ b/tests/gettext_strings_test.in @@ -0,0 +1,20 @@ +#!/bin/sh + +cd '@srcdir@' + +tdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")" + +xgettext -f po/POTFILES.in -L C -o "$tdir/"skip.pot -x po/grub.pot --keyword=grub_util_info --keyword=grub_dprintf:1,2 --keyword=grub_register_command --keyword=grub_register_extcmd --keyword=grub_efiemu_resolve_symbol --keyword=grub_efiemu_register_symbol --keyword=grub_dl_load --keyword=grub_crypto_lookup_md_by_name --keyword=grub_crypto_lookup_cipher_by_name --keyword=grub_efiemu_resolve_symbol --keyword=alias --keyword=grub_ieee1275_get_property:2 --keyword=grub_ieee1275_find_device --keyword=grub_ieee1275_get_integer_property:2 --keyword=INIT_IEEE1275_COMMON:2 --keyword=grub_boot_time --keyword=grub_env_get --keyword=grub_env_set --keyword=grub_register_variable_hook --keyword=grub_fatal --keyword=__asm__ --keyword=volatile --keyword=__volatile__ --keyword=grub_error:2 --from-code=iso-8859-1 +xgettext -f po/POTFILES.in -L C -o "$tdir/"skip2.pot -x po/grub.pot --keyword=volatile:2 --keyword=__volatile__:2 --keyword=grub_dprintf:2 --from-code=iso-8859-1 +xgettext -f po/POTFILES.in -L C -o "$tdir/"skip3.pot -x po/grub.pot --keyword=volatile:3 --keyword=__volatile__:3 --from-code=iso-8859-1 + +cat po/POTFILES.in | xargs grep -hE -o "( | ){\"[a-z0-9\-]*\",[[:space:]]*('.'|[0-9]|-[0-9])," |sed "s,[[:space:]]*{\",,g;s,\"\,[[:space:]]*\('.'\|[0-9]\|-[0-9]\)\,,,g" | awk '{ print "msgid \"" $0 "\"\nmsgstr \"\"" ; }' > "$tdir/"opts.pot +cat po/POTFILES.in | xargs grep -hE -o "[[:space:]]*\.name[[:space:]]*=[[:space:]]*\"[a-zA-Z0-9 ()]*\"" |sed "s,[[:space:]]*\.name[[:space:]]*=[[:space:]]*\",,g;s,\",,g" | awk '{ print "msgid \"" $0 "\"\nmsgstr \"\"" ; }' > "$tdir/"name.pot + +out="$(cat po/POTFILES.in | grep -v '\(colors.c\|lsefisystab.c\|lsefimmap.c\|lssal.c\|hdparm.c\|sendkey.c\|lsacpi.c\|lspci.c\|usbtest.c\|legacy_parse.c\|/libgcrypt/\|hfs.c\|/efi\.c$\|gnulib\|tests/\|util/ieee1275/ofpath.c\|minilzo.c\|terminfo.c\|setpci.c\|bin2h.c\|cb_timestamps.c\|grub-pe2elf.c\|getroot.c\|arc/init.c\|color.c\|grub-mklayout.c\|gentrigtables.c\|lzodefs.h\|lsefi.c\|cbls.c\|/zfs\.h$\|grub-macho2img.c\|lvm.c\|efidisk.c\|grub-mkfont.c\|reiserfs.c\|LzmaEnc.c\)' | xgettext -f - -L C -o - -x po/grub.pot -x "$tdir/"skip.pot -x "$tdir/"skip2.pot -x "$tdir/"skip3.pot -x "$tdir/"opts.pot -x "$tdir/"name.pot -x po/exclude.pot -a --from-code=iso-8859-1)" +rm -rf "$tdir" +if [ x"$out" != x ]; then + echo "$out" + exit 1; +fi +