Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117887934
pykolab-update-lang
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
407 B
Referenced Files
None
Subscribers
None
pykolab-update-lang
View Options
#!/bin/bash
echo
"Updating language files"
cd
po/
intltool-update --pot --gettext-package
=
pykolab
if
[
"
$1
"
==
"po"
]
;
then
for
lang_file
in
`
ls -1 *.po
`
;
do
lang
=
$(
echo
${
lang_file
}
|
cut -f1 -d
'.'
)
intltool-update -d
${
lang
}
msginit --no-translator --locale
=
${
lang
}
--input
=
pykolab.pot --output
=
${
lang_file
}
msgmerge -U
${
lang_file
}
pykolab.pot
done
fi
cd
..
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Apr 6, 3:08 AM (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
63/1b/f488f57592f36a08c1d8881fb7da
Default Alt Text
pykolab-update-lang (407 B)
Attached To
Mode
rP pykolab
Attached
Detach File
Event Timeline