File: gen_mo

package info (click to toggle)
slune 1.0.7-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 25,332 kB
  • ctags: 1,061
  • sloc: python: 9,171; makefile: 8
file content (7 lines) | stat: -rw-r--r-- 82 bytes parent folder | download
1
2
3
4
5
6
7
#/bin/bash

PO=$1
MO=$(echo $PO | sed -r 's/(.*)\.po/\1.mo/')

msgfmt $PO -o $MO