File: update-mo.sh

package info (click to toggle)
sarg 2.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,456 kB
  • sloc: ansic: 17,692; sh: 4,581; xml: 371; javascript: 352; php: 205; makefile: 183; sed: 16; pascal: 2
file content (8 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

# quick and non portable hack to update the mo files from bash
for f in locale/*/LC_MESSAGES/messages.po
do
	echo "Updating $f"
   	msgfmt --check --statistics -o "${f%.po}.mo" "$f" 
done