File indexing completed on 2024-05-05 04:32:50
0001 #! /bin/bash 0002 # Adapted from the Messages.sh file in trojita 0003 # xgettext-generated .po files use different context than QObject::tr. 0004 # The generated files use something like a file name while QObject::tr expects 0005 # class names. This approach works. 0006 0007 rm -f "${podir}/kst.ts" 0008 lupdate -silent -recursive src/ -ts "${podir}/kst.ts" 0009 lconvert "${podir}/kst.ts" --sort-contexts --output-format pot -o "${podir}/kst_common.pot" 0010 rm "${podir}/kst.ts"