rename main.pot to messages.po, more standard, and rename main_manual.po to manual.po, more meaningful
This commit is contained in:
parent
f4c3ad85e0
commit
b372a92e7a
|
@ -242,15 +242,15 @@ bureau/class/variables.php -text
|
||||||
bureau/head.php -text
|
bureau/head.php -text
|
||||||
bureau/index.php -text
|
bureau/index.php -text
|
||||||
bureau/locales/README -text
|
bureau/locales/README -text
|
||||||
bureau/locales/de_DE/LC_MESSAGES/main.po -text
|
bureau/locales/de_DE/LC_MESSAGES/messages.po -text
|
||||||
bureau/locales/en_US/LC_MESSAGES/main_manual.po -text
|
bureau/locales/en_US/LC_MESSAGES/manual.po -text
|
||||||
bureau/locales/es_ES/LC_MESSAGES/main.po -text
|
bureau/locales/es_ES/LC_MESSAGES/messages.po -text
|
||||||
bureau/locales/es_VE/LC_MESSAGES/main.po -text
|
bureau/locales/es_VE/LC_MESSAGES/manual.po -text
|
||||||
bureau/locales/es_VE/LC_MESSAGES/main_manual.po -text
|
bureau/locales/es_VE/LC_MESSAGES/messages.po -text
|
||||||
bureau/locales/fr_FR/LC_MESSAGES/main.po -text
|
bureau/locales/fr_FR/LC_MESSAGES/manual.po -text
|
||||||
bureau/locales/fr_FR/LC_MESSAGES/main_manual.po -text
|
bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
|
||||||
bureau/locales/main.pot -text
|
bureau/locales/manual.po -text
|
||||||
bureau/locales/main_manual.pot -text
|
bureau/locales/messages.po -text
|
||||||
bureau/locales/updatelang.sh -text
|
bureau/locales/updatelang.sh -text
|
||||||
bureau/style.css -text
|
bureau/style.css -text
|
||||||
debian/.cvsignore -text
|
debian/.cvsignore -text
|
||||||
|
|
|
@ -9,10 +9,10 @@ fi
|
||||||
|
|
||||||
if [ -d $1/LC_MESSAGES ]
|
if [ -d $1/LC_MESSAGES ]
|
||||||
then
|
then
|
||||||
for i in *.pot
|
for i in *.po
|
||||||
do
|
do
|
||||||
echo -n "Updating $i : "
|
echo -n "Updating $i : "
|
||||||
msgmerge -v -U $1/LC_MESSAGES/`echo "$i"|sed -e 's/\.pot$/.po/'` $i
|
msgmerge -v -U $1/LC_MESSAGES/$i $i
|
||||||
echo " Done."
|
echo " Done."
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue