52dbe4 Update locale module of centos-art.sh script.

Authored and Committed by Alain Reguera Delgado 10 years ago
34 files changed. 2381 lines added. 4446 lines removed.
Automation/Modules/Locale/Locales/es_ES/locale.sh.po
file modified
+1719 -8
Automation/Modules/Locale/Locales/locale.sh.pot
file removed
-25
Automation/Modules/Locale/Manuals/Locales/es_ES/locale.asciidoc.po
file added
+199
Automation/Modules/Locale/Manuals/es_ES/locale.asciidoc.po
file removed
-169
Automation/Modules/Locale/Manuals/locale.asciidoc.pot
file removed
-168
Automation/Modules/Locale/Manuals/render.conf
file modified
+1 -1
Automation/Modules/Locale/Modules/Actions/Modules/Update/Locales/es_ES/update.sh.po
file removed
-1716
Automation/Modules/Locale/Modules/Actions/Modules/Update/Locales/update.sh.pot
file removed
-1715
Automation/Modules/Locale/Modules/Directories/directories.sh
file added
+86
Automation/Modules/Locale/Modules/Directory/Locales/directory.sh.pot
file removed
-29
Automation/Modules/Locale/Modules/Directory/Locales/es_ES/directory.sh.po
file removed
-28
Automation/Modules/Locale/Modules/Directory/directory.sh
file removed
-52
Automation/Modules/Locale/Modules/File/Locales/es_ES/file.sh.po
file removed
-28
Automation/Modules/Locale/Modules/File/Locales/file.sh.pot
file removed
-29
Automation/Modules/Locale/Modules/Files/Modules/Delete/delete.shAutomation/Modules/Locale/Modules/Actions/Modules/Delete/delete.sh
file renamed
+9 -7
Automation/Modules/Locale/Modules/Files/Modules/Edit/edit.shAutomation/Modules/Locale/Modules/Actions/Modules/Edit/edit.sh
file renamed
+4 -6
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.shAutomation/Modules/Locale/Modules/Actions/actions.sh
file renamed
+11 -7
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Asciidoc/asciidoc.sh
file renamed
+21 -23
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.shAutomation/Modules/Locale/Modules/Directory/directory_getConfiguration.sh
file renamed
+38 -65
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Sh/sh.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Sh/sh.sh
file renamed
+38 -5
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Svg/svg.sh
file renamed
+4 -19
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Svg/svg_createSvgInstance.sh
file renamed
+3 -3
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh
file renamed
+4 -6
Automation/Modules/Locale/Modules/Files/Modules/Update/update.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update.sh
file renamed
+0 -0
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertPoToMo.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_convertPoToMo.sh
file renamed
+0 -0
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertPotToPo.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_convertPotToPo.sh
file renamed
+6 -6
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertXmlToPot.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_convertXmlToPot.sh
file renamed
+0 -0
Automation/Modules/Locale/Modules/Files/Modules/Update/update_getCountryName.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh
file renamed
+1 -1
Automation/Modules/Locale/Modules/Files/Modules/Update/update_getLanguageName.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh
file renamed
+187 -187
Automation/Modules/Locale/Modules/Files/Modules/Update/update_setPoMetadata.shAutomation/Modules/Locale/Modules/Actions/Modules/Update/update_setPoMetadata.sh
file renamed
+0 -0
Automation/Modules/Locale/Modules/Files/files.shAutomation/Modules/Locale/Modules/File/file.sh
file renamed
+23 -54
Automation/Modules/Locale/locale.sh
file modified
+23 -18
Automation/Modules/Locale/locale_getFilesList.sh
file removed
-54
Automation/Modules/Locale/locale_getOptions.sh
file modified
+4 -17
    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.
    
        
Automation/Modules/Locale/Modules/Files/Modules/Delete/delete.sh Automation/Modules/Locale/Modules/Actions/Modules/Delete/delete.sh
file renamed
+9 -7
Automation/Modules/Locale/Modules/Files/Modules/Edit/edit.sh Automation/Modules/Locale/Modules/Actions/Modules/Edit/edit.sh
file renamed
+4 -6
file renamed
+11 -7
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Asciidoc/asciidoc.sh
file renamed
+21 -23
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh Automation/Modules/Locale/Modules/Directory/directory_getConfiguration.sh
file renamed
+38 -65
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Sh/sh.sh
file renamed
+38 -5
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Svg/svg.sh
file renamed
+4 -19
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Svg/svg_createSvgInstance.sh
file renamed
+3 -3
Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh
file renamed
+4 -6
Automation/Modules/Locale/Modules/Files/Modules/Update/update.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update.sh
file renamed
file was renamed with no change to the file
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertPoToMo.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_convertPoToMo.sh
file renamed
file was renamed with no change to the file
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertPotToPo.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_convertPotToPo.sh
file renamed
+6 -6
Automation/Modules/Locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_convertXmlToPot.sh
file renamed
file was renamed with no change to the file
Automation/Modules/Locale/Modules/Files/Modules/Update/update_getCountryName.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh
file renamed
+1 -1
Automation/Modules/Locale/Modules/Files/Modules/Update/update_getLanguageName.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh
file renamed
+187 -187
Automation/Modules/Locale/Modules/Files/Modules/Update/update_setPoMetadata.sh Automation/Modules/Locale/Modules/Actions/Modules/Update/update_setPoMetadata.sh
file renamed
file was renamed with no change to the file
Automation/Modules/Locale/Modules/Files/files.sh Automation/Modules/Locale/Modules/File/file.sh
file renamed
+23 -54