diff --git a/Scripts/Bash/Functions/Render/render.sh b/Scripts/Bash/Functions/Render/render.sh index 3e5b767..5ff73d1 100644 --- a/Scripts/Bash/Functions/Render/render.sh +++ b/Scripts/Bash/Functions/Render/render.sh @@ -31,7 +31,7 @@ function render { local RELEASE_FORMAT='[[:digit:]]+(\.[[:digit:]]+){,1}' # Re-define root directory used to load pre-rendering - # configuration scripts based on option value. + # configuration scripts based on action value. local ARTCONF=$(echo "$ACTIONVAL" \ | sed -r -e 's!/(Identity|Translations)!/Scripts/Bash/Functions/Render/Config/\1!' \ -e "s!Motifs/$(cli_getThemeName)/?!!") diff --git a/Scripts/Bash/Functions/Render/render_getActions.sh b/Scripts/Bash/Functions/Render/render_getActions.sh index f3d036a..d05e442 100644 --- a/Scripts/Bash/Functions/Render/render_getActions.sh +++ b/Scripts/Bash/Functions/Render/render_getActions.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_getActions.sh -- This function initializes documentation -# functionalities, using option value as reference. +# functionalities, using action value as reference. # # Copyright (C) 2009, 2010 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_getActions { - # Evaluate option name and define which actions does centos-art.sh + # Evaluate action name and define which actions does centos-art.sh # script supports. case $ACTIONNAM in @@ -52,7 +52,7 @@ function render_getActions { * ) - cli_printMessage "`eval_gettext "The option provided is not valid."`" 'AsErrorLine' + cli_printMessage "`gettext "The option provided is not valid."`" 'AsErrorLine' if [[ $ACTIONVAL =~ '^/home/centos/artwork/(trunk|branches|tags)/Identity/.+$' ]];then cli_printMessage "$ACTIONVAL" 'AsToKnowMoreLine' diff --git a/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh b/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh index 897da25..543991e 100755 --- a/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh +++ b/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh @@ -81,7 +81,7 @@ function render_getActionsIdentity { # configuration scripts and make required transformations. render_checkConfig - # Re-define option value (ACTIONVAL) based on pre-rendering + # Re-define action value (ACTIONVAL) based on pre-rendering # configuration script path value. Otherwise massive rendering # may fail. Functions like renderImage need to know the exact # artwork path (that is, where images will be stored). diff --git a/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh b/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh index 5e5af2e..b79ebff 100755 --- a/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh +++ b/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh @@ -28,7 +28,7 @@ function render_getActionsTranslations { # Check directory content. Translation rendering can be realized - # only if inside the option value directory there is a 'Tpl/' + # only if inside the action value directory there is a 'Tpl/' # directory. Translation rendering is based on translation # templates inside 'Tpl/' directory. If that directory doesn't # exist leave a message and quit execution. @@ -92,7 +92,7 @@ function render_getActionsTranslations { # Strip opening spaces from warning message output lines. MESSAGE=$(echo "$MESSAGE" | sed 's!^[[:space:]]*!!') - # Re-define releases using option value. If there is an + # Re-define releases using action value. If there is an # --option=value arguments then use the value to create/update # release-specific directories. Otherwise, all release-specific # translations directories available in the current location will diff --git a/Scripts/Bash/Functions/Render/render_getConfOption.sh b/Scripts/Bash/Functions/Render/render_getConfOption.sh index 7cc49e8..d9c3cfc 100755 --- a/Scripts/Bash/Functions/Render/render_getConfOption.sh +++ b/Scripts/Bash/Functions/Render/render_getConfOption.sh @@ -1,8 +1,8 @@ #!/bin/bash # # render_doIdentityImageDm.sh -- This function standardize the way of -# retrive option values from pre-rendering configuration files. Use -# this function whenever you need to retrive option values from +# retrive action values from pre-rendering configuration files. Use +# this function whenever you need to retrive action values from # pre-rendering configuration script. # # Usage: @@ -14,7 +14,7 @@ # VAR is the name of the variable you want to store the option # value retrived from your specification, using # render_getConfOption's ACTION and FIELD arguments. If there is -# no variable assignment, the function outputs the option value +# no variable assignment, the function outputs the action value # to standard output without trailing newline. # # ACTION is the string definition set in the pre-rendering @@ -76,14 +76,14 @@ function render_getConfOption { # Get option from pre-rendering configuration action definition. VALUE=$(echo -n "$ACTION" | cut -d: -f${FIELD}) - # Sanitate option value passed from pre-rendering configuration + # Sanitate action value passed from pre-rendering configuration # action definition. VALUE=$(echo -n "${VALUE}" \ | sed -r 's!^ *!!g' \ | sed -r 's!( |,|;) *! !g' \ | sed -r 's! *$!!g') - # Output option value without trailing newline. + # Output action value without trailing newline. echo -n "$VALUE" }