diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh index 443eb22..a02a5b1 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Brands/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines brands pre-rendering +# render_loadConfig.sh -- This function defines brands pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -29,7 +29,7 @@ function render_loadConfig { local TRANSLATION='' local TEMPLATE='' - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderBrands: tif xpm pdf ppm' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Fonts/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Fonts/render.conf.sh index 6132fde..5d81dfb 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Fonts/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Fonts/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines fonts pre-rendering +# render_loadConfig.sh -- This function defines fonts pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: jpg pdf' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Models/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Models/render.conf.sh index ed48d7c..917584e 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Models/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Models/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines models pre-rendering +# render_loadConfig.sh -- This function defines models pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: pdf jpg' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Release/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Release/render.conf.sh index a6de72f..bd3be79 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Release/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Release/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines release pre-rendering +# render_loadConfig.sh -- This function defines release pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderText' ACTIONS[1]='POST:formatText: --width=70 --uniform-spacing' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Backgrounds/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Backgrounds/render.conf.sh index edac659..ac52cd0 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Backgrounds/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Backgrounds/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines themes backgrounds -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: jpg' ACTIONS[2]='POST:groupByType: png jpg' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Concept/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Concept/render.conf.sh index 610aa59..7e075eb 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Concept/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Concept/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines theme info -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: jpg pdf' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh index 2ac0bcc..4588481 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines Anaconda header -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh index 0cb73a7..0a424ea 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines Anaconda progress -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh index cec6846..cbbfbae 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines Anaconda prompt -# (syslinux)'s pre-rendering configuration script. +# (syslinux)'s pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderSyslinux:' ACTIONS[2]='POST:renderSyslinux:-floyd' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh index f49c462..edea7c3 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines Anaconda splash -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/Firstboot/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/Firstboot/render.conf.sh index 5eb094d..7d06ba3 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/Firstboot/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/Firstboot/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines firstboot -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh index 9b73fde..67818a7 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines GNOME display manager -# (GDM) pre-rendering configuration script. +# (GDM) pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]="LAST:renderDm:GNOME:800x600 1024x768 1280x1024 1360x768 \ 1680x1050 2048x1536 2560x960 2560x1240 3271x1227" diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh index 060d128..48de234 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines GRUB pre-rendering +# render_loadConfig.sh -- This function defines GRUB pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderGrub:' ACTIONS[2]='POST:renderGrub:-floyd' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh index b0275c3..de14ff2 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines GSplash pre-rendering +# render_loadConfig.sh -- This function defines GSplash pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh index 2273fff..53e4d66 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines KDE display manager -# (KDM) pre-rendering configuration script. +# (KDM) pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]="LAST:renderDm:KDE:800x600 1024x768 1280x1024 1360x768 \ 1680x1050 2048x1536 2560x960 2560x1240 3271x1227" diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh index d8163d4..d617001 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines KSplash pre-rendering +# render_loadConfig.sh -- This function defines KSplash pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='LAST:renderKSplash' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh index 52cd748..5c3e564 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines graphical boot (RHGB) -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Desktop/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Desktop/render.conf.sh index 0bfdd90..154342a 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Desktop/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Distro/Desktop/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines desktop pre-rendering +# render_loadConfig.sh -- This function defines desktop pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: jpg' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Clothes/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Clothes/render.conf.sh index 459ef39..0b3997b 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Clothes/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Clothes/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines clothes promotion -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Releases/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Releases/render.conf.sh index b8b68b6..3c243ae 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Releases/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Releases/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines release promotion -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh index 069099d..edf0a96 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines installation media -# promotion pre-rendering configuration script. +# promotion pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh index 7608527..c31cf3e 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines posters promotion -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' ACTIONS[1]='POST:renderFormats: pdf jpg' diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/render.conf.sh index 38b0c3a..5b048fb 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Themes/Promo/Stationery/render.conf.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines stationery promotion -# pre-rendering configuration script. +# pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Identity/Widgets/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Identity/Widgets/render.conf.sh index de19720..16e6f4b 100755 --- a/Scripts/Bash/Functions/Render/Config/Identity/Widgets/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Identity/Widgets/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines widgets pre-rendering +# render_loadConfig.sh -- This function defines widgets pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -26,7 +26,7 @@ function render_loadConfig { - # Define rendering actions. + # Define rendition actions. ACTIONS[0]='BASE:renderImage' # Define matching list. diff --git a/Scripts/Bash/Functions/Render/Config/Translations/Identity/Brands/render.conf.sh b/Scripts/Bash/Functions/Render/Config/Translations/Identity/Brands/render.conf.sh index b8310dc..31edf1c 100755 --- a/Scripts/Bash/Functions/Render/Config/Translations/Identity/Brands/render.conf.sh +++ b/Scripts/Bash/Functions/Render/Config/Translations/Identity/Brands/render.conf.sh @@ -1,10 +1,10 @@ #!/bin/bash # # render_loadConfig.sh -- This function defines CentOS brands -# pre-rendering configuration script. This function is used to produce +# pre-rendition configuration script. This function is used to produce # CentOS brands translation files. # -# The rendering process used to produce CentOS Brands translation +# The rendition process used to produce CentOS Brands translation # files is a bit different to that commonly found in other artwork # components inside CentOS Artwork Repository. Relevant differences # are described below: @@ -24,7 +24,7 @@ # links where the 30 translation files apply the 20 design templates # one by one, producing 600 images as result ---without counting # possible formats convenction that may happen during the -# post-rendering actions---. +# post-rendition actions---. # # Translation file names inside translation template (`Tpl') directory # have special meaning: @@ -64,7 +64,7 @@ # directory structure contain color replacements only. The color used # as replacement pattern is black (#000000). # -# Using CentOS Brand translation files rendering script, CentOS Brand +# Using CentOS Brand translation files rendition script, CentOS Brand # designers can work freely and use this script to generate the # translation files that renderImage needs, in order to produce CentOS # Brand images in different dimensions and colors. diff --git a/Scripts/Bash/Functions/Render/render.sh b/Scripts/Bash/Functions/Render/render.sh index f8d1e24..bbc8836 100644 --- a/Scripts/Bash/Functions/Render/render.sh +++ b/Scripts/Bash/Functions/Render/render.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# render.sh -- This function provides rendering features to -# centos-art.sh script. Here we initialize rendering variables and +# render.sh -- This function provides rendition features to +# centos-art.sh script. Here we initialize rendition variables and # call render_getActions functions. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -27,10 +27,14 @@ function render { - # Define rendering variables. + # Define default value to target flag. The target flag (--to) + # controls final destination used by copy related actions. + local FLAG_TO='' + + # Define rendition variables. local RELEASE_FORMAT='[[:digit:]]+(\.[[:digit:]]+){,1}' - # Define rendering actions. + # Define rendition actions. render_getActions } diff --git a/Scripts/Bash/Functions/Render/render_checkConfig.sh b/Scripts/Bash/Functions/Render/render_checkConfig.sh index 36e84ba..9708f52 100755 --- a/Scripts/Bash/Functions/Render/render_checkConfig.sh +++ b/Scripts/Bash/Functions/Render/render_checkConfig.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_checkConfig.sh -- This function checks/validates variables -# passed from artwork-specific pre-rendering configuration files. +# passed from artwork-specific pre-rendition configuration files. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -36,19 +36,19 @@ function render_checkConfig { # call. for ACTION in "${ACTIONS[@]}"; do - # Define base-rendering actions. + # Define base-rendition actions. if [[ $ACTION =~ '^BASE:render(Text|Image)$' ]];then ACTION=$(render_getConfOption "$ACTION" '2-') BASEACTIONS[$BASECOUNT]="$ACTION" BASECOUNT=$(($BASECOUNT + 1)) - # Define post-rendering actions. + # Define post-rendition actions. elif [[ $ACTION =~ '^POST:' ]];then ACTION=$(render_getConfOption "$ACTION" '2-') POSTACTIONS[$POSTCOUNT]="$ACTION" POSTCOUNT=$(($POSTCOUNT + 1)) - # Define last-rendering actions. + # Define last-rendition actions. elif [[ $ACTION =~ '^LAST:' ]];then ACTION=$(render_getConfOption "$ACTION" '2-') LASTACTIONS[$LASTCOUNT]="$ACTION" @@ -57,10 +57,10 @@ function render_checkConfig { done - # Check base-rendering actions. The base-rendering action defines - # what kind of rendering does centos-art.sh script performs. - # Presently, we only support image rendering (renderImage) and - # text rendering (renderText) as base-rendering actions. + # Check base-rendition actions. The base-rendition action defines + # what kind of rendition does centos-art.sh script performs. + # Presently, we only support image rendition (renderImage) and + # text rendition (renderText) as base-rendition actions. if [[ ${#BASEACTIONS[*]} -lt 1 ]];then cli_printMessage "`gettext "The BASE action is not defined."`" cli_printMessage "$(caller)" "AsToKnowMoreLine" @@ -69,11 +69,11 @@ function render_checkConfig { cli_printMessage "$(caller)" "AsToKnowMoreLine" fi - # Check post-rendering actions. Validation of post-rendering - # actions is action-specific. So, validation of post-rendering + # Check post-rendition actions. Validation of post-rendition + # actions is action-specific. So, validation of post-rendition # actions is not here, but inside action-specific functions. See # render_doIdentityImages and render_doIdentityTexts to see - # validation of renderImage and renderText post-rendering actions, + # validation of renderImage and renderText post-rendition actions, # respectively. # Re-define matching list to reduce the amount of empty spaces. diff --git a/Scripts/Bash/Functions/Render/render_doIdentity.sh b/Scripts/Bash/Functions/Render/render_doIdentity.sh index 1ff63b1..68bbf90 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentity.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentity.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentity.sh -- This function initiates rendering features +# render_doIdentity.sh -- This function initiates rendition features # taking BASEACTIONS as reference. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -62,12 +62,12 @@ function render_doIdentity { case $ACTION in renderText ) - # Provides text rendering feature. + # Provides text rendition feature. render_doIdentityTexts ;; renderImage ) - # Provides image rendering feature. + # Provides image rendition feature. render_doIdentityImages ;; diff --git a/Scripts/Bash/Functions/Render/render_doIdentityGroupByType.sh b/Scripts/Bash/Functions/Render/render_doIdentityGroupByType.sh index 3eda60c..81db2ba 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityGroupByType.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityGroupByType.sh @@ -1,18 +1,18 @@ #!/bin/bash # # render_doIdentityGroupByTypes.sh -- This function provides -# post-rendering and last-rendering action to group file inside +# post-rendition and last-rendition action to group file inside # directories named as their file type. # # Usage: # ------ -# Post-rendering --> render_doIdentityGroupByTypes "$FILE" "$ACTION" -# Last-rendering --> render_doIdentityGroupByTypes "$ACTION" +# Post-rendition --> render_doIdentityGroupByTypes "$FILE" "$ACTION" +# Last-rendition --> render_doIdentityGroupByTypes "$ACTION" # -# Note that post-rendering uses 2 arguments ($FILE and $ACTION) and -# last-rendering just one ($ACTION). This function uses the amount -# of arguments to determine when it is acting as post-rendering and -# when as last-rendering. +# Note that post-rendition uses 2 arguments ($FILE and $ACTION) and +# last-rendition just one ($ACTION). This function uses the amount +# of arguments to determine when it is acting as post-rendition and +# when as last-rendition. # # This function create one directory for each different file type. # Later files are moved inside directories respectively. For example: @@ -21,7 +21,7 @@ # Jpg/ directory, and so on. # # For this function to work correctly, you need to specify which file -# type you want to group. This is done in the post-rendering ACTIONS +# type you want to group. This is done in the post-rendition ACTIONS # array inside the appropriate `render.conf.sh' pre-configuration # script. # @@ -29,8 +29,8 @@ # xpm, and tif file for each png file available and groups them all by # its file type, inside directories named as their file type (i.e. # Png, Jpg, Ppm, Xpm, Tif). Note that in the example, groupByType is -# ivoked as post-rendering action. If you want to invoke it as -# last-rendering action use LAST definition instead of POST. +# ivoked as post-rendition action. If you want to invoke it as +# last-rendition action use LAST definition instead of POST. # # ACTIONS[0]='BASE:renderImage' # ACTIONS[1]='POST:renderFormats: jpg, ppm, xpm, tif' @@ -75,21 +75,21 @@ function render_doIdentityGroupByType { local COUNT=0 if [[ $# -eq 1 ]];then - # Define file types for post-rendering action. + # Define file types for post-rendition action. FORMATS=$1 elif [[ $# -eq 2 ]];then - # Define file types for last-rendering action. + # Define file types for last-rendition action. FORMATS=$2 else cli_printMessage "`gettext "groupByType: Wrong invokation."`" 'AsErrorLine' cli_printMessage $(caller) "AsToKnowMoreLine" fi - # Sanitate file types passed from render.conf.sh pre-rendering + # Sanitate file types passed from render.conf.sh pre-rendition # configuration script. FORMATS=$(render_getConfOption "$FORMATS" '2-') - # Check file types passed from render.conf.sh pre-rendering + # Check file types passed from render.conf.sh pre-rendition # configuration script. if [[ "$FORMATS" == "" ]];then cli_printMessage "`gettext "There is no file type information to process."`" 'AsErrorLine' @@ -110,7 +110,7 @@ function render_doIdentityGroupByType { PATTERNS[2]="^.*[^(${PATTERNS[1]})]/[[:alpha:]_-]+\.(${PATTERNS[0]})$" # Define list of files to process when acting as - # last-rendering action. There may be many different files to + # last-rendition action. There may be many different files to # process here, so we need to build a list with them all # (without duplications). for FILE in $(find $ACTIONVAL -regextype posix-egrep -type f -regex ${PATTERNS[2]} \ @@ -123,7 +123,7 @@ function render_doIdentityGroupByType { elif [[ $# -eq 2 ]];then # Define list of files to process when action as - # post-rendering action. There is just one value to process + # post-rendition action. There is just one value to process # here, the one being currently rendered. FILES[0]="$1" diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh index 491db74..8a05a96 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageBrands.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_doIdentityImageBrands.sh -- This function provides -# post-rendering actions to produce CentOS brands. +# post-rendition actions to produce CentOS brands. # # Copyright (C) 2009-2011 Alain Reguera Delgado # diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageDm.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageDm.sh index 2d56c43..64495ac 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageDm.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageDm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageDm.sh -- This function porvides last-rendering +# render_doIdentityImageDm.sh -- This function porvides last-rendition # action to create gdm or kdm themes tar.gz files for different # motifs, screen resolutions, and major releases of CentOS # distribution. @@ -18,7 +18,7 @@ # # For example, to produce GNOME display manager theme in 2048x1536, # 1360x768, and 3271x1227 screen resolutions, for all major releases -# available, use the following definition inside GDM pre-rendering +# available, use the following definition inside GDM pre-rendition # configuration script: # # ACTIONS[0]='BASE:renderImage' @@ -55,7 +55,7 @@ function render_doIdentityImageDm { local SYMBOL='' local DM='' - # Get display manager passed from render.conf.sh pre-rendering + # Get display manager passed from render.conf.sh pre-rendition # configuration script. DM=$(render_getConfOption "$1" '2') @@ -63,7 +63,7 @@ function render_doIdentityImageDm { # path to display manager design models (i.e., the place where # GdmGreeterTheme.xml and GdmGreeterTheme.desktop files are # stored) using display manager information passed from - # render.conf.sh pre-rendering configuration script. + # render.conf.sh pre-rendition configuration script. if [[ $DM =~ '^GNOME$' ]];then TPL=/home/centos/artwork/trunk/Identity/Themes/Models/${THEMEMODEL}/Distro/BootUp/GDM elif [[ $DM =~ '^KDE$' ]];then @@ -76,7 +76,7 @@ function render_doIdentityImageDm { # Check absolute path to display manager design models. cli_checkFiles "$TPL" 'd' - # Get screen resolutions passed from render.conf.sh pre-rendering + # Get screen resolutions passed from render.conf.sh pre-rendition # configuration script. RESOLUTIONS=$(render_getConfOption "$1" '3') @@ -106,7 +106,7 @@ function render_doIdentityImageDm { # Define directory where temporal files are stored. Remember that # cli_getThemeName may return branch enumeration if we are - # rendering under branches/ directory structure. In order to build + # rendition under branches/ directory structure. In order to build # the theme directory we only use the thame name, not the numerial # information, so be sure to remove it here. TMP=$(cli_getThemeName | cut -d/ -f1) @@ -182,7 +182,7 @@ function render_doIdentityImageDm { popd > /dev/null # Output division rule. - echo '----------------------------------------------------------------------' + cli_printMessage '-' 'AsSeparatorLine' done diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageFormats.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageFormats.sh index f6ef3e4..683fbcd 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageFormats.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageFormats.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_doIdentityImageFormats.sh -- This function provides -# post-rendering action used to convert images from PNG to different +# post-rendition action used to convert images from PNG to different # image formats. This function uses ImageMagick command line image # manipulation tool set to convert the base PNG image to as many # formats as ImageMagick supports. diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh index a83e904..0c47582 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_doIdentityImageGrub.sh -- This function provides -# post-rendering action used to produce GRUB images. +# post-rendition action used to produce GRUB images. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -33,7 +33,7 @@ function render_doIdentityImageGrub { # Define 16 colors images default file name prefix. local PREFIX='-14c' - # Define options using those passed to actions from pre-rendering + # Define options using those passed to actions from pre-rendition # configuration script. These options are applied to pnmremap when # doing color reduction, so any option available for pnmremap # command can be passed to renderSyslinux functionality. @@ -73,12 +73,12 @@ function render_doIdentityImageGrub { cli_printMessage "$PALETTE_PPM" 'AsPaletteLine' # Check GRUB's palettes existence: If there is no palette assume - # that this is the first time you are rendering GRUB images. If + # that this is the first time you are rendition GRUB images. If # that is the case the script will provide you with the PNG format # which should be used as base to produce (using GIMP) the .gpl # palette. The .gpl palette information is used to produced # (using GIMP) the colormap (.ppm) which is used to automate the - # GRUB's 14 colors image (splash.png) rendering. If there is no + # GRUB's 14 colors image (splash.png) rendition. If there is no # palette available, do not apply color reduction, show a message, # and continue. cli_checkFiles $PALETTE_PPM diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageKsplash.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageKsplash.sh index c7d8c78..4b34e63 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageKsplash.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageKsplash.sh @@ -1,8 +1,8 @@ #!/bin/bash # # render_doIdentityImageKsplash.sh -- This function renders -# KSplash Preview.png image. Use this function as last-rendering -# function to KSplash base-rendering. +# KSplash Preview.png image. Use this function as last-rendition +# function to KSplash base-rendition. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -79,7 +79,7 @@ function render_doIdentityImageKsplash { done - # Output division rule. - echo '----------------------------------------------------------------------' + # Output separator line. + cli_printMessage '-' 'AsSeparatorLine' } diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh index c3fc44f..b030d1a 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh @@ -1,7 +1,7 @@ #!/bin/bash # # render_doIdentityImageSyslinux.sh -- This function provides -# post-rendering action used to produce syslinux images. +# post-rendition action used to produce syslinux images. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -33,7 +33,7 @@ function render_doIdentityImageSyslinux { # Define 16 colors images default file name prefix. local PREFIX='-16c' - # Define options using those passed to actions from pre-rendering + # Define options using those passed to actions from pre-rendition # configuration script. These options are applied to pnmremap when # doing color reduction, so any option available for pnmremap # command can be passed to renderSyslinux functionality. @@ -79,13 +79,13 @@ function render_doIdentityImageSyslinux { cli_printMessage "$PALETTE_HEX" 'AsPaletteLine' # Check syslinux's palettes existence: If there is no palette - # assume that this is the first time you are rendering syslinux + # assume that this is the first time you are rendition syslinux # images. If that is the case the script will provide you with the # PNG format which should be used as base to produce (using GIMP) # the .gpl palette. The .gpl palette information is used to # produced (using GIMP) the colormap (.ppm) which is used to # automate the syslinux's 16 colors image (syslinux-splash.png) - # rendering. If there is no palette available, do not apply color + # rendition. If there is no palette available, do not apply color # reduction, show a message, and continue. cli_checkFiles $PALETTE_PPM cli_checkFiles $PALETTE_HEX diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImages.sh b/Scripts/Bash/Functions/Render/render_doIdentityImages.sh index 82dba0c..02052be 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImages.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImages.sh @@ -34,7 +34,7 @@ function render_doIdentityImages { # design area we want to export. EXPORTID='CENTOSARTWORK' - # Start processing the base rendering list of FILES. Fun part + # Start processing the base rendition list of FILES. Fun part # approching :-). for FILE in $FILES; do @@ -45,7 +45,7 @@ function render_doIdentityImages { grep "id=\"$EXPORTID\"" $INSTANCE > /dev/null if [[ $? -gt 0 ]];then cli_printMessage "`eval_gettext "The export id (\\\$EXPORTID) was not found inside \\\$TEMPLATE."`" "AsErrorLine" - echo '----------------------------------------------------------------------' + cli_printMessage '-' 'AsSeparatorLine' continue fi @@ -87,7 +87,7 @@ function render_doIdentityImages { rm $INSTANCE fi - # Execute post-rendering actions. + # Execute post-rendition actions. for ACTION in "${POSTACTIONS[@]}"; do case "$ACTION" in @@ -116,12 +116,13 @@ function render_doIdentityImages { done - echo '----------------------------------------------------------------------' + # Output separator line. + cli_printMessage '-' 'AsSeparatorLine' done \ | awk -f /home/centos/artwork/trunk/Scripts/Bash/Styles/output_forTwoColumns.awk - # Define and execute posible last-rendering actions for image + # Define and execute posible last-rendition actions for image # rendeirng base action. for ACTION in "${LASTACTIONS[@]}"; do diff --git a/Scripts/Bash/Functions/Render/render_doIdentityTexts.sh b/Scripts/Bash/Functions/Render/render_doIdentityTexts.sh index 90ef9e6..678d261 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityTexts.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityTexts.sh @@ -26,7 +26,7 @@ function render_doIdentityTexts { - # Start processing the base rendering list of FILES. Fun part + # Start processing the base rendition list of FILES. Fun part # approching :-). for FILE in $FILES; do @@ -42,7 +42,7 @@ function render_doIdentityTexts { rm $INSTANCE fi - # Execute post-rendering actions. + # Execute post-rendition actions. for ACTION in "${POSTACTIONS[@]}"; do case "$ACTION" in @@ -55,12 +55,13 @@ function render_doIdentityTexts { done - echo '----------------------------------------------------------------------' + # Output separator line. + cli_printMessage '-' 'AsSeparatorLine' done \ | awk -f /home/centos/artwork/trunk/Scripts/Bash/Styles/output_forTwoColumns.awk - # Execute last-rendering actions. + # Execute last-rendition actions. #for ACTION in "${LASTACTIONS[@]}"; do # # case "$ACTION" in diff --git a/Scripts/Bash/Functions/Render/render_getActions.sh b/Scripts/Bash/Functions/Render/render_getActions.sh index ed3c40a..1f3a393 100644 --- a/Scripts/Bash/Functions/Render/render_getActions.sh +++ b/Scripts/Bash/Functions/Render/render_getActions.sh @@ -27,10 +27,10 @@ function render_getActions { # Define short options we want to support. - local ARGSS="d:f:" + local ARGSS="" # Define long options we want to support. - local ARGSL="directory:,filter:" + local ARGSL="identity:,translation:,filter:,copy:,to:,quiet,yes" # Parse arguments using getopt(1) command parser. cli_doParseArguments @@ -44,44 +44,76 @@ function render_getActions { case "$1" in - -d|--directory ) + --identity ) - # Define action value. + # Redefine action value. ACTIONVAL="$2" - # Check action value. Be sure the action value matches - # the convenctions defined for source locations inside - # the working copy. - cli_checkRepoDirSource - - # Define action name using action value as reference. - if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/Identity/.+$" ]];then - ACTIONNAM="${FUNCNAM}_getActionsIdentity" - elif [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/Translations/.+$" ]];then - ACTIONNAM="${FUNCNAM}_getActionsTranslations" - else - cli_printMessage "`eval_gettext "Cannot process the path \\\`\\\$ACTIONVAL'."`" 'AsErrorLine' - cli_printMessage "$(caller)" 'AsToKnowMoreLine' - fi - - # Look for sub-options passed through command-line. - while true; do - case "$3" in - -f|--filter ) - # Redefine regular expression. - REGEX="$4" - # Rotate positional parameters - shift 4 - ;; - * ) - # Break sub-options loop. - break - ;; - esac - done + # Redefine action name. + ACTIONNAM="${FUNCNAM}_getActionsIdentity" - # Break options loop. - break + # Rotate positional parameters + shift 2 + ;; + + --translation ) + + # Redefine action value. + ACTIONVAL="$2" + + # Redefine action name. + ACTIONNAM="${FUNCNAM}_getActionsTranslations" + + # Rotate positional parameters + shift 2 + ;; + + --filter ) + + # Redefine filter (regular expression) flag. + REGEX="$2" + + # Rotate positional parameters + shift 2 + ;; + + --copy ) + + # Redefine action value variable. + ACTIONVAL="$2" + + # Redefine action name variable. + ACTIONNAM="${FUNCNAME}_doCopy" + + # Rotate positional parameters + shift 2 + ;; + + --to ) + + # Redefine target value flag. + FLAG_TO="$2" + + # Rotate positional parameters + shift 2 + ;; + + --quiet ) + + # Redefine quiet flag. + FLAG_QUIET='true' + + # Rotate positional parameters + shift 1 + ;; + + --yes ) + + # Redefine answer flag. + FLAG_YES='true' + + # Rotate positional parameters + shift 1 ;; * ) @@ -90,12 +122,12 @@ function render_getActions { esac done - # Verify action value variable. - if [[ $ACTIONVAL == '' ]];then - cli_printMessage "$(caller)" 'AsToKnowMoreLine' - fi + # Check action value. Be sure the action value matches the + # convenctions defined for source locations inside the working + # copy. + cli_checkRepoDirSource - # Redefine pre-rendering configuration directory. Pre-rendering + # Redefine pre-rendition configuration directory. Pre-rendition # configuration directory is where we store render.conf.sh # scripts. The render.conf.sh scripts define how each artwork is # rendered. diff --git a/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh b/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh index 85eafc9..874cf19 100755 --- a/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh +++ b/Scripts/Bash/Functions/Render/render_getActionsIdentity.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# render_getActionsIdentity.sh -- This function initiates rendering -# configuration functions and executes them to perform the rendering +# render_getActionsIdentity.sh -- This function initiates rendition +# configuration functions and executes them to perform the rendition # action specified in the `ACTIONS' array variable. Function # initialization and execution is based on the absolute path # convenction defined by ARTCONF variable. @@ -29,6 +29,15 @@ function render_getActionsIdentity { + # Check parent directory. Identity rendition takes place under + # trunk/Identity directory structure only. Be sure action value + # referes an identity directory structure before perform identity + # rendition. + if [[ ! $ACTIONVAL =~ "^$(cli_getRepoTLDir $ACTIONVAL)/Identity/.+$" ]];then + cli_printMessage "`eval_gettext "Can't do identity rendition at \\\`\\\$ACTIONVAL'."`" 'AsErrorLine' + cli_printMessage "$(caller)" "AsToKnowMoreLine" + fi + # Define variables as local to avoid conflicts outside. local ARTCOMP='' @@ -43,7 +52,7 @@ function render_getActionsIdentity { # translated design for each translation file available. # Matching list definitions where translation files need to be # applied to specific design templates are defined inside - # artwork-specific pre-rendering configuration scripts. + # artwork-specific pre-rendition configuration scripts. local MATCHINGLIST='' # Check current scripts path value. If scripts path points to a @@ -58,7 +67,7 @@ function render_getActionsIdentity { # Output action message. cli_printMessage $FILE 'AsConfigurationLine' - echo '----------------------------------------------------------------------' + cli_printMessage '-' 'AsSeparatorLine' # Define artwork-specific action arrays. We need to do this # here because ACTIONS variable is unset after @@ -69,22 +78,22 @@ function render_getActionsIdentity { local -a POSTACTIONS local -a LASTACTIONS - # Initialize artwork-specific pre-rendering configuration + # Initialize artwork-specific pre-rendition configuration # (function) scripts. . $FILE - # Execute artwork-specific pre-rendering configuration + # Execute artwork-specific pre-rendition configuration # (function) scripts to re-define artwork-specific ACTIONS and # MATCHINGLIST variables. render_loadConfig - # Check variables passed from artwork-specific pre-rendering + # Check variables passed from artwork-specific pre-rendition # configuration scripts and make required transformations. render_checkConfig - # Redefine action value (ACTIONVAL) based on pre-rendering + # Redefine action value (ACTIONVAL) based on pre-rendition # configuration script path value. Otherwise, massive - # rendering may fail. Functions like renderImage need to know + # rendition may fail. Functions like renderImage need to know # the exact artwork path (that is, where images will be # stored). ACTIONVAL=$(dirname $(echo $FILE | sed -r \ @@ -102,21 +111,21 @@ function render_getActionsIdentity { ARTCOMP=$(echo $ARTCOMP | sed -r "s!Themes/Motifs/$(cli_getThemeName)/!Themes/!") fi - # Start rendering as defined in artwork-specific pre-rendering + # Start rendition as defined in artwork-specific pre-rendition # configuration file. render_doIdentity # Unset artwork-specific actions so they can be redefined by - # artwork-specific pre-rendering configuration scripts. This - # is required in massive rendering. For example, if you say + # artwork-specific pre-rendition configuration scripts. This + # is required in massive rendition. For example, if you say # centos-art.sh to render the whole Distro directory it first # renders Prompt entry, which defines the renderSyslinux - # post-rendering action, and later Progress entry which does - # not defines post-rendering actions. If we do not unset the - # ACTIONS variable, post-rendering actions defined in Prompt + # post-rendition action, and later Progress entry which does + # not defines post-rendition actions. If we do not unset the + # ACTIONS variable, post-rendition actions defined in Prompt # entry remain for Progress entry and that is not desired. We # want ACTIONS to do what we exactly tell it to do inside each - # artwork-specific pre-rendering configuration script. + # artwork-specific pre-rendition configuration script. unset ACTIONS unset BASEACTIONS unset POSTACTIONS diff --git a/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh b/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh index 1a25e93..68c2504 100755 --- a/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh +++ b/Scripts/Bash/Functions/Render/render_getActionsTranslations.sh @@ -27,13 +27,22 @@ function render_getActionsTranslations { - # Check directory content. Translation rendering can be realized + # Check parent directory. Translation rendition takes place under + # trunk/Translations directory structure only. Be sure action + # value referes a translation directory structure before perform + # translation rendition. + if [[ ! $ACTIONVAL =~ "^$(cli_getRepoTLDir $ACTIONVAL)/Translations/.+$" ]];then + cli_printMessage "`eval_gettext "Can't do translation rendition at \\\`\\\$ACTIONVAL'."`" 'AsErrorLine' + cli_printMessage "$(caller)" "AsToKnowMoreLine" + fi + + # Check directory content. Translation rendition can be realized # only if inside the action value directory there is a 'Tpl/' - # directory. Translation rendering is based on translation + # directory. Translation rendition is based on translation # templates inside 'Tpl/' directory. If that directory doesn't # exist leave a message and quit execution. if [[ ! -d $ACTIONVAL/Tpl ]];then - cli_printMessage "`gettext "Can't find translation templates in the directory provided."`" + cli_printMessage "`gettext "Can't find translation templates in the directory provided."`" 'AsErrorLine' cli_printMessage "$(caller)" "AsToKnowMoreLine" fi @@ -42,9 +51,9 @@ function render_getActionsTranslations { # previous checks, it is time to check if the directory you are # processing already has render.conf.sh configuration scripts, # inside its trunk/Scripts/Bash/Config/... asociated strucutre. If - # such directory entry exists, the translation rendering should + # such directory entry exists, the translation rendition should # end immediatly at this point because it is surely not a - # release-specific translation rendering. + # release-specific translation rendition. if [[ -d $ARTCONF ]];then for FILE in $(find $ARTCONF -name 'render.conf.sh');do # Initialize configuration function. @@ -56,15 +65,15 @@ function render_getActionsTranslations { # was found for the directory being processed. If the # render.conf.sh files were there, they were executed. Because # render.conf.sh has to do with very specificy translation - # rendering features (e.g., brands translation rendering), - # that doesn't match release-specifc rendering translation + # rendition features (e.g., brands translation rendition), + # that doesn't match release-specifc translation rendition # (the one done after this block). So, we need to end the - # translation rendering right here. + # translation rendition right here. cli_printMessage "$(caller)" "AsToKnowMoreLine" fi # ------------------------------------------------------------- - # - release-specific translation rendering stuff from this point on. + # - release-specific translation rendition stuff from this point on. # ------------------------------------------------------------- # Initialize variables as local to avoid conflicts in other places. @@ -214,7 +223,8 @@ function render_getActionsTranslations { LOCALES_INFO='' fi - echo "------------------------------------------------------------" + # Output separator line. + cli_printMessage '-' "AsSeparatorLine" done diff --git a/Scripts/Bash/Functions/Render/render_getConfOption.sh b/Scripts/Bash/Functions/Render/render_getConfOption.sh index 484a7b6..0a63687 100755 --- a/Scripts/Bash/Functions/Render/render_getConfOption.sh +++ b/Scripts/Bash/Functions/Render/render_getConfOption.sh @@ -1,9 +1,9 @@ #!/bin/bash # # render_doIdentityImageDm.sh -- This function standardize the way of -# retrive action values from pre-rendering configuration files. Use +# retrive action values from pre-rendition configuration files. Use # this function whenever you need to retrive action values from -# pre-rendering configuration script. +# pre-rendition configuration script. # # Usage: # @@ -17,7 +17,7 @@ # 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 +# ACTION is the string definition set in the pre-rendition # configuration script holding the action name and its options # fields. # @@ -73,10 +73,10 @@ function render_getConfOption { cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi - # Get option from pre-rendering configuration action definition. + # Get option from pre-rendition configuration action definition. VALUE=$(echo -n "$ACTION" | cut -d: -f${FIELD}) - # Sanitate action value passed from pre-rendering configuration + # Sanitate action value passed from pre-rendition configuration # action definition. VALUE=$(echo -n "${VALUE}" \ | sed -r 's!^ *!!g' \ diff --git a/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh b/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh index a7ed35a..ac5cad7 100644 --- a/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh +++ b/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh @@ -1,8 +1,7 @@ #!/bin/bash # # render_getIdentityDefs.sh -- This function provides shared variables -# re-definition for all rendering features inside centos-art.sh -# script. +# re-definition for all rendition actions inside centos-art.sh script. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -60,10 +59,9 @@ function render_getIdentityDefs { && [[ "${TRANSLATIONPATH}" == "" ]];then # Remove the template (`Tpl/') string from FILE for those - # rendering images based on design templates. This avoids - # the creation of an extra `Tpl' directory under Img. We - # want to save primary PNG file structure directly under - # Img/ not Img/Tpl/. + # images based on design templates. This avoids the creation + # of an extra `Tpl' directory under Img. We want to save + # primary PNG file structure directly under Img/ not Img/Tpl/. FILE=$(echo $FILE | sed -r "s!^${SVG}/!!") # In this case just one primary image is rendered. @@ -75,10 +73,9 @@ function render_getIdentityDefs { && [[ "${TRANSLATIONPATH}" == "" ]];then # Remove the template (`Tpl/') string from FILE for those - # rendering images based on design templates. This avoids - # the creation of an extra `Tpl' directory under Img. We - # want to save primary PNG file structure directly under - # Img/ not Img/Tpl/. + # images based on design templates. This avoids the creation + # of an extra `Tpl' directory under Img. We want to save + # primary PNG file structure directly under Img/ not Img/Tpl/. FILE=$(echo $FILE | sed -r "s!^${SVG}/!!") # In this case one primary image is rendered for each @@ -102,7 +99,7 @@ function render_getIdentityDefs { && [[ "${TRANSLATIONPATH}" != "" ]];then # Create a template and translation matching list. With this - # configuration we can optimize the rendering process for + # configuration we can optimize the rendition process for # artworks like Anaconda progress slides and installation # media, where many translation files apply one unique design # template file. @@ -115,7 +112,7 @@ function render_getIdentityDefs { # # The idea is to create a link and customizable relation # between translation files and design template files in - # pre-rendering configuration scripts and then interpret it + # pre-rendition configuration scripts and then interpret it # here. # # This way we pretend to eliminate duplicated design templates @@ -132,9 +129,9 @@ function render_getIdentityDefs { # # 1. There are too many translation files to apply to a # single design template. This is the case of Brands - # artworks (see: trunk/Identity/Brands) rendering, where - # it is very difficult to maintain the relation list of - # design templates and translation files. E.g.: + # artworks (see: trunk/Identity/Brands) rendition, where it + # is very difficult to maintain the relation list of design + # templates and translation files. E.g.: # # bond/path/template.svg: \ # bond/path/translation1.sed \ @@ -171,7 +168,7 @@ function render_getIdentityDefs { # configuration as much as possible. Note that it is much # more flexible than possible configuration 1. # - # In this configuration, the pre-rendering configuration takes + # In this configuration, the pre-rendition configuration takes # the following form: # # template.svg: \ @@ -184,8 +181,8 @@ function render_getIdentityDefs { # Possible configuration 2.1: If not design template was found # with the .svg extension, lets try design template without - # extension. This configuration is useful for rendering plain - # text files that doesn't use an extension (e.g., see inside + # extension. This configuration is useful to render plain text + # files that doesn't use an extension (e.g., see inside # `trunk/Identity/Release' directory structure). # # template: \ @@ -234,7 +231,7 @@ function render_getIdentityDefs { # If there is no template found at this point, we need to # prevent an empty template from being used. It is a missing - # assignment definition in the pre-rendering script surely. + # assignment definition in the pre-rendition script surely. if [[ "$TEMPLATE" == '' ]];then cli_printMessage "`eval_gettext "There is no design template defined for \\\`\\\$FILE'."`" 'AsErrorLine' cli_printMessage "$(caller)" "AsToKnowMoreLine" @@ -314,7 +311,7 @@ function render_getIdentityDefs { # Instead we assign the appropriate file extension when defining # file name. # - # When rendering using renderImage function, the structure of + # When we render using renderImage function, the structure of # files under Img/ directory will be the same of that used after # the common point in its related Translations or Template # directory depending in which one was taken as reference when diff --git a/Scripts/Bash/Functions/Render/render_getIdentityTemplateDir.sh b/Scripts/Bash/Functions/Render/render_getIdentityTemplateDir.sh index f786e0c..e91056a 100644 --- a/Scripts/Bash/Functions/Render/render_getIdentityTemplateDir.sh +++ b/Scripts/Bash/Functions/Render/render_getIdentityTemplateDir.sh @@ -32,7 +32,7 @@ function render_getIdentityTemplateDir { # Sanitate design models location. Be sure design models do # always point to trunk directory structure. This is useful to let - # `centos-art.sh' script do rendering under branches directory + # `centos-art.sh' script do rendition under branches directory # structure, reusing design models under trunk directory # structure. SVG=$(echo "$SVG" | sed "s!/branches/!/trunk/!") @@ -50,7 +50,7 @@ function render_getIdentityTemplateDir { else # Redefine design model location based on theme model # (THEMEMODEL) variable value. The theme model variable is - # defined in the associated pre-rendering configuration script + # defined in the associated pre-rendition configuration script # and can be used to set which design model to use among a # list of different design models that we can choose from. SVG=$(echo "$SVG" | sed "s!Motifs/$(cli_getThemeName)!Models/$THEMEMODEL!")