Update locale module of centos-art.sh script.
- Previously, localization was set in a per-module basis. This is each
module has a Locales directory where the locale information for that
module was stored in. As RPM packaging is knocking on the door and
child modules are considered as an integral part of parent-modules,
the localization files related to child modules is read from
parent-modules Locales directory making child-specific localization
files not used. This update removes child-specific localization
files and permits creation of localization files for parent-module
recursively.
- Previously, POT files were preserved and under version control. This
update removes all POT files inside the locale module's Locales
directory and considers them files as temporal files. POT files are
created when PO files are updated then removed.
- Previously, the localization files related to Manuals were stored
directly in language-specific directories and referred that way from
render.conf file. This update moves the locale directories into a
Locales directory which is created inside the Manuals directory. The
render.conf file used to produce documentation is also updated to
point the correct value at locale-from option.
- Rename module name from file to files, and directory to directories.
- Previously, when a directory was provided as argument in the
command-line, a list of all configuration files in the directory
structure was built and send to directory_getConfiguration function
for being processed. This update changes the directory processing to
support scalable vector graphics only. Localization of other file
types like asciidoc, configuration files and shell scripts is
supported through file processing only (e.g., when a file is
provided as argument in the command-line).
- Previously, file processing called an action module which in turn
called another module for processing specific file types. This
update removed the action module and make action modules child
modules of files module. In this design actions modules (e.g.,
update, edit, delete) are called immediately from files module.
- Previously, configuration files were processed as part of directory
processing. This update removes support for processing configuration
file from directory processing and includes it as part of file
processing (e.g., when the file you provide as argument in the
command-line has the .conf extension).
- Remove --siblings, --all, and --report options from
locale_getOptions function. The related variables
LOCALE_FLAG_SIBLINGS, LOCALE_FLAG_ALL, and LOCALE_FLAG_REPORT were
also removed.
- Previously, files was using the locale_getFilesList function to
determine how files were processed based on LOCALE_FLAG_SIBLINGS and
LOCALE_FLAG_ALL. This update removes the locale_getFilesList
function. The way files are processed has been distributed through
directories and sh functions.