repo.or.cz
/
wammu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translation update done using Pootle.
[wammu.git]
/
admin
/
new-lang
blob
ad839a2806fbd6ead9dbc0c1db6ef66a8f7f8406
1
#!/bin/sh
2
# vim: expandtab sw=4 ts=4 sts=4:
3
4
set -e
5
6
if
[
-z
"
$1
"
] ;
then
7
echo
"Usage: ./admin/new-lang ll"
8
exit
1
9
fi
10
11
mkdir
local
e
/
$1
12
13
for
loc
in
wammu docs
;
do
14
msginit
-i local
e
/
$loc
.pot
-o local
e
/
$1
/
$loc
.po
-l
$1
--no-translator
15
done
16
17
sed
-i
"s/\(.*po4a_langs.*\)/\1
$1
/"
admin
/
po4a.config
18
19
git add
local
e
/
$1