File: run_po_processor.sh

package info (click to toggle)
refcard 13.1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,284 kB
  • sloc: python: 189; makefile: 108; sh: 6
file content (10 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Copyright (C) 2016, Omer Zak.
# This program is free software, licensed under the GNU GPL, >=3.0.
# This software comes with absolutely NO WARRANTY. Use at your own risk!
for lang in ar fa he; do
  if [ -e po4a/${lang}.po ]; then
    ./po_processor.py  -o /tmp/${lang}.po.x < po4a/${lang}.po
    cp /tmp/${lang}.po.x po4a/${lang}.po
  fi
done