diff --git a/Scripts/Bash/Functions/Locale/locale.sh b/Scripts/Bash/Functions/Locale/locale.sh index 6858c3f..be421de 100755 --- a/Scripts/Bash/Functions/Locale/locale.sh +++ b/Scripts/Bash/Functions/Locale/locale.sh @@ -46,14 +46,14 @@ function locale { # where all translation messages are organized in. Translation # messages are organized herein using the same layout of the # components they represent under the `trunk/Identity', - # `trunk/Manuals' or `trunk/Scripts' directory structures. The - # localization base directory must be used as source location for - # subversion operations (e.g., status, update, commit, etc.). - # Otherwise, it would be difficult to add directory structures - # that have several levels down from the localization base - # directory up to the repository (e.g., it is not possible in - # subversion to add a directory which parent directory hasn't been - # added to the repository previously.). + # `trunk/Documentation/Manuals' or `trunk/Scripts' directory + # structures. The localization base directory must be used as + # source location for subversion operations (e.g., status, update, + # commit, etc.). Otherwise, it would be difficult to add + # directory structures that have several levels down from the + # localization base directory up to the repository (e.g., it is + # not possible in subversion to add a directory which parent + # directory hasn't been added to the repository previously.). L10N_BASEDIR="$(cli_getRepoTLDir)/Locales" # Interpret arguments and options passed through command-line. diff --git a/Scripts/Bash/Functions/Locale/locale_editMessages.sh b/Scripts/Bash/Functions/Locale/locale_editMessages.sh index 553451a..b5eedd9 100755 --- a/Scripts/Bash/Functions/Locale/locale_editMessages.sh +++ b/Scripts/Bash/Functions/Locale/locale_editMessages.sh @@ -33,7 +33,7 @@ function locale_editMessages { # Define list of PO files to process based on paths provided as # non-option arguments through centos-art.sh script command-line. - if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/(Manuals|Identity/Models)/.*$" ]];then + if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/(Documentation|Identity/Models)/.*$" ]];then # Define list of PO files for XML-based files. PO_FILES=$(cli_getFilesList ${L10N_WORKDIR} --pattern="/${FLAG_FILTER}/messages\.po$") diff --git a/Scripts/Bash/Functions/Locale/locale_updateMessageXml.sh b/Scripts/Bash/Functions/Locale/locale_updateMessageXml.sh index f871d03..b65f64e 100755 --- a/Scripts/Bash/Functions/Locale/locale_updateMessageXml.sh +++ b/Scripts/Bash/Functions/Locale/locale_updateMessageXml.sh @@ -69,7 +69,7 @@ function locale_updateMessageXml { # validate docbook files; Docbook files have a DOCTYPE definition # while svg files don't. Without a DOCTYPE definition, it isn't # possible for `xmllint' to validate the document. - if [[ $ACTIONVAL =~ '^.+/(branches|trunk)/Manuals/.+$' ]];then + if [[ $ACTIONVAL =~ '^.+/(branches|trunk)/Documentation/Manuals/.+$' ]];then # Another issue to consider is the amount of source files that # are being processed through xml2po. When there are more than diff --git a/Scripts/Bash/Functions/Locale/locale_updateMessages.sh b/Scripts/Bash/Functions/Locale/locale_updateMessages.sh index b5d8d80..a87b6ad 100755 --- a/Scripts/Bash/Functions/Locale/locale_updateMessages.sh +++ b/Scripts/Bash/Functions/Locale/locale_updateMessages.sh @@ -38,7 +38,7 @@ function locale_updateMessages { # extract translatable strings from XML-based files or to use # xgettext to extract translatable strings from shell script # files. - if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/(Manuals|Identity/Models)/.*$" ]];then + if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/(Documentation|Identity/Models)/.*$" ]];then # Update translatable strings inside the portable object # template related to XML-based files (e.g., scalable vector