| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function locale_updateMessages { |
| |
| local ACTIONNAM='' |
| |
| |
| |
| |
| |
| if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/(Manuals|Identity/Models)/.*$" ]];then |
| |
| |
| |
| ACTIONNAM="${FUNCNAM}_updateMessageXml" |
| |
| elif [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/Scripts$" ]];then |
| |
| |
| |
| ACTIONNAM="${FUNCNAM}_updateMessageShell" |
| |
| else |
| cli_printMessage "`gettext "The path provided does not support localization."`" --as-error-line |
| fi |
| |
| |
| if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then |
| eval $ACTIONNAM |
| else |
| cli_printMessage "`gettext "A valid action is required."`" --as-error-line |
| fi |
| |
| } |