[Xfce-i18n] [Fwd: [Thunar-dev] partial translation]

Daichi Kawahata daichi at xfce.org
Sat Jan 7 12:49:48 CET 2006


On Sat, 07 Jan 2006 12:26:08 +0100
Roberto Pariset wrote:

> > Assuming you have the package/branches/xfce_4_2/, please
> > use an attached script in the top directory.
> 
> Thanks! Shall I be expecting something like this?
> 
> roberto@[sixtyfour]:~/codice/xfce-i18n/xfce4-svn$ ls xfmedia/branches/
> stable
> roberto@[sixtyfour]:~/codice/xfce-i18n/xfce4-svn$ sh xfce4-stat-4.2-po.sh
> \n[Xfce-i18n] Translation statistics in "it".
> \nIn xfmedia (stable branch):
> 193 translated messages, 24 fuzzy translations, 121 untranslated messages.

...Please try this one, actually that "\n" was newline sequence.

Regards,
-- 
Daichi

Language Codes: http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Country Codes: http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt
-------------- next part --------------
#!/bin/sh

LC_ALL=C

lang="it"

if [ ! -z "$1" ]; then
  packages="$@"
else
  packages="                        \
            libxfcegui4             \
            xfcalendar              \
            xfce-mcs-manager        \
            xfce-mcs-plugins        \
            xfce-utils              \
            xfce4-appfinder         \
            xfce4-iconbox           \
            xfce4-mixer             \
            xfce4-panel             \
            xfce4-session           \
            xfce4-toys              \
            xfce4-trigger-launcher  \
            xfdesktop               \
            xffm                    \
            xfmedia                 \
            xfprint                 \
            xfwm4                   \
            "
fi

echo
echo "[Xfce-i18n] Translation statistics in \"$lang\"."

for package in $packages
do
  if [ -f $package/branches/xfce_4_2/po/$lang.po ]; then
       echo
       echo "In $package (4.2 branch):"
       msgfmt -v -o /dev/null $package/branches/xfce_4_2/po/$lang.po
  elif [ -f $package/branches/stable/po/$lang.po ]; then
        echo
        echo "In $package (stable branch):"
        msgfmt -v -o /dev/null $package/branches/stable/po/$lang.po
  elif [ -f $package/branches/xfce_4_2/po/$package.pot ]; then
        echo
        echo "In $package (4.2 branch):"
        msgfmt -v -o /dev/null $package/branches/xfce_4_2/po/$package.pot
  elif [ -f $package/branches/stable/$package.pot ]; then
        echo
        echo "In $package (stable branch):"
        msgfmt -v -o /dev/null $package/branches/stable/po/$package.pot
  fi
done

echo

exit 0


More information about the Xfce-i18n mailing list