rename main.pot to messages.po, more standard, and rename main_manual.po to manual.po, more meaningful

This commit is contained in:
Antoine Beaupré 2006-05-13 21:05:48 +00:00
parent f4c3ad85e0
commit b372a92e7a
11 changed files with 11 additions and 11 deletions

18
.gitattributes vendored
View File

@ -242,15 +242,15 @@ bureau/class/variables.php -text
bureau/head.php -text
bureau/index.php -text
bureau/locales/README -text
bureau/locales/de_DE/LC_MESSAGES/main.po -text
bureau/locales/en_US/LC_MESSAGES/main_manual.po -text
bureau/locales/es_ES/LC_MESSAGES/main.po -text
bureau/locales/es_VE/LC_MESSAGES/main.po -text
bureau/locales/es_VE/LC_MESSAGES/main_manual.po -text
bureau/locales/fr_FR/LC_MESSAGES/main.po -text
bureau/locales/fr_FR/LC_MESSAGES/main_manual.po -text
bureau/locales/main.pot -text
bureau/locales/main_manual.pot -text
bureau/locales/de_DE/LC_MESSAGES/messages.po -text
bureau/locales/en_US/LC_MESSAGES/manual.po -text
bureau/locales/es_ES/LC_MESSAGES/messages.po -text
bureau/locales/es_VE/LC_MESSAGES/manual.po -text
bureau/locales/es_VE/LC_MESSAGES/messages.po -text
bureau/locales/fr_FR/LC_MESSAGES/manual.po -text
bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
bureau/locales/manual.po -text
bureau/locales/messages.po -text
bureau/locales/updatelang.sh -text
bureau/style.css -text
debian/.cvsignore -text

View File

@ -9,10 +9,10 @@ fi
if [ -d $1/LC_MESSAGES ]
then
for i in *.pot
for i in *.po
do
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."
done
else