repo.or.cz
/
phpmyadmin
/
crack.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Avoid unneeded DOM traversal
[phpmyadmin/crack.git]
/
scripts
/
generate-mo
blob
c0e29453f8c594d204466fd662a79fc13f8f8175
1
#!/bin/sh
2
if
[
x
$1
=
x--quiet
] ;
then
3
stats
=
""
4
else
5
stats
=
"--statistics"
6
fi
7
8
for
x
in
po
/*
.po
;
do
9
lang
=
`echo
$x
| sed 's@po/\(.*\)\.po@\1@'`
10
if
[ !
-z
"
$stats
"
] ;
then
11
echo -n
"
$lang
: "
12
fi
13
mkdir
-p local
e
/
$lang
/
LC_MESSAGES
14
msgfmt
$stats
--check -o local
e
/
$lang
/
LC_MESSAGES
/
phpmyadmin.mo
$x
15
done