From bbd6b9032fd8d390a92f864f3959465b7ab80341 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 26 2011 19:40:21 +0000 Subject: Update render_doIdentityTMarkers.sh: - Add file verification. Specific translations take place, only if the `.png.sh' translation file do exist. Otherwise, assume there is no specific translation to perform. - Common translations are always applied. --- diff --git a/Scripts/Bash/Functions/Render/render_doIdentityTMarkers.sh b/Scripts/Bash/Functions/Render/render_doIdentityTMarkers.sh index 9225574..6822ba0 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityTMarkers.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityTMarkers.sh @@ -31,7 +31,9 @@ function render_doIdentityTMarkers { # Apply specific replacements for specific translation markers. - render_doIdentityTMarkersSpecifics + if [[ -f $TRANSLATION ]];then + render_doIdentityTMarkersSpecifics + fi # Apply common replacements for common translation markers. render_doIdentityTMarkersCommons