3 # xgettext-generated .po files use different context than QObject::tr.
4 # The generated files use something like a file name while QObject::tr expects
5 # class names. This approach works.
7 rm -f "${podir}/trojita.ts"
8 lupdate
-silent -recursive src
/ -ts "${podir}/trojita.ts"
9 lconvert
"${podir}/trojita.ts" --sort-contexts --output-format pot
-o "${podir}/trojita_common.pot"
10 rm "${podir}/trojita.ts"