File: initialize_new_translation.sh

package info (click to toggle)
rabbitvcs 0.19-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,016 kB
  • sloc: python: 22,825; xml: 11,999; objc: 414; sh: 66; makefile: 3
file content (16 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

LOCALE=$1

if [ -z "$LOCALE" ]
then
    echo "usage: ./initialize_new_translation.sh LOCALE"
    exit 1
fi

msginit --input=../rabbitvcs/po/RabbitVCS.pot --locale=$LOCALE \
    --output-file=../rabbitvcs/po/$LOCALE.po

echo ""
echo "Once you have translated the strings, install the strings with \
the install_translations.sh script"