+++ /dev/null
-#!/bin/sh
-
-while read -r EXT EOLSTYLE; do
- echo "Fixing $EXT..."
- find . -name .svn -prune -o -type f \( -name "*.$EXT" -o -name "$EXT" \) -print0 | \
- case "$EOLSTYLE" in
- 1)
- xargs -0 svn propset svn:eol-style native
- ;;
- 0)
- xargs -0 svn propdel svn:eol-style
- ;;
- esac
-done <eol-style.txt
--- /dev/null
+find qcsrc/menu -type f -not -name \*.po -not -name \*.txt | xgettext -LC -k_ -f- --from-code utf-8 -o menu.dat.pot >&2
+
+for X in menu.dat.*.po; do
+ msgmerge -U "$X" menu.dat.pot >&2
+ todo=$(
+ msgattrib --untranslated "$X" | grep -A 2147483647 "^#:"
+ msgattrib --fuzzy "$X" | grep -A 2147483647 "^#:"
+ )
+ if [ -n "$todo" ]; then
+ echo "TODO for translation $X:"
+ echo "$todo"
+ echo
+ fi
+done