composer: abstract interface for common MessageComposer's methods
[trojita.git] / Messages.sh
blob5557fee473f0f083033da29b58a2a6491c23eaa5
1 #! /bin/bash
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"