aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/rebuild_gettext_catalogs.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/rebuild_gettext_catalogs.sh b/tools/rebuild_gettext_catalogs.sh
index 011d4c4d8..8460eb40b 100755
--- a/tools/rebuild_gettext_catalogs.sh
+++ b/tools/rebuild_gettext_catalogs.sh
@@ -8,7 +8,11 @@
error=0
declare -A resources
declare -A errors
-source ./tools/web_projects.dat
+if [ -f ./tools/web_projects.dat ]; then
+ source ./tools/web_projects.dat
+else
+ echo Critical error!!! It was not possible to load web projects database!
+fi
for resource in "${!resources[@]}"
do
@@ -61,6 +65,6 @@ do
20) echo "!!!! Parse error, please fix $error_in_source first !!!! See details above." ;;
30) echo "!!!! Failed to write $error_in_source !!!! See details above." ;;
50) echo "!!!! Script translated_converter.py encounter an error in $error_in_source !!!!" ;;
- 60) echo "$error_in_source.po could not be created succesfully!!" ;;
+ 60) echo "$error_in_source.po could not be created succesfully!! Duplicates?" ;;
esac
done