Docs Translation statistics
Command-line method
Alternatively, you may use make postat
in each Docs module to get some statistics for its translations. For more information, see Paul's message on -docs-list . Output is clipped from the normal "msgfmt --stat" command to look like one of the following, where TT is translated, FF is fuzzy, and UU is untranslated:
xx: TT/ xx: TT/UU/ xx: TT/FF/UU
The following script checks the current status of all modules using a fresh checkout, and cleans up after itself. Output goes to stdout by default.
#!/bin/bash MYID=<code>uuidgen</code> || MYID="postat-tmpdir" TEMP=/tmp MYDIR=${TEMP}/${MYID} mkdir -p $MYDIR && pushd $MYDIR >/dev/null ACCT=":pserver:anonymous@cvs.fedoraproject.org:/cvs/docs" cvs -Qd $ACCT co docs-common for i in \ about-fedora \ homepage \ readme \ readme-burning-isos \ readme-live-image \ release-notes do cvs -Qd $ACCT co ${{Template:Note}}-devel-dir && ( pushd ${{Template:Note}} >/dev/null ; echo "=== $i ===" ; make postat ; echo ; popd >/dev/null ) done popd >/dev/null [ "$1" != "-t" ] && rm -rf $MYDIR