diff --git a/dev/extract_text.sh b/dev/extract_text.sh index d7d65338e..ff1304a3f 100644 --- a/dev/extract_text.sh +++ b/dev/extract_text.sh @@ -7,5 +7,8 @@ # Author D. DE BONTRIDDER danydb@aevalys.eu echo "Extract" cd .. -xgettext -L PHP -j --from-code=UTF-8 -p html/lang/en_US/LC_MESSAGES/ html/*.php include/*.php include/template/*.php +# For english +xgettext -L PHP -j --from-code=UTF-8 -p html/lang/en_US/LC_MESSAGES/ html/*.php include/*.php include/template/*.php include/ext/*/*.php include/ext/*/include/*.php include/ext/*/include/template/*.php + +# For dutch xgettext -L PHP -j --from-code=UTF-8 -p html/lang/nl_NL/LC_MESSAGES/ html/*.php include/*.php include/template/*.php diff --git a/dev/get_database_item.sh b/dev/get_database_item.sh new file mode 100755 index 000000000..2ce2df857 --- /dev/null +++ b/dev/get_database_item.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +export PGUSER=dany +export PGPASSWORD=dany +export PGHOST=localhost +export PGDATABASE=rel671mod1 +export PGPORT=5432 +export PGCLUSTER=9.1/main + +( +echo "" ) > ../include/database.item.php +( +echo "" ) >> ../include/database.item.php +( +echo "" ) >> ../include/database.item.php +( +echo "" ) >> ../include/database.item.php +( +echo "" ) >> ../include/database.item.php +( +echo "" ) >> ../include/database.item.php +( +echo "" ) >> ../include/database.item.php + +echo "File ../include/database.item.php is created" diff --git a/dev/get_menu.sh b/dev/get_menu.sh deleted file mode 100755 index 52ee0e9c7..000000000 --- a/dev/get_menu.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -export PGUSER=dany -export PGPASSWORD=dany -export PGHOST=localhost -export PGDATABASE=trunkdossier25 -export PGPORT=5000 -export PGCLUSTER=9.0/main - -( -echo "" ) > ../include/menu_translate.php diff --git a/html/admin_repo.php b/html/admin_repo.php index c41c34d72..6b3694970 100644 --- a/html/admin_repo.php +++ b/html/admin_repo.php @@ -39,7 +39,7 @@ if ($User->admin != 1) return; } load_all_script(); -echo '