From b372a92e7a893ec450cbfa032eb586eaafda10fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sat, 13 May 2006 21:05:48 +0000 Subject: [PATCH] rename main.pot to messages.po, more standard, and rename main_manual.po to manual.po, more meaningful --- .gitattributes | 18 +++++++++--------- .../de_DE/LC_MESSAGES/{main.po => messages.po} | 0 .../LC_MESSAGES/{main_manual.po => manual.po} | 0 .../es_ES/LC_MESSAGES/{main.po => messages.po} | 0 .../LC_MESSAGES/{main_manual.po => manual.po} | 0 .../es_VE/LC_MESSAGES/{main.po => messages.po} | 0 .../LC_MESSAGES/{main_manual.po => manual.po} | 0 .../fr_FR/LC_MESSAGES/{main.po => messages.po} | 0 bureau/locales/{main_manual.pot => manual.po} | 0 bureau/locales/{main.pot => messages.po} | 0 bureau/locales/updatelang.sh | 4 ++-- 11 files changed, 11 insertions(+), 11 deletions(-) rename bureau/locales/de_DE/LC_MESSAGES/{main.po => messages.po} (100%) rename bureau/locales/en_US/LC_MESSAGES/{main_manual.po => manual.po} (100%) rename bureau/locales/es_ES/LC_MESSAGES/{main.po => messages.po} (100%) rename bureau/locales/es_VE/LC_MESSAGES/{main_manual.po => manual.po} (100%) rename bureau/locales/es_VE/LC_MESSAGES/{main.po => messages.po} (100%) rename bureau/locales/fr_FR/LC_MESSAGES/{main_manual.po => manual.po} (100%) rename bureau/locales/fr_FR/LC_MESSAGES/{main.po => messages.po} (100%) rename bureau/locales/{main_manual.pot => manual.po} (100%) rename bureau/locales/{main.pot => messages.po} (100%) diff --git a/.gitattributes b/.gitattributes index 52869f71..4d88bf8a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/bureau/locales/de_DE/LC_MESSAGES/main.po b/bureau/locales/de_DE/LC_MESSAGES/messages.po similarity index 100% rename from bureau/locales/de_DE/LC_MESSAGES/main.po rename to bureau/locales/de_DE/LC_MESSAGES/messages.po diff --git a/bureau/locales/en_US/LC_MESSAGES/main_manual.po b/bureau/locales/en_US/LC_MESSAGES/manual.po similarity index 100% rename from bureau/locales/en_US/LC_MESSAGES/main_manual.po rename to bureau/locales/en_US/LC_MESSAGES/manual.po diff --git a/bureau/locales/es_ES/LC_MESSAGES/main.po b/bureau/locales/es_ES/LC_MESSAGES/messages.po similarity index 100% rename from bureau/locales/es_ES/LC_MESSAGES/main.po rename to bureau/locales/es_ES/LC_MESSAGES/messages.po diff --git a/bureau/locales/es_VE/LC_MESSAGES/main_manual.po b/bureau/locales/es_VE/LC_MESSAGES/manual.po similarity index 100% rename from bureau/locales/es_VE/LC_MESSAGES/main_manual.po rename to bureau/locales/es_VE/LC_MESSAGES/manual.po diff --git a/bureau/locales/es_VE/LC_MESSAGES/main.po b/bureau/locales/es_VE/LC_MESSAGES/messages.po similarity index 100% rename from bureau/locales/es_VE/LC_MESSAGES/main.po rename to bureau/locales/es_VE/LC_MESSAGES/messages.po diff --git a/bureau/locales/fr_FR/LC_MESSAGES/main_manual.po b/bureau/locales/fr_FR/LC_MESSAGES/manual.po similarity index 100% rename from bureau/locales/fr_FR/LC_MESSAGES/main_manual.po rename to bureau/locales/fr_FR/LC_MESSAGES/manual.po diff --git a/bureau/locales/fr_FR/LC_MESSAGES/main.po b/bureau/locales/fr_FR/LC_MESSAGES/messages.po similarity index 100% rename from bureau/locales/fr_FR/LC_MESSAGES/main.po rename to bureau/locales/fr_FR/LC_MESSAGES/messages.po diff --git a/bureau/locales/main_manual.pot b/bureau/locales/manual.po similarity index 100% rename from bureau/locales/main_manual.pot rename to bureau/locales/manual.po diff --git a/bureau/locales/main.pot b/bureau/locales/messages.po similarity index 100% rename from bureau/locales/main.pot rename to bureau/locales/messages.po diff --git a/bureau/locales/updatelang.sh b/bureau/locales/updatelang.sh index 907d5c39..a79a7fc5 100755 --- a/bureau/locales/updatelang.sh +++ b/bureau/locales/updatelang.sh @@ -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