[Mapbender-commits] r3760 - in branches/2.5: . resources/locale tools

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Mar 17 06:22:16 EDT 2009


Author: christoph
Date: 2009-03-17 06:22:16 -0400 (Tue, 17 Mar 2009)
New Revision: 3760

Added:
   branches/2.5/resources/locale/el_GR/
   branches/2.5/tools/i18n_add_translations_to_Mapbender_po.sh
   branches/2.5/tools/i18n_update_mo.sh
Modified:
   branches/2.5/Install.txt
Log:
renamed gr_GR to el_GR

Modified: branches/2.5/Install.txt
===================================================================
--- branches/2.5/Install.txt	2009-03-17 10:19:38 UTC (rev 3759)
+++ branches/2.5/Install.txt	2009-03-17 10:22:16 UTC (rev 3760)
@@ -49,7 +49,7 @@
 	msgfmt resources/locale/bg_BG/LC_MESSAGES/Mapbender.po -o resources/locale/bg_BG/LC_MESSAGES/Mapbender.mo
 	msgfmt resources/locale/de_DE/LC_MESSAGES/Mapbender.po -o resources/locale/de_DE/LC_MESSAGES/Mapbender.mo
 	msgfmt resources/locale/fr_FR/LC_MESSAGES/Mapbender.po -o resources/locale/fr_FR/LC_MESSAGES/Mapbender.mo
-	msgfmt resources/locale/gr_GR/LC_MESSAGES/Mapbender.po -o resources/locale/gr_GR/LC_MESSAGES/Mapbender.mo
+	msgfmt resources/locale/el_GR/LC_MESSAGES/Mapbender.po -o resources/locale/el_GR/LC_MESSAGES/Mapbender.mo
 	msgfmt resources/locale/it_IT/LC_MESSAGES/Mapbender.po -o resources/locale/it_IT/LC_MESSAGES/Mapbender.mo
 
 

Copied: branches/2.5/resources/locale/el_GR (from rev 3748, branches/2.5/resources/locale/gr_GR)

Added: branches/2.5/tools/i18n_add_translations_to_Mapbender_po.sh
===================================================================
--- branches/2.5/tools/i18n_add_translations_to_Mapbender_po.sh	                        (rev 0)
+++ branches/2.5/tools/i18n_add_translations_to_Mapbender_po.sh	2009-03-17 10:22:16 UTC (rev 3760)
@@ -0,0 +1,22 @@
+if [ $# -lt 1 ]
+then
+	echo "$0 error: Please enter the path to the script that you want to check for new translations."
+	echo "Enter the path like this: http/php/mb_listGUIs.php"
+	echo "f.e.: ./i18n_add_translations_to_Mapbender_po.sh [path to the file]"	
+	echo "f.e.: ./i18n_add_translations_to_Mapbender_po.sh http/php/mb_listGUIs.php"
+else
+	xgettext -p ../resources/locale/bg_BG/LC_MESSAGES/ -o Mapbender.po -L php -j --keyword=_mb -n --from-code 	utf-8 ../$1
+	echo "$1: new Translations added to Mapbender.po bg_BG"
+
+	xgettext -p ../resources/locale/de_DE/LC_MESSAGES/ -o Mapbender.po -L php -j --keyword=_mb -n --from-code 	utf-8 ../$1
+	echo "$1: new Translations added to Mapbender.po de_DE"
+
+	xgettext -p ../resources/locale/it_IT/LC_MESSAGES/ -o Mapbender.po -L php -j --keyword=_mb -n --from-code 	utf-8 ../$1
+	echo "$1: new Translations added to Mapbender.po it_IT"
+
+	xgettext -p ../resources/locale/el_GR/LC_MESSAGES/ -o Mapbender.po -L php -j --keyword=_mb -n --from-code 	utf-8 ../$1
+	echo "$1: new Translations added to Mapbender.po el_GR"
+
+fi
+
+


Property changes on: branches/2.5/tools/i18n_add_translations_to_Mapbender_po.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/2.5/tools/i18n_update_mo.sh
===================================================================
--- branches/2.5/tools/i18n_update_mo.sh	                        (rev 0)
+++ branches/2.5/tools/i18n_update_mo.sh	2009-03-17 10:22:16 UTC (rev 3760)
@@ -0,0 +1,11 @@
+# This script updates you Mapbender.mo files
+
+msgfmt ../resources/locale/bg_BG/LC_MESSAGES/Mapbender.po -o ../resources/locale/bg_BG/LC_MESSAGES/Mapbender.mo
+echo "Mapbender.mo has been updated for bg_BG"
+msgfmt ../resources/locale/de_DE/LC_MESSAGES/Mapbender.po -o ../resources/locale/de_DE/LC_MESSAGES/Mapbender.mo
+echo "Mapbender.mo has been updated for de_DE"
+msgfmt ../resources/locale/el_GR/LC_MESSAGES/Mapbender.po -o ../resources/locale/el_GR/LC_MESSAGES/Mapbender.mo
+echo "Mapbender.mo has been updated for el_GR"
+msgfmt ../resources/locale/it_IT/LC_MESSAGES/Mapbender.po -o ../resources/locale/it_IT/LC_MESSAGES/Mapbender.mo
+echo "Mapbender.mo has been updated for it_IT"
+echo "Thanks for updating your Mapbender.mo files."
\ No newline at end of file


Property changes on: branches/2.5/tools/i18n_update_mo.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the Mapbender_commits mailing list