From cdce340450d17c198704f415298e1f240610f972 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 16 2012 20:14:34 +0000 Subject: Update `Functions/Locale/locale_getOptions.sh' file. --- diff --git a/Scripts/Bash/Functions/Locale/locale_getOptions.sh b/Scripts/Bash/Functions/Locale/locale_getOptions.sh index e09d9fe..f5a2479 100755 --- a/Scripts/Bash/Functions/Locale/locale_getOptions.sh +++ b/Scripts/Bash/Functions/Locale/locale_getOptions.sh @@ -30,7 +30,7 @@ function locale_getOptions { local ARGSS="" # Define long options we want to support. - local ARGSL="filter:,quiet,answer-yes,update,edit,delete,dont-create-mo" + local ARGSL="filter:,quiet,answer-yes,update,edit,delete,dont-create-mo,is-localizable" # Parse arguments using getopt(1) command parser. cli_parseArguments @@ -73,6 +73,11 @@ function locale_getOptions { shift 1 ;; + --is-localizable ) + ACTIONNAMS="$ACTIONNAMS locale_isLocalizable" + shift 1 + ;; + --dont-create-mo ) FLAG_DONT_CREATE_MO="true" shift 1 @@ -97,7 +102,7 @@ function locale_getOptions { # Verify action names. When no action name is specified, use # edition as default action name. if [[ $ACTIONNAMS == '' ]];then - ACTIONNAMS="locale_editMessages" + ACTIONNAMS="locale_updateMessages" fi # Redefine ARGUMENTS variable using current positional parameters.