Add more detail in a warning message. useful when we add a new L10N language at 
first time


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/53d69d34
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/53d69d34
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/53d69d34

Branch: refs/heads/internallb
Commit: 53d69d34ca20d7d824f8a4cc9ac66228926f80ce
Parents: 8e5186d
Author: Milamber <milam...@apache.org>
Authored: Mon Apr 29 13:53:25 2013 +0100
Committer: Milamber <milam...@apache.org>
Committed: Mon Apr 29 13:53:25 2013 +0100

----------------------------------------------------------------------
 tools/transifex/sync-transifex-ui.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/53d69d34/tools/transifex/sync-transifex-ui.sh
----------------------------------------------------------------------
diff --git a/tools/transifex/sync-transifex-ui.sh 
b/tools/transifex/sync-transifex-ui.sh
index daba88d..ed10809 100755
--- a/tools/transifex/sync-transifex-ui.sh
+++ b/tools/transifex/sync-transifex-ui.sh
@@ -67,7 +67,9 @@ doDownloadL10NLangs()
                         sed -i"" "s/\\\\\\\'/'/g" 
${WORKDIR}/messages_${CODELANG}.properties
                         tx set -r ${ARGUMENTS} -l ${CODELANG} 
${WORKDIR}/messages_${CODELANG}.properties
                 else   
-                        echo "Warning: the resource file for language 
${CODELANG} doesn't exist."
+                        echo "\nWarning: the resource file for language 
${CODELANG} doesn't exist."
+                        echo "Run this command to force get this language from 
transifex:"
+                        echo "\ntx set -r ${ARGUMENTS} -l ${CODELANG} 
${WORKDIR}/messages_${CODELANG}.properties\n"
                 fi
         done
 

Reply via email to