File: locale.sh

package info (click to toggle)
rox 2.2.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,628 kB
  • ctags: 3,426
  • sloc: ansic: 36,949; xml: 9,296; sh: 520; makefile: 125; python: 28; perl: 27
file content (9 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/bash
for f in ROX-Filer/Messages/*.gmo;  do
	export ROXTMP=`basename $f .gmo` ; 
	if [ $ROXTMP == "sp" ]; then
		export ROXTMP="es" ;
	fi
	mkdir -p debian/rox-filer/usr/share/locale/$ROXTMP/LC_MESSAGES; 
	cp $f debian/rox-filer/usr/share/locale/$ROXTMP/LC_MESSAGES/rox.mo; 
done