File: update_strings.sh

package info (click to toggle)
plots 0.8.5%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,612 kB
  • sloc: python: 3,247; xml: 443; sh: 26; makefile: 6
file content (5 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download
1
2
3
4
5
#!/bin/sh
find plots -iname "*.py" | xargs xgettext --from-code=UTF-8 --output=plots-python.pot
find plots/ui -iname "*.ui" | xargs xgettext --from-code=UTF-8 --output=plots-ui.pot --language=Glade
msgcat --use-first plots-python.pot plots-ui.pot > plots/locale/plots.pot
rm plots-python.pot plots-ui.pot