diff --git a/COPYING b/COPYING deleted file mode 100644 index a43ea21..0000000 --- a/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/Scripts/Documentation/Manpages/Locales/es_ES/tcar-locale.asciidoc.po b/Scripts/Documentation/Manpages/Locales/es_ES/tcar-locale.asciidoc.po new file mode 100644 index 0000000..2c4fe6d --- /dev/null +++ b/Scripts/Documentation/Manpages/Locales/es_ES/tcar-locale.asciidoc.po @@ -0,0 +1,199 @@ +msgid "" +msgstr "" +"Project-Id-Version: locale.asciidoc 0.6\n" +"POT-Creation-Date: 2013-10-22 23:47-0400\n" +"PO-Revision-Date: 2013-10-22 23:47-0400\n" +"Last-Translator: Localization SIG \n" +"Language-Team: Spanish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "locale" +msgstr "" + +msgid "1" +msgstr "" + +msgid "" +"Create, edit and delete translation files for images, documents and " +"automation scripts." +msgstr "" +"Crea, edita y borra ficheros de traducción para imágenes, " +"documentos y guiones de automatización." + +msgid "centos-art.sh locale --help" +msgstr "" + +msgid "Print module's documentation." +msgstr "Imprime documentación del módulo." + +msgid "centos-art.sh locale --version" +msgstr "" + +msgid "Print module's version." +msgstr "Imprime versión del módulo." + +msgid "" +"centos-art.sh locale DIRECTORY [--update|--edit|--delete|--filter=\"REGEX\"]" +msgstr "" + +msgid "Perform directory localization." +msgstr "" + +msgid "centos-art.sh locale FILE [--update|--edit|--delete]" +msgstr "" + +msgid "Perform file localization." +msgstr "" + +msgid "Description" +msgstr "Descripción" + +msgid "" +"The locale produces translations files " +"for images, documents and automation scripts based on the LANG environment " +"variable. In order to produce locale-specific translation files, the current " +"language information set by the LANG environment variable must be different " +"to English (`en'). If the current language is English, the locale module ends its execution with an error " +"message. When the current language is different to English, the locale looks for source files, based on the " +"arguments you passed through the command-line." +msgstr "" + +msgid "" +"When the argument you provided is a “DIRECTORY”, the locale module looks for configuration files inside it and " +"produces translation files based on the render-" +"from and locale-from " +"variables set in there. On the other hand, when a “FILE” is provided, it " +"takes the file extension (i.e., the characters after the last dot in the " +"file name) and looks recursively in the file's directory for all the files " +"that have the same file extension the “FILE” does, and builds the list of " +"source files that will be used to produce the translation files. In this " +"case, the translation files are stored in a “Locales” directory, at the same " +"level of the “FILE” you provided as argument to locale module's command-line." +msgstr "" + +msgid "" +"Translation files are the files we use to store translatable strings. These " +"files can be either portable objects (.po'), machine objects (.po') or portable object templates (.pot'). Machine objects " +"are built from portable objects. Portable objects are built from portable " +"object templates (.pot'). Portable object templates are built " +"using xgettext or xml2po programs, according to the source files you are " +"retrieving translatable strings from. From these files, portable objects " +"(.po') are used by render " +"module to produce both localized images and localized documentation while " +"machine objects (.mo') are used by gettext program to produce localized output messages from " +"automation scripts." +msgstr "" + +msgid "Options" +msgstr "" + +msgid "" +"The locale module accepts the following " +"options:" +msgstr "" + +msgid "--help" +msgstr "" + +msgid "--version" +msgstr "" + +msgid "--filter=\"REGEX\"" +msgstr "" + +msgid "" +"When “DIRECTORY” is passed as argument, this option reduces the number of " +"section blocks inside configuration files the locale module will take for processing by using the “REGEX” " +"value is a regular expression pattern to match one or more section names " +"inside the configuration files found under “DIRECTORY”. When “FILE” is " +"passed as argument, in the other hand, it limits the number of files that " +"will be set in the list of source files used to build the final translation " +"files." +msgstr "" + +msgid "--update" +msgstr "" + +msgid "--edit" +msgstr "" + +msgid "--delete" +msgstr "" + +msgid "Localizing Image Files" +msgstr "" + +#, no-wrap +msgid "" +"\n" +"Hi\n" +"\n" +"Localizing Documentation Files" +msgstr "" + +msgid "Hi" +msgstr "" + +msgid "Localizing Automation Scripts" +msgstr "" + +msgid "Author" +msgstr "" + +msgid "" +"Written by Alain Reguera Delgado" +msgstr "" + +msgid "Copyright" +msgstr "" + +msgid "Copyright © 2009-2013 The CentOS Project" +msgstr "" + +msgid "" +"This program is free software; you can redistribute it and/or modify it " +"under the terms of the GNU General Public License as published by the Free " +"Software Foundation; either version 2 of the License, or (at your option) " +"any later version." +msgstr "" + +msgid "" +"This program is distributed in the hope that it will be useful, but WITHOUT " +"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " +"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " +"more details." +msgstr "" + +msgid "" +"You should have received a copy of the GNU General Public License along with " +"this program; if not, write to the Free Software Foundation, Inc., 675 Mass " +"Ave, Cambridge, MA 02139, USA." +msgstr "" + +msgid "See Also" +msgstr "" + +msgid "centos-art.sh(1), centos-art.sh-render(1), gettext(1)" +msgstr "" + +#. Put one translator per line, in the form of NAME , YEAR1, YEAR2. +msgid "translator-credits" +msgstr "" + +#~ msgid "Name" +#~ msgstr "Nombre de la referencia" + +#~ msgid "Synopsis" +#~ msgstr "Sinópsis" diff --git a/Scripts/Documentation/Manpages/tcar-locale.asciidoc b/Scripts/Documentation/Manpages/tcar-locale.asciidoc new file mode 100644 index 0000000..896ecb2 --- /dev/null +++ b/Scripts/Documentation/Manpages/tcar-locale.asciidoc @@ -0,0 +1,129 @@ +tcar-locale(1) +============== + +Name +---- + +tcar-locale - Create, edit and delete translation files for images, +documents and automation scripts. + +Synopsis +-------- + +*tcar locale --help*:: + Print module's documentation. + +*tcar locale --version*:: + Print module's version. + +*tcar locale DIRECTORY [--update|--edit|--delete|--filter="REGEX"]*:: + Perform directory localization. + +*tcar locale FILE [--update|--edit|--delete]*:: + Perform file localization. + +Description +----------- + +The *tcar-locale* produces translations files for images, documents +and automation scripts based on the LANG environment variable. In +order to produce tcar-locale-specific translation files, the current +language information set by the LANG environment variable must be +different to English (`en'). If the current language is English, the +*tcar-locale* module ends its execution with an error message. When +the current language is different to English, the *tcar-locale* looks +for source files, based on the arguments you passed through the +command-line. + +When the argument you provided is a ``DIRECTORY'', the *tcar-locale* +module looks for configuration files inside it and produces +translation files based on the *render-from* and *locale-from* +variables set in there. On the other hand, when a ``FILE'' is +provided, it takes the file extension (i.e., the characters after the +last dot in the file name) and looks recursively in the file's +directory for all the files that have the same file extension the +``FILE'' does, and builds the list of source files that will be used +to produce the translation files. In this case, the translation files +are stored in a ``Locales'' directory, at the same level of the +``FILE'' you provided as argument to *tcar-locale* module's +command-line. + +Translation files are the files we use to store translatable strings. +These files can be either portable objects (`.po'), machine objects +(`.po') or portable object templates (`.pot'). Machine objects are +built from portable objects. Portable objects are built from portable +object templates (`.pot'). Portable object templates are built using +*xgettext* or *xml2po* programs, according to the source files you are +retrieving translatable strings from. From these files, portable +objects (`.po') are used by *render* module to produce both localized +images and localized documentation while machine objects (`.mo') are +used by *gettext* program to produce localized output messages from +automation scripts. + +Options +------- + +The *tcar-locale* module accepts the following options: + +*--help*:: + Print module's documentation. +*--version*:: + Print module's version. +*--filter="REGEX"*:: + When ``DIRECTORY'' is passed as argument, this option reduces the + number of section blocks inside configuration files the *tcar-locale* + module will take for processing by using the ``REGEX'' value is a + regular expression pattern to match one or more section names + inside the configuration files found under ``DIRECTORY''. When + ``FILE'' is passed as argument, in the other hand, it limits the + number of files that will be set in the list of source files used + to build the final translation files. +*--update*:: +*--edit*:: +*--delete*:: + +Localizing Image Files +---------------------- + +Pendent + +Localizing Documentation Files +------------------------------ + +Pendent + +Localizing Automation Scripts +----------------------------- + +Pendent + +Author +------ + +Written by Alain Reguera Delgado + +Copyright +--------- + +Copyright (C) 2014 The Artwork SIG + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +See Also +-------- + +tcar(1), tcar-render(1), gettext(1) + +// vim: set syntax=asciidoc: diff --git a/Scripts/Documentation/Manpages/tcar-locale.conf b/Scripts/Documentation/Manpages/tcar-locale.conf new file mode 100644 index 0000000..df37ee2 --- /dev/null +++ b/Scripts/Documentation/Manpages/tcar-locale.conf @@ -0,0 +1,7 @@ +[tcar-locale] +render-type = "asciidoc" +render-flow = "manpage" +render-from = "tcar-locale.asciidoc" +locale-from = "Locales/${TCAR_SCRIPT_LANG_LC}/tcar-locale.asciidoc.po" +formats = "xhtml manpage" +mansect = "1" diff --git a/Scripts/Locales/es_ES/tcar-locale.sh.po b/Scripts/Locales/es_ES/tcar-locale.sh.po new file mode 100644 index 0000000..4966345 --- /dev/null +++ b/Scripts/Locales/es_ES/tcar-locale.sh.po @@ -0,0 +1,1731 @@ +msgid "" +msgstr "" +"Project-Id-Version: locale.sh 0.6\n" +"Report-Msgid-Bugs-To: centos-l10n-es@centos.org.cu\n" +"POT-Creation-Date: 2013-10-23 15:31-0400\n" +"PO-Revision-Date: 2013-10-23 15:31-0400\n" +"Last-Translator: Localization SIG \n" +"Language-Team: Spanish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:46 +#, sh-format +msgid "No section definition was found in $CONFIGURATION." +msgstr "Ninguna sección de configuración fue encontrarada en $CONFIGURATION." + +#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:57 +msgid "hasn't render-type set in." +msgstr "no tiene el ajuste render-type." + +#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:62 +msgid "hasn't render-from set in." +msgstr "no tiene el ajuste render-from." + +#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:70 +msgid "hasn't render-flow set in." +msgstr "no tiene el ajuste render-flow." + +#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:75 +msgid "hasn't locale-from set in." +msgstr "no tiene el ajuste locale-from." + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:30 +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:30 +msgid "Unknown" +msgstr "Desconocido" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:35 +msgid "Andorra" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:38 +msgid "United Arab Emirates" +msgstr "Emirates Árabes Unidos" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:41 +msgid "Afghanistan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:44 +msgid "Antigua and Barbuda" +msgstr "Antigua y Barbuda" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:47 +msgid "Anguilla" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:50 +msgid "Albania" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:53 +msgid "Armenia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:56 +msgid "Netherlands Antilles" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:59 +msgid "Angola" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:62 +msgid "Antarctica" +msgstr "Antárctica" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:65 +msgid "Argentina" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:68 +msgid "Samoa (American)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:71 +msgid "Austria" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:74 +msgid "Australia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:77 +msgid "Aruba" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:80 +msgid "Azerbaijan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:83 +msgid "Bosnia and Herzegovina" +msgstr "Bosnia y Herzegovina" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:86 +msgid "Barbados" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:89 +msgid "Bangladesh" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:92 +msgid "Belgium" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:95 +msgid "Burkina Faso" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:98 +msgid "Bulgaria" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:101 +msgid "Bahrain" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:104 +msgid "Burundi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:107 +msgid "Benin" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:110 +msgid "Bermuda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:113 +msgid "Brunei" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:116 +msgid "Bolivia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:119 +msgid "Brazil" +msgstr "Brasil" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:122 +msgid "Bahamas" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:125 +msgid "Bhutan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:128 +msgid "Bouvet Island" +msgstr "Isla de Bouvet" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:131 +msgid "Botswana" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:134 +msgid "Belarus" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:137 +msgid "Belize" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:140 +msgid "Canada" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:143 +msgid "Cocos (Keeling) Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:146 +msgid "Congo (Dem. Rep.)" +msgstr "República Democrática del Congo" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:149 +msgid "Central African Rep." +msgstr "Repúbliva Central Africana" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:152 +msgid "Congo (Rep.)" +msgstr "República del Congo" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:155 +msgid "Switzerland" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:158 +msgid "Co^te d'Ivoire" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:161 +msgid "Cook Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:164 +msgid "Chile" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:167 +msgid "Cameroon" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:170 +msgid "China" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:173 +msgid "Colombia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:176 +msgid "Costa Rica" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:179 +msgid "Serbia and Montenegro" +msgstr "Serbia y Montenegro" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:182 +msgid "Cuba" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:185 +msgid "Cape Verde" +msgstr "Cabo Verde" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:188 +msgid "Christmas Island" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:191 +msgid "Cyprus" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:194 +msgid "Czech Republic" +msgstr "República Checa" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:197 +msgid "Germany" +msgstr "Alemania" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:200 +msgid "Djibouti" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:203 +msgid "Denmark" +msgstr "Dinamarca" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:206 +msgid "Dominica" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:209 +msgid "Dominican Republic" +msgstr "República Dominicana" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:212 +msgid "Algeria" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:215 +msgid "Ecuador" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:218 +msgid "Estonia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:221 +msgid "Egypt" +msgstr "Egipto" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:224 +msgid "Western Sahara" +msgstr "Shara Occidental" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:227 +msgid "Eritrea" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:230 +msgid "Spain" +msgstr "España" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:233 +msgid "Ethiopia" +msgstr "Etiopía" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:236 +msgid "Finland" +msgstr "Finlandia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:239 +msgid "Fiji" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:242 +msgid "Falkland Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:245 +msgid "Micronesia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:248 +msgid "Faeroe Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:251 +msgid "France" +msgstr "Francia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:254 +msgid "Gabon" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:257 +msgid "Britain (UK)" +msgstr "Bretaña (UK)" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:260 +msgid "Grenada" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:263 +msgid "Georgia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:266 +msgid "French Guiana" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:269 +msgid "Ghana" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:272 +msgid "Gibraltar" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:275 +msgid "Greenland" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:278 +msgid "Gambia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:281 +msgid "Guinea" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:284 +msgid "Guadeloupe" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:287 +msgid "Equatorial Guinea" +msgstr "Guinea Ecuatorial" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:290 +msgid "Greece" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:293 +msgid "South Georgia and the South Sandwich Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:296 +msgid "Guatemala" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:299 +msgid "Guam" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:302 +msgid "Guinea-Bissau" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:305 +msgid "Guyana" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:308 +msgid "Hong Kong" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:311 +msgid "Heard Island and McDonald Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:314 +msgid "Honduras" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:317 +msgid "Croatia" +msgstr "Croasia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:320 +msgid "Haiti" +msgstr "Haití" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:323 +msgid "Hungary" +msgstr "Hungría" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:326 +msgid "Indonesia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:329 +msgid "Ireland" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:332 +msgid "Israel" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:335 +msgid "India" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:338 +msgid "British Indian Ocean Territory" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:341 +msgid "Iraq" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:344 +msgid "Iran" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:347 +msgid "Iceland" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:350 +msgid "Italy" +msgstr "Italia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:353 +msgid "Jamaica" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:356 +msgid "Jordan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:359 +msgid "Japan" +msgstr "Japón" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:362 +msgid "Kenya" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:365 +msgid "Kyrgyzstan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:368 +msgid "Cambodia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:371 +msgid "Kiribati" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:374 +msgid "Comoros" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:377 +msgid "St Kitts and Nevis" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:380 +msgid "Korea (North)" +msgstr "Korea (Norte)" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:383 +msgid "Korea (South)" +msgstr "Korea (Sur)" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:386 +msgid "Kuwait" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:389 +msgid "Cayman Islands" +msgstr "Islas Caimán" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:392 +msgid "Kazakhstan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:395 +msgid "Laos" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:398 +msgid "Lebanon" +msgstr "Líbano" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:401 +msgid "St Lucia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:404 +msgid "Liechtenstein" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:407 +msgid "Sri Lanka" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:410 +msgid "Liberia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:413 +msgid "Lesotho" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:416 +msgid "Lithuania" +msgstr "Lituania" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:419 +msgid "Luxembourg" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:422 +msgid "Latvia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:425 +msgid "Libya" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:428 +msgid "Morocco" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:431 +msgid "Monaco" +msgstr "Mónaco" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:434 +msgid "Moldova" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:437 +msgid "Madagascar" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:440 +msgid "Marshall Islands" +msgstr "Islas Marshall" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:443 +msgid "Macedonia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:446 +msgid "Mali" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:449 +msgid "Myanmar (Burma)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:452 +msgid "Mongolia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:455 +msgid "Macao" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:458 +msgid "Northern Mariana Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:461 +msgid "Martinique" +msgstr "Martinica" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:464 +msgid "Mauritania" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:467 +msgid "Montserrat" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:470 +msgid "Malta" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:473 +msgid "Mauritius" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:476 +msgid "Maldives" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:479 +msgid "Malawi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:482 +msgid "Mexico" +msgstr "México" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:485 +msgid "Malaysia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:488 +msgid "Mozambique" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:491 +msgid "Namibia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:494 +msgid "New Caledonia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:497 +msgid "Niger" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:500 +msgid "Norfolk Island" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:503 +msgid "Nigeria" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:506 +msgid "Nicaragua" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:509 +msgid "Netherlands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:512 +msgid "Norway" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:515 +msgid "Nepal" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:518 +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:478 +msgid "Nauru" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:521 +msgid "Niue" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:524 +msgid "New Zealand" +msgstr "Nueva Zelanda" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:527 +msgid "Oman" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:530 +msgid "Panama" +msgstr "Panamá" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:533 +msgid "Peru" +msgstr "Perú" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:536 +msgid "French Polynesia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:539 +msgid "Papua New Guinea" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:542 +msgid "Philippines" +msgstr "Filipinas" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:545 +msgid "Pakistan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:548 +msgid "Poland" +msgstr "Polonia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:551 +msgid "St Pierre and Miquelon" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:554 +msgid "Pitcairn" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:557 +msgid "Puerto Rico" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:560 +msgid "Palestine" +msgstr "Palestina" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:563 +msgid "Portugal" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:566 +msgid "Palau" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:569 +msgid "Paraguay" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:572 +msgid "Qatar" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:575 +msgid "Reunion" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:578 +msgid "Romania" +msgstr "Rumania" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:581 +msgid "Russia" +msgstr "Rusia" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:584 +msgid "Rwanda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:587 +msgid "Saudi Arabia" +msgstr "Arabia Saudita" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:590 +msgid "Solomon Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:593 +msgid "Seychelles" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:596 +msgid "Sudan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:599 +msgid "Sweden" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:602 +msgid "Singapore" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:605 +msgid "St Helena" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:608 +msgid "Slovenia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:611 +msgid "Svalbard and Jan Mayen" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:614 +msgid "Slovakia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:617 +msgid "Sierra Leone" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:620 +msgid "San Marino" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:623 +msgid "Senegal" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:626 +msgid "Somalia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:629 +msgid "Suriname" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:632 +msgid "Sao Tome and Principe" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:635 +msgid "El Salvador" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:638 +msgid "Syria" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:641 +msgid "Swaziland" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:644 +msgid "Turks and Caicos Islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:647 +msgid "Chad" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:650 +msgid "French Southern and Antarctic Lands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:653 +msgid "Togo" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:656 +msgid "Thailand" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:659 +msgid "Tajikistan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:662 +msgid "Tokelau" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:665 +msgid "Timor-Leste" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:668 +msgid "Turkmenistan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:671 +msgid "Tunisia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:674 +msgid "Tonga" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:677 +msgid "Turkey" +msgstr "Turquía" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:680 +msgid "Trinidad and Tobago" +msgstr "Trinidad y Tobago" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:683 +msgid "Tuvalu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:686 +msgid "Taiwan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:689 +msgid "Tanzania" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:692 +msgid "Ukraine" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:695 +msgid "Uganda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:698 +msgid "US minor outlying islands" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:701 +msgid "United States" +msgstr "Estados Unidos" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:704 +msgid "Uruguay" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:707 +msgid "Uzbekistan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:710 +msgid "Vatican City" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:713 +msgid "St Vincent" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:716 +msgid "Venezuela" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:719 +msgid "Virgin Islands (UK)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:722 +msgid "Virgin Islands (US)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:725 +msgid "Vietnam" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:728 +msgid "Vanuatu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:731 +msgid "Wallis and Futuna" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:734 +msgid "Samoa (Western)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:737 +msgid "Yemen" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:740 +msgid "Mayotte" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:743 +msgid "South Africa" +msgstr "Sur África" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:746 +msgid "Zambia" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:749 +msgid "Zimbabwe" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:35 +msgid "Afar" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:39 +msgid "Abkhazian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:43 +msgid "Avestan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:47 +msgid "Afrikaans" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:51 +msgid "Akan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:55 +msgid "Amharic" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:59 +msgid "Aragonese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:63 +msgid "Arabic" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:67 +msgid "Assamese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:71 +msgid "Avaric" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:75 +msgid "Aymara" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:79 +msgid "Azerbaijani" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:83 +msgid "Bashkir" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:87 +msgid "Byelorussian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:91 +msgid "Bulgarian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:95 +msgid "Bihari" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:99 +msgid "Bislama" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:103 +msgid "Bambara" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:107 +msgid "Bengali" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:111 +msgid "Tibetan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:115 +msgid "Breton" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:119 +msgid "Bosnian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:123 +msgid "Catalan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:127 +msgid "Chechen" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:131 +msgid "Chamorro" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:135 +msgid "Corsican" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:139 +msgid "Cree" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:143 +msgid "Czech" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:147 +msgid "Church Slavic" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:151 +msgid "Chuvash" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:155 +msgid "Welsh" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:159 +msgid "Danish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:163 +msgid "German" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:167 +msgid "Divehi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:171 +msgid "Dzongkha" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:175 +msgid "E'we" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:179 +msgid "Greek" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:183 +msgid "English" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:187 +msgid "Esperanto" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:191 +msgid "Spanish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:195 +msgid "Estonian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:199 +msgid "Basque" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:202 +msgid "Persian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:206 +msgid "Fulah" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:210 +msgid "Finnish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:214 +msgid "Fijian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:218 +msgid "Faroese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:222 +msgid "French" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:226 +msgid "Frisian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:230 +msgid "Irish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:234 +msgid "Scots" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:238 +msgid "Gallegan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:242 +msgid "Guarani" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:246 +msgid "Gujarati" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:250 +msgid "Manx" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:254 +msgid "Hausa" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:258 +msgid "Hebrew" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:262 +msgid "Hindi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:266 +msgid "Hiri Motu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:270 +msgid "Croatian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:274 +msgid "Haitian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:278 +msgid "Hungarian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:282 +msgid "Armenian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:286 +msgid "Herero" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:290 +msgid "Interlingua" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:294 +msgid "Indonesian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:298 +msgid "Interlingue" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:302 +msgid "Igbo" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:306 +msgid "Sichuan Yi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:310 +msgid "Inupiak" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:314 +msgid "Ido" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:318 +msgid "Icelandic" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:322 +msgid "Italian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:326 +msgid "Inuktitut" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:330 +msgid "Japanese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:334 +msgid "Javanese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:338 +msgid "Georgian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:342 +msgid "Kongo" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:346 +msgid "Kikuyu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:350 +msgid "Kuanyama" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:354 +msgid "Kazakh" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:358 +msgid "Kalaallisut" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:362 +msgid "Khmer" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:366 +msgid "Kannada" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:370 +msgid "Korean" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:374 +msgid "Kanuri" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:378 +msgid "Kashmiri" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:382 +msgid "Kurdish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:386 +msgid "Komi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:390 +msgid "Cornish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:394 +msgid "Kirghiz" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:398 +msgid "Latin" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:402 +msgid "Letzeburgesch" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:406 +msgid "Ganda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:410 +msgid "Limburgish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:414 +msgid "Lingala" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:418 +msgid "Lao" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:422 +msgid "Lithuanian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:426 +msgid "Luba-Katanga" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:430 +msgid "Latvian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:434 +msgid "Malagasy" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:438 +msgid "Marshall" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:442 +msgid "Maori" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:446 +msgid "Macedonian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:450 +msgid "Malayalam" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:454 +msgid "Mongolian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:458 +msgid "Moldavian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:462 +msgid "Marathi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:466 +msgid "Malay" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:470 +msgid "Maltese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:474 +msgid "Burmese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:482 +msgid "Norwegian Bokmaal" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:486 +msgid "Ndebele, North" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:490 +msgid "Nepali" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:494 +msgid "Ndonga" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:498 +msgid "Dutch" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:502 +msgid "Norwegian Nynorsk" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:506 +msgid "Norwegian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:510 +msgid "Ndebele, South" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:514 +msgid "Navajo" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:518 +msgid "Chichewa" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:522 +msgid "Occitan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:526 +msgid "Ojibwa" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:530 +msgid "(Afan) Oromo" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:534 +msgid "Oriya" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:538 +msgid "Ossetian; Ossetic" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:542 +msgid "Panjabi; Punjabi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:546 +msgid "Pali" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:550 +msgid "Polish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:554 +msgid "Pashto, Pushto" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:558 +msgid "Portuguese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:562 +msgid "Quechua" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:566 +msgid "Rhaeto-Romance" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:570 +msgid "Rundi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:574 +msgid "Romanian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:578 +msgid "Russian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:582 +msgid "Kinyarwanda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:586 +msgid "Sanskrit" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:590 +msgid "Sardinian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:594 +msgid "Sindhi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:598 +msgid "Northern Sami" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:602 +msgid "Sango; Sangro" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:606 +msgid "Sinhalese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:610 +msgid "Slovak" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:614 +msgid "Slovenian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:618 +msgid "Samoan" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:622 +msgid "Shona" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:626 +msgid "Somali" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:630 +msgid "Albanian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:634 +msgid "Serbian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:638 +msgid "Swati; Siswati" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:642 +msgid "Sesotho; Sotho, Southern" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:646 +msgid "Sundanese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:650 +msgid "Swedish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:654 +msgid "Swahili" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:658 +msgid "Tamil" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:662 +msgid "Telugu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:666 +msgid "Tajik" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:670 +msgid "Thai" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:674 +msgid "Tigrinya" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:678 +msgid "Turkmen" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:682 +msgid "Tagalog" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:686 +msgid "Tswana; Setswana" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:690 +msgid "Tonga (?)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:694 +msgid "Turkish" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:698 +msgid "Tsonga" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:703 +msgid "Tatar" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:707 +msgid "Twi" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:711 +msgid "Tahitian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:715 +msgid "Uighur" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:719 +msgid "Ukrainian" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:723 +msgid "Urdu" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:727 +msgid "Uzbek" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:731 +msgid "Venda" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:735 +msgid "Vietnamese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:739 +msgid "Volapuk; Volapuk" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:743 +msgid "Walloon" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:747 +msgid "Wolof" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:751 +msgid "Xhosa" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:755 +msgid "Yiddish (formerly ji)" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:759 +msgid "Yoruba" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:763 +msgid "Zhuang" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:767 +msgid "Chinese" +msgstr "" + +#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:771 +msgid "Zulu" +msgstr "" diff --git a/Scripts/Modules/Locale/Modules/Directories/directories.sh b/Scripts/Modules/Locale/Modules/Directories/directories.sh new file mode 100755 index 0000000..6ba3131 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Directories/directories.sh @@ -0,0 +1,85 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Make a list of all the supported files inside the directory provided +# as argument in the command-line. They it passed each file found to +# files module, where they are processed one by one. +function directories { + + local FILES='' + + # Sanitate non-option arguments to be sure they match the + # directory conventions established by centos-art.sh script + # against source directory locations in the working copy. + local DIRECTORY=$(tcar_checkRepoDirSource ${1}) + + # Define regular expression used by locale module to determine the + # file extension that it can retrieve translatable strings from, + # when a directory as argument is provided in the command-line. + # + # Don't include file extensions for script files here. + # + # Scripts files shouldn't be localized when a directory has been + # passed argument in the command-line because when we are + # processing directories, each file inside it is processed + # individually. For example, modules might involve several script + # files but they should have only one PO file for all the files + # they are made of. Using directory processing would create one + # PO file for each script file in the directory and that is what + # should not happen. For this reason don't include any file + # extension related to script files here. + # + # Don't include file extensions for asciidoc files here. + # + # Asciidoc documents need configuration files in order to be + # localized in coordination with render module. If you list + # asciidoc documents here, the configuration files won't be read + # and it will be localized in a way that may or may not match the + # way it is produced through render module. + local LOCALE_SUPPORTED_FILES='.+/.+\.(svgz|svg)$' + + # Build list of supported files which locale module will extract + # translatable strings from. + if [[ ${LOCALE_FLAG_RECURSIVE} == 'true' ]];then + FILES=$(tcar_getFilesList ${DIRECTORY} \ + --type=f --pattern="${LOCALE_SUPPORTED_FILES}" \ + | egrep "${TCAR_FLAG_FILTER}") + else + FILES=$(tcar_getFilesList ${DIRECTORY} \ + --mindepth=1 --maxdepth=1 --type=f \ + --pattern="${LOCALE_SUPPORTED_FILES}" \ + | egrep "${TCAR_FLAG_FILTER}") + fi + + # Verify found files. In case no file is found, print an error + # message describing it. + tcar_checkFiles -ef ${FILES} + + # Execute files module to process files found, one by one. + for FILE in ${FILES};do + tcar_setModuleEnvironment -m 'files' -t 'sibling' -g ${FILE} + done + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Delete/delete.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Delete/delete.sh new file mode 100755 index 0000000..87bdaf4 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Delete/delete.sh @@ -0,0 +1,40 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize delete actions related to localization files. +function delete { + + tcar_checkFiles -ef "${PO_FILE}" + + tcar_printMessage "${PO_FILE}" --as-deleting-line + + /bin/rm ${PO_FILE} + + if [[ -f ${MO_FILE} ]];then + tcar_printMessage "${MO_FILE}" --as-deleting-line + /bin/rm ${MO_FILE} + fi + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Edit/edit.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Edit/edit.sh new file mode 100755 index 0000000..a2ace16 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Edit/edit.sh @@ -0,0 +1,35 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize edition actions related to localization files. +function edit { + + tcar_checkFiles -efi "text/x-po" "${PO_FILE}" + + tcar_printMessage "${PO_FILE}" --as-editing-line + + ${TCAR_USER_EDITOR} ${PO_FILE} + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh new file mode 100755 index 0000000..e2ad6a9 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh @@ -0,0 +1,40 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize update actions related to localization of asciidoc +# files. +function asciidoc { + + tcar_checkFiles -efm "\.asciidoc$" "${RENDER_FROM}" + + local DOCBOOK=$(tcar_getTemporalFile $(basename ${RENDER_FROM})).docbook + + asciidoc_convertAsciidocToDocbook + + update_convertXmlToPot "${DOCBOOK}" "${POT_FILE}" + + update_convertPotToPo "${POT_FILE}" "${PO_FILE}" + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh new file mode 100755 index 0000000..d0af4a7 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh @@ -0,0 +1,49 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Convert asciicoc files into docbook files using asciidoc command's +# default (article) doctype. +# +# When docbook files are produced from asciidoc files it is necessary +# to consider the format in which they are generated (e.g., whether it +# is an article or a manpage). This information is stored in +# render.conf file, in the same directory of asciidoc file. Both +# locale and render modules need to produce the same docbook output in +# order to produce html and manpages well localized. Otherwise, there +# might be content that would be not localized because the same +# content is produced using a different markup (e.g., you localize +# asciidoc documents as articles but then render them as manpage). To +# solve this issue, it is necessary that both locale and render module +# use the same configuration file when producing localization and +# final content. This way, both locale and render produce content +# using the same information. +function asciidoc_convertAsciidocToDocbook { + + tcar_checkFiles -m '^(manpage|article|book)$' "${RENDER_FLOW}" + + /usr/bin/asciidoc --backend="docbook" --doctype="${RENDER_FLOW}" \ + --out-file=${DOCBOOK} ${RENDER_FROM} + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh new file mode 100755 index 0000000..3f41866 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh @@ -0,0 +1,104 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Process configuration files provided as argument in the command-line +# to locale command. Basically, it redefines values previously set in +# the files-related function using the configuration file provided in +# the command-line. +function conf { + + local CONFIGURATION=${RENDER_FROM} + + # Use arrays to store section names. This make possible to make + # use of post-rendition and last-rendition concepts. Otherwise it + # would be difficult to predict information about sections inside + # deeper environments. + local -a SECTIONS + for SECTION in $(tcar_getConfigSectionNames "${CONFIGURATION}" \ + | egrep ${TCAR_FLAG_FILTER});do + SECTIONS[++${#SECTIONS[*]}]="${SECTION}" + done + + # Verify the configuration file has one section entry at least. + if [[ ${#SECTIONS[*]} -eq 0 ]];then + tcar_printMessage "`eval_gettext "No section definition was found in \\\$CONFIGURATION."`" --as-error-line + fi + + local COUNTER=0 + + while [[ ${COUNTER} -lt ${#SECTIONS[*]} ]];do + + local SECTION=${SECTIONS[${COUNTER}]} + + local RENDER_TYPE=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-type") + if [[ -z ${RENDER_TYPE} ]];then + tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-type set in."`" --as-error-line + fi + + local RENDER_FROM=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-from") + if [[ -z ${RENDER_FROM} ]];then + tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-from set in."`" --as-error-line + fi + if [[ ! ${RENDER_FROM} =~ "^/" ]];then + RENDER_FROM=$(dirname ${CONFIGURATION})/${RENDER_FROM} + fi + + local RENDER_FLOW=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-flow") + if [[ -z ${RENDER_FLOW} ]];then + tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-flow set in."`" --as-error-line + fi + + local LOCALE_FROM=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "locale-from") + if [[ -z ${LOCALE_FROM} ]];then + tcar_printMessage "${CONFIGURATION} `gettext "hasn't locale-from set in."`" --as-error-line + fi + if [[ ! ${LOCALE_FROM} =~ "^/" ]];then + LOCALE_FROM=$(dirname ${CONFIGURATION})/${LOCALE_FROM} + fi + + # Re-define package name written in POT and PO files. This is + # the name of the initialization file you provided as argument + # to the command line to provide localization for. + local PACKAGE_NAME=$(basename ${RENDER_FROM}) + + # Re-define absolute path to portable and machine objects. + local POT_FILE=$(tcar_getTemporalFile "${PACKAGE_NAME}.pot") + local PO_FILE=${LOCALE_FROM} + local MO_FILE=$(dirname ${RENDER_FROM})/Locales/${TCAR_SCRIPT_LANG_LC}/LC_MESSAGES/${PACKAGE_NAME}.mo + + # Execute type-specific module for processing files. + tcar_setModuleEnvironment -m "${RENDER_TYPE}" -t "sibling" + + # Increment section's counter. + COUNTER=$(( ${COUNTER} + 1 )) + + done + + # Reset array variables and their counters to avoid undesired + # concatenations between configuration files. + unset COUNTER + unset SECTIONS + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh new file mode 100755 index 0000000..a4f2b61 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh @@ -0,0 +1,86 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Retrieve translatable strings from shell scripts files. Normally, +# this function takes the file provided as argument in the +# command-line and creates a list of all files that share the same +# file extension in the same directory structure and retrieve +# translation messages from it. Translation messages are stored in a +# PO file for each supported language under the Locales directory. In +# case the --recursive option is also provided, the list of files to +# process is build recursively. +function sh { + + # Verify existence and type of file being processed. + tcar_checkFiles -efi 'application/x-shellscript' "${RENDER_FROM}" + + local FILES='' + local DIRECTORY=$(dirname ${RENDER_FROM}) + + # Build list of all script files that xgettext will look for + # translatable strings inside. By default only scripts in the + # current directory will be looked out. + if [[ ${LOCALE_FLAG_RECURSIVE} == 'true' ]];then + FILES=$(tcar_getFilesList "${DIRECTORY}" \ + --type=f --pattern='.+\.sh$') + else + FILES=$(tcar_getFilesList "${DIRECTORY}" \ + --mindepth=1 --maxdepth=1 --type=f \ + --pattern='.+\.sh$') + fi + + # Verify found files existence and type before processing them. + tcar_checkFiles -efi 'application/x-shellscript' "${FILES}" + + # Retrieve translatable strings from shell script files and create + # the portable object template (.pot) from them. + xgettext --output=${POT_FILE} --width=70 \ + --package-name=${PACKAGE_NAME} \ + --package-version=${PACKAGE_VERSION} \ + --msgid-bugs-address="centos-l10n-${TCAR_SCRIPT_LANG_LL}@centos.org.cu" \ + --sort-by-file ${FILES} + + # When there is not any translatable string to retrieve from file, + # the POT file is not created. Be aware of this when retrieving + # translatable strings from several files (e.g., you are + # processing a directory full of svgz files, but some of them have + # no translatable string inside). + if [[ ! -f ${POT_FILE} ]];then + return + fi + + # Verify, initialize or update portable objects from portable + # object templates. + update_convertPotToPo "${POT_FILE}" "${PO_FILE}" + + # At this point some changes might be realized inside the PO file, + # so we need to update the related MO file based on recently + # updated PO files here in order for `centos-art.sh' script to + # print out the most up to date revision of localized messages. + # Notice that this is required only if we were localizing shell + # scripts because xml-based files don't need the MO files. + update_convertPoToMo + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh new file mode 100755 index 0000000..d688bee --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh @@ -0,0 +1,38 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize localization update actions of svg files inside the +# repository. +function svg { + + local SVG_INSTANCE=$(tcar_getTemporalFile $(basename ${RENDER_FROM})) + + svg_createSvgInstance + + update_convertXmlToPot "${SVG_INSTANCE}" "${POT_FILE}" + + update_convertPotToPo "${POT_FILE}" "${PO_FILE}" + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh new file mode 100755 index 0000000..491b4ec --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh @@ -0,0 +1,36 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Verify whether the file being processed is compressed or not, then +# uses that information to read the file and create an instance of it. +function svg_createSvgInstance { + + if [[ $(/usr/bin/file -b -i ${RENDER_FROM}) =~ '^application/x-gzip$' ]];then + /bin/zcat ${RENDER_FROM} > ${SVG_INSTANCE} + else + /bin/cat ${RENDER_FROM} > ${SVG_INSTANCE} + fi + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh new file mode 100755 index 0000000..146e6fc --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh @@ -0,0 +1,32 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Provide an interface for executing svg module. It helps to process +# svgz files using svg module. +function svgz { + + tcar_setModuleEnvironment -m 'svg' -t 'sibling' + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update.sh new file mode 100755 index 0000000..373f3ba --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update.sh @@ -0,0 +1,31 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize update actions related to localization. +function update { + + tcar_setModuleEnvironment -m "${RENDER_TYPE}" -t "child" + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPoToMo.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPoToMo.sh new file mode 100755 index 0000000..afac585 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPoToMo.sh @@ -0,0 +1,41 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Convert portable object (.po) files to machine object (.mo) files. +function update_convertPoToMo { + + # Print action message. + tcar_printMessage "${MO_FILE}" --as-creating-line + + # Verify absolute path to machine object directory, if it doesn't + # exist create it. + if [[ ! -d $(dirname ${MO_FILE}) ]];then + mkdir -p $(dirname ${MO_FILE}) + fi + + # Create machine object from portable object. + msgfmt --check ${PO_FILE} --output-file=${MO_FILE} + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPotToPo.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPotToPo.sh new file mode 100755 index 0000000..5afe8f4 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertPotToPo.sh @@ -0,0 +1,67 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# This function takes a portable object template (.pot) and creates a +# language-specific portable object (.po) for it. +function update_convertPotToPo { + + local POT_FILE="${1}" + local PO_FILE="${2}" + + # Verify the portable object template. The portable object + # template is used to create the portable object. We cannot + # continue without it. + tcar_checkFiles -ef ${POT_FILE} + + # Print action message. + tcar_printMessage "${PO_FILE}" --as-creating-line + + # Verify existence of portable object. The portable object is the + # file translators edit in order to make translation works. + if [[ -f ${PO_FILE} ]];then + + # Update portable object merging both portable object and + # portable object template. + msgmerge --output-file="${PO_FILE}" "${PO_FILE}" "${POT_FILE}" --quiet + + else + + # Create the PO's parent directory if it doesn't exist. + if [[ ! -d $(dirname ${PO_FILE}) ]];then + mkdir -p $(dirname ${PO_FILE}) + fi + + # Initiate portable object using portable object template. + # Do not print msginit sterr output, use centos-art action + # message instead. + msginit -i ${POT_FILE} -o ${PO_FILE} --width=70 \ + --no-translator > /dev/null 2>&1 + + fi + + # Sanitate metadata inside the PO file. + update_setPoMetadata "${PO_FILE}" + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh new file mode 100755 index 0000000..3d1d53a --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh @@ -0,0 +1,46 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Take an XML file and create a portable object template (.pot) for +# it. +function update_convertXmlToPot { + + local XML_FILE=${1} + local POT_FILE=${2} + + # Move to final location before processing source file in order + # for relative calls (e.g., image files) inside the source files + # can be found by xml2po and no warning be printed from it. + if [[ -d ${RENDER_TARGET} ]];then + pushd ${RENDER_TARGET} > /dev/null + fi + + cat ${XML_FILE} | xml2po -a -l ${TCAR_SCRIPT_LANG_LC} - \ + | msgcat --output-file=${POT_FILE} --width=70 --no-location - + + if [[ -d ${RENDER_TARGET} ]];then + popd > /dev/null + fi +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getCountryName.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getCountryName.sh new file mode 100755 index 0000000..4ab68aa --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getCountryName.sh @@ -0,0 +1,755 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Implement country names based on ISO-3166. +function update_getCountryName { + + local COUNTRYNAME="`gettext "Unknown"`" + + case ${CLI_LANG_CC} in + + 'AD' ) + COUNTRYNAME="`gettext "Andorra"`" + ;; + 'AE' ) + COUNTRYNAME="`gettext "United Arab Emirates"`" + ;; + 'AF' ) + COUNTRYNAME="`gettext "Afghanistan"`" + ;; + 'AG' ) + COUNTRYNAME="`gettext "Antigua and Barbuda"`" + ;; + 'AI' ) + COUNTRYNAME="`gettext "Anguilla"`" + ;; + 'AL' ) + COUNTRYNAME="`gettext "Albania"`" + ;; + 'AM' ) + COUNTRYNAME="`gettext "Armenia"`" + ;; + 'AN' ) + COUNTRYNAME="`gettext "Netherlands Antilles"`" + ;; + 'AO' ) + COUNTRYNAME="`gettext "Angola"`" + ;; + 'AQ' ) + COUNTRYNAME="`gettext "Antarctica"`" + ;; + 'AR' ) + COUNTRYNAME="`gettext "Argentina"`" + ;; + 'AS' ) + COUNTRYNAME="`gettext "Samoa (American)"`" + ;; + 'AT' ) + COUNTRYNAME="`gettext "Austria"`" + ;; + 'AU' ) + COUNTRYNAME="`gettext "Australia"`" + ;; + 'AW' ) + COUNTRYNAME="`gettext "Aruba"`" + ;; + 'AZ' ) + COUNTRYNAME="`gettext "Azerbaijan"`" + ;; + 'BA' ) + COUNTRYNAME="`gettext "Bosnia and Herzegovina"`" + ;; + 'BB' ) + COUNTRYNAME="`gettext "Barbados"`" + ;; + 'BD' ) + COUNTRYNAME="`gettext "Bangladesh"`" + ;; + 'BE' ) + COUNTRYNAME="`gettext "Belgium"`" + ;; + 'BF' ) + COUNTRYNAME="`gettext "Burkina Faso"`" + ;; + 'BG' ) + COUNTRYNAME="`gettext "Bulgaria"`" + ;; + 'BH' ) + COUNTRYNAME="`gettext "Bahrain"`" + ;; + 'BI' ) + COUNTRYNAME="`gettext "Burundi"`" + ;; + 'BJ' ) + COUNTRYNAME="`gettext "Benin"`" + ;; + 'BM' ) + COUNTRYNAME="`gettext "Bermuda"`" + ;; + 'BN' ) + COUNTRYNAME="`gettext "Brunei"`" + ;; + 'BO' ) + COUNTRYNAME="`gettext "Bolivia"`" + ;; + 'BR' ) + COUNTRYNAME="`gettext "Brazil"`" + ;; + 'BS' ) + COUNTRYNAME="`gettext "Bahamas"`" + ;; + 'BT' ) + COUNTRYNAME="`gettext "Bhutan"`" + ;; + 'BV' ) + COUNTRYNAME="`gettext "Bouvet Island"`" + ;; + 'BW' ) + COUNTRYNAME="`gettext "Botswana"`" + ;; + 'BY' ) + COUNTRYNAME="`gettext "Belarus"`" + ;; + 'BZ' ) + COUNTRYNAME="`gettext "Belize"`" + ;; + 'CA' ) + COUNTRYNAME="`gettext "Canada"`" + ;; + 'CC' ) + COUNTRYNAME="`gettext "Cocos (Keeling) Islands"`" + ;; + 'CD' ) + COUNTRYNAME="`gettext "Congo (Dem. Rep.)"`" + ;; + 'CF' ) + COUNTRYNAME="`gettext "Central African Rep."`" + ;; + 'CG' ) + COUNTRYNAME="`gettext "Congo (Rep.)"`" + ;; + 'CH' ) + COUNTRYNAME="`gettext "Switzerland"`" + ;; + 'CI' ) + COUNTRYNAME="`gettext "Co^te d'Ivoire"`" + ;; + 'CK' ) + COUNTRYNAME="`gettext "Cook Islands"`" + ;; + 'CL' ) + COUNTRYNAME="`gettext "Chile"`" + ;; + 'CM' ) + COUNTRYNAME="`gettext "Cameroon"`" + ;; + 'CN' ) + COUNTRYNAME="`gettext "China"`" + ;; + 'CO' ) + COUNTRYNAME="`gettext "Colombia"`" + ;; + 'CR' ) + COUNTRYNAME="`gettext "Costa Rica"`" + ;; + 'CS' ) + COUNTRYNAME="`gettext "Serbia and Montenegro"`" + ;; + 'CU' ) + COUNTRYNAME="`gettext "Cuba"`" + ;; + 'CV' ) + COUNTRYNAME="`gettext "Cape Verde"`" + ;; + 'CX' ) + COUNTRYNAME="`gettext "Christmas Island"`" + ;; + 'CY' ) + COUNTRYNAME="`gettext "Cyprus"`" + ;; + 'CZ' ) + COUNTRYNAME="`gettext "Czech Republic"`" + ;; + 'DE' ) + COUNTRYNAME="`gettext "Germany"`" + ;; + 'DJ' ) + COUNTRYNAME="`gettext "Djibouti"`" + ;; + 'DK' ) + COUNTRYNAME="`gettext "Denmark"`" + ;; + 'DM' ) + COUNTRYNAME="`gettext "Dominica"`" + ;; + 'DO' ) + COUNTRYNAME="`gettext "Dominican Republic"`" + ;; + 'DZ' ) + COUNTRYNAME="`gettext "Algeria"`" + ;; + 'EC' ) + COUNTRYNAME="`gettext "Ecuador"`" + ;; + 'EE' ) + COUNTRYNAME="`gettext "Estonia"`" + ;; + 'EG' ) + COUNTRYNAME="`gettext "Egypt"`" + ;; + 'EH' ) + COUNTRYNAME="`gettext "Western Sahara"`" + ;; + 'ER' ) + COUNTRYNAME="`gettext "Eritrea"`" + ;; + 'ES' ) + COUNTRYNAME="`gettext "Spain"`" + ;; + 'ET' ) + COUNTRYNAME="`gettext "Ethiopia"`" + ;; + 'FI' ) + COUNTRYNAME="`gettext "Finland"`" + ;; + 'FJ' ) + COUNTRYNAME="`gettext "Fiji"`" + ;; + 'FK' ) + COUNTRYNAME="`gettext "Falkland Islands"`" + ;; + 'FM' ) + COUNTRYNAME="`gettext "Micronesia"`" + ;; + 'FO' ) + COUNTRYNAME="`gettext "Faeroe Islands"`" + ;; + 'FR' ) + COUNTRYNAME="`gettext "France"`" + ;; + 'GA' ) + COUNTRYNAME="`gettext "Gabon"`" + ;; + 'GB' ) + COUNTRYNAME="`gettext "Britain (UK)"`" + ;; + 'GD' ) + COUNTRYNAME="`gettext "Grenada"`" + ;; + 'GE' ) + COUNTRYNAME="`gettext "Georgia"`" + ;; + 'GF' ) + COUNTRYNAME="`gettext "French Guiana"`" + ;; + 'GH' ) + COUNTRYNAME="`gettext "Ghana"`" + ;; + 'GI' ) + COUNTRYNAME="`gettext "Gibraltar"`" + ;; + 'GL' ) + COUNTRYNAME="`gettext "Greenland"`" + ;; + 'GM' ) + COUNTRYNAME="`gettext "Gambia"`" + ;; + 'GN' ) + COUNTRYNAME="`gettext "Guinea"`" + ;; + 'GP' ) + COUNTRYNAME="`gettext "Guadeloupe"`" + ;; + 'GQ' ) + COUNTRYNAME="`gettext "Equatorial Guinea"`" + ;; + 'GR' ) + COUNTRYNAME="`gettext "Greece"`" + ;; + 'GS' ) + COUNTRYNAME="`gettext "South Georgia and the South Sandwich Islands"`" + ;; + 'GT' ) + COUNTRYNAME="`gettext "Guatemala"`" + ;; + 'GU' ) + COUNTRYNAME="`gettext "Guam"`" + ;; + 'GW' ) + COUNTRYNAME="`gettext "Guinea-Bissau"`" + ;; + 'GY' ) + COUNTRYNAME="`gettext "Guyana"`" + ;; + 'HK' ) + COUNTRYNAME="`gettext "Hong Kong"`" + ;; + 'HM' ) + COUNTRYNAME="`gettext "Heard Island and McDonald Islands"`" + ;; + 'HN' ) + COUNTRYNAME="`gettext "Honduras"`" + ;; + 'HR' ) + COUNTRYNAME="`gettext "Croatia"`" + ;; + 'HT' ) + COUNTRYNAME="`gettext "Haiti"`" + ;; + 'HU' ) + COUNTRYNAME="`gettext "Hungary"`" + ;; + 'ID' ) + COUNTRYNAME="`gettext "Indonesia"`" + ;; + 'IE' ) + COUNTRYNAME="`gettext "Ireland"`" + ;; + 'IL' ) + COUNTRYNAME="`gettext "Israel"`" + ;; + 'IN' ) + COUNTRYNAME="`gettext "India"`" + ;; + 'IO' ) + COUNTRYNAME="`gettext "British Indian Ocean Territory"`" + ;; + 'IQ' ) + COUNTRYNAME="`gettext "Iraq"`" + ;; + 'IR' ) + COUNTRYNAME="`gettext "Iran"`" + ;; + 'IS' ) + COUNTRYNAME="`gettext "Iceland"`" + ;; + 'IT' ) + COUNTRYNAME="`gettext "Italy"`" + ;; + 'JM' ) + COUNTRYNAME="`gettext "Jamaica"`" + ;; + 'JO' ) + COUNTRYNAME="`gettext "Jordan"`" + ;; + 'JP' ) + COUNTRYNAME="`gettext "Japan"`" + ;; + 'KE' ) + COUNTRYNAME="`gettext "Kenya"`" + ;; + 'KG' ) + COUNTRYNAME="`gettext "Kyrgyzstan"`" + ;; + 'KH' ) + COUNTRYNAME="`gettext "Cambodia"`" + ;; + 'KI' ) + COUNTRYNAME="`gettext "Kiribati"`" + ;; + 'KM' ) + COUNTRYNAME="`gettext "Comoros"`" + ;; + 'KN' ) + COUNTRYNAME="`gettext "St Kitts and Nevis"`" + ;; + 'KP' ) + COUNTRYNAME="`gettext "Korea (North)"`" + ;; + 'KR' ) + COUNTRYNAME="`gettext "Korea (South)"`" + ;; + 'KW' ) + COUNTRYNAME="`gettext "Kuwait"`" + ;; + 'KY' ) + COUNTRYNAME="`gettext "Cayman Islands"`" + ;; + 'KZ' ) + COUNTRYNAME="`gettext "Kazakhstan"`" + ;; + 'LA' ) + COUNTRYNAME="`gettext "Laos"`" + ;; + 'LB' ) + COUNTRYNAME="`gettext "Lebanon"`" + ;; + 'LC' ) + COUNTRYNAME="`gettext "St Lucia"`" + ;; + 'LI' ) + COUNTRYNAME="`gettext "Liechtenstein"`" + ;; + 'LK' ) + COUNTRYNAME="`gettext "Sri Lanka"`" + ;; + 'LR' ) + COUNTRYNAME="`gettext "Liberia"`" + ;; + 'LS' ) + COUNTRYNAME="`gettext "Lesotho"`" + ;; + 'LT' ) + COUNTRYNAME="`gettext "Lithuania"`" + ;; + 'LU' ) + COUNTRYNAME="`gettext "Luxembourg"`" + ;; + 'LV' ) + COUNTRYNAME="`gettext "Latvia"`" + ;; + 'LY' ) + COUNTRYNAME="`gettext "Libya"`" + ;; + 'MA' ) + COUNTRYNAME="`gettext "Morocco"`" + ;; + 'MC' ) + COUNTRYNAME="`gettext "Monaco"`" + ;; + 'MD' ) + COUNTRYNAME="`gettext "Moldova"`" + ;; + 'MG' ) + COUNTRYNAME="`gettext "Madagascar"`" + ;; + 'MH' ) + COUNTRYNAME="`gettext "Marshall Islands"`" + ;; + 'MK' ) + COUNTRYNAME="`gettext "Macedonia"`" + ;; + 'ML' ) + COUNTRYNAME="`gettext "Mali"`" + ;; + 'MM' ) + COUNTRYNAME="`gettext "Myanmar (Burma)"`" + ;; + 'MN' ) + COUNTRYNAME="`gettext "Mongolia"`" + ;; + 'MO' ) + COUNTRYNAME="`gettext "Macao"`" + ;; + 'MP' ) + COUNTRYNAME="`gettext "Northern Mariana Islands"`" + ;; + 'MQ' ) + COUNTRYNAME="`gettext "Martinique"`" + ;; + 'MR' ) + COUNTRYNAME="`gettext "Mauritania"`" + ;; + 'MS' ) + COUNTRYNAME="`gettext "Montserrat"`" + ;; + 'MT' ) + COUNTRYNAME="`gettext "Malta"`" + ;; + 'MU' ) + COUNTRYNAME="`gettext "Mauritius"`" + ;; + 'MV' ) + COUNTRYNAME="`gettext "Maldives"`" + ;; + 'MW' ) + COUNTRYNAME="`gettext "Malawi"`" + ;; + 'MX' ) + COUNTRYNAME="`gettext "Mexico"`" + ;; + 'MY' ) + COUNTRYNAME="`gettext "Malaysia"`" + ;; + 'MZ' ) + COUNTRYNAME="`gettext "Mozambique"`" + ;; + 'NA' ) + COUNTRYNAME="`gettext "Namibia"`" + ;; + 'NC' ) + COUNTRYNAME="`gettext "New Caledonia"`" + ;; + 'NE' ) + COUNTRYNAME="`gettext "Niger"`" + ;; + 'NF' ) + COUNTRYNAME="`gettext "Norfolk Island"`" + ;; + 'NG' ) + COUNTRYNAME="`gettext "Nigeria"`" + ;; + 'NI' ) + COUNTRYNAME="`gettext "Nicaragua"`" + ;; + 'NL' ) + COUNTRYNAME="`gettext "Netherlands"`" + ;; + 'NO' ) + COUNTRYNAME="`gettext "Norway"`" + ;; + 'NP' ) + COUNTRYNAME="`gettext "Nepal"`" + ;; + 'NR' ) + COUNTRYNAME="`gettext "Nauru"`" + ;; + 'NU' ) + COUNTRYNAME="`gettext "Niue"`" + ;; + 'NZ' ) + COUNTRYNAME="`gettext "New Zealand"`" + ;; + 'OM' ) + COUNTRYNAME="`gettext "Oman"`" + ;; + 'PA' ) + COUNTRYNAME="`gettext "Panama"`" + ;; + 'PE' ) + COUNTRYNAME="`gettext "Peru"`" + ;; + 'PF' ) + COUNTRYNAME="`gettext "French Polynesia"`" + ;; + 'PG' ) + COUNTRYNAME="`gettext "Papua New Guinea"`" + ;; + 'PH' ) + COUNTRYNAME="`gettext "Philippines"`" + ;; + 'PK' ) + COUNTRYNAME="`gettext "Pakistan"`" + ;; + 'PL' ) + COUNTRYNAME="`gettext "Poland"`" + ;; + 'PM' ) + COUNTRYNAME="`gettext "St Pierre and Miquelon"`" + ;; + 'PN' ) + COUNTRYNAME="`gettext "Pitcairn"`" + ;; + 'PR' ) + COUNTRYNAME="`gettext "Puerto Rico"`" + ;; + 'PS' ) + COUNTRYNAME="`gettext "Palestine"`" + ;; + 'PT' ) + COUNTRYNAME="`gettext "Portugal"`" + ;; + 'PW' ) + COUNTRYNAME="`gettext "Palau"`" + ;; + 'PY' ) + COUNTRYNAME="`gettext "Paraguay"`" + ;; + 'QA' ) + COUNTRYNAME="`gettext "Qatar"`" + ;; + 'RE' ) + COUNTRYNAME="`gettext "Reunion"`" + ;; + 'RO' ) + COUNTRYNAME="`gettext "Romania"`" + ;; + 'RU' ) + COUNTRYNAME="`gettext "Russia"`" + ;; + 'RW' ) + COUNTRYNAME="`gettext "Rwanda"`" + ;; + 'SA' ) + COUNTRYNAME="`gettext "Saudi Arabia"`" + ;; + 'SB' ) + COUNTRYNAME="`gettext "Solomon Islands"`" + ;; + 'SC' ) + COUNTRYNAME="`gettext "Seychelles"`" + ;; + 'SD' ) + COUNTRYNAME="`gettext "Sudan"`" + ;; + 'SE' ) + COUNTRYNAME="`gettext "Sweden"`" + ;; + 'SG' ) + COUNTRYNAME="`gettext "Singapore"`" + ;; + 'SH' ) + COUNTRYNAME="`gettext "St Helena"`" + ;; + 'SI' ) + COUNTRYNAME="`gettext "Slovenia"`" + ;; + 'SJ' ) + COUNTRYNAME="`gettext "Svalbard and Jan Mayen"`" + ;; + 'SK' ) + COUNTRYNAME="`gettext "Slovakia"`" + ;; + 'SL' ) + COUNTRYNAME="`gettext "Sierra Leone"`" + ;; + 'SM' ) + COUNTRYNAME="`gettext "San Marino"`" + ;; + 'SN' ) + COUNTRYNAME="`gettext "Senegal"`" + ;; + 'SO' ) + COUNTRYNAME="`gettext "Somalia"`" + ;; + 'SR' ) + COUNTRYNAME="`gettext "Suriname"`" + ;; + 'ST' ) + COUNTRYNAME="`gettext "Sao Tome and Principe"`" + ;; + 'SV' ) + COUNTRYNAME="`gettext "El Salvador"`" + ;; + 'SY' ) + COUNTRYNAME="`gettext "Syria"`" + ;; + 'SZ' ) + COUNTRYNAME="`gettext "Swaziland"`" + ;; + 'TC' ) + COUNTRYNAME="`gettext "Turks and Caicos Islands"`" + ;; + 'TD' ) + COUNTRYNAME="`gettext "Chad"`" + ;; + 'TF' ) + COUNTRYNAME="`gettext "French Southern and Antarctic Lands"`" + ;; + 'TG' ) + COUNTRYNAME="`gettext "Togo"`" + ;; + 'TH' ) + COUNTRYNAME="`gettext "Thailand"`" + ;; + 'TJ' ) + COUNTRYNAME="`gettext "Tajikistan"`" + ;; + 'TK' ) + COUNTRYNAME="`gettext "Tokelau"`" + ;; + 'TL' ) + COUNTRYNAME="`gettext "Timor-Leste"`" + ;; + 'TM' ) + COUNTRYNAME="`gettext "Turkmenistan"`" + ;; + 'TN' ) + COUNTRYNAME="`gettext "Tunisia"`" + ;; + 'TO' ) + COUNTRYNAME="`gettext "Tonga"`" + ;; + 'TR' ) + COUNTRYNAME="`gettext "Turkey"`" + ;; + 'TT' ) + COUNTRYNAME="`gettext "Trinidad and Tobago"`" + ;; + 'TV' ) + COUNTRYNAME="`gettext "Tuvalu"`" + ;; + 'TW' ) + COUNTRYNAME="`gettext "Taiwan"`" + ;; + 'TZ' ) + COUNTRYNAME="`gettext "Tanzania"`" + ;; + 'UA' ) + COUNTRYNAME="`gettext "Ukraine"`" + ;; + 'UG' ) + COUNTRYNAME="`gettext "Uganda"`" + ;; + 'UM' ) + COUNTRYNAME="`gettext "US minor outlying islands"`" + ;; + 'US' ) + COUNTRYNAME="`gettext "United States"`" + ;; + 'UY' ) + COUNTRYNAME="`gettext "Uruguay"`" + ;; + 'UZ' ) + COUNTRYNAME="`gettext "Uzbekistan"`" + ;; + 'VA' ) + COUNTRYNAME="`gettext "Vatican City"`" + ;; + 'VC' ) + COUNTRYNAME="`gettext "St Vincent"`" + ;; + 'VE' ) + COUNTRYNAME="`gettext "Venezuela"`" + ;; + 'VG' ) + COUNTRYNAME="`gettext "Virgin Islands (UK)"`" + ;; + 'VI' ) + COUNTRYNAME="`gettext "Virgin Islands (US)"`" + ;; + 'VN' ) + COUNTRYNAME="`gettext "Vietnam"`" + ;; + 'VU' ) + COUNTRYNAME="`gettext "Vanuatu"`" + ;; + 'WF' ) + COUNTRYNAME="`gettext "Wallis and Futuna"`" + ;; + 'WS' ) + COUNTRYNAME="`gettext "Samoa (Western)"`" + ;; + 'YE' ) + COUNTRYNAME="`gettext "Yemen"`" + ;; + 'YT' ) + COUNTRYNAME="`gettext "Mayotte"`" + ;; + 'ZA' ) + COUNTRYNAME="`gettext "South Africa"`" + ;; + 'ZM' ) + COUNTRYNAME="`gettext "Zambia"`" + ;; + 'ZW' ) + COUNTRYNAME="`gettext "Zimbabwe"`" + ;; + + esac + + echo ${COUNTRYNAME} + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getLanguageName.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getLanguageName.sh new file mode 100755 index 0000000..1ea61a1 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_getLanguageName.sh @@ -0,0 +1,777 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Implement language names based on ISO-639. +function update_getLanguageName { + + local LANGNAME="`gettext "Unknown"`" + + case ${TCAR_SCRIPT_LANG_LL} in + + 'aa' ) + LANGNAME="`gettext "Afar"`" + ;; + + 'ab' ) + LANGNAME="`gettext "Abkhazian"`" + ;; + + 'ae' ) + LANGNAME="`gettext "Avestan"`" + ;; + + 'af' ) + LANGNAME="`gettext "Afrikaans"`" + ;; + + 'ak' ) + LANGNAME="`gettext "Akan"`" + ;; + + 'am' ) + LANGNAME="`gettext "Amharic"`" + ;; + + 'an' ) + LANGNAME="`gettext "Aragonese"`" + ;; + + 'ar' ) + LANGNAME="`gettext "Arabic"`" + ;; + + 'as' ) + LANGNAME="`gettext "Assamese"`" + ;; + + 'av' ) + LANGNAME="`gettext "Avaric"`" + ;; + + 'ay' ) + LANGNAME="`gettext "Aymara"`" + ;; + + 'az' ) + LANGNAME="`gettext "Azerbaijani"`" + ;; + + 'ba' ) + LANGNAME="`gettext "Bashkir"`" + ;; + + 'be' ) + LANGNAME="`gettext "Byelorussian"`" + ;; + + 'bg' ) + LANGNAME="`gettext "Bulgarian"`" + ;; + + 'bh' ) + LANGNAME="`gettext "Bihari"`" + ;; + + 'bi' ) + LANGNAME="`gettext "Bislama"`" + ;; + + 'bm' ) + LANGNAME="`gettext "Bambara"`" + ;; + + 'bn' ) + LANGNAME="`gettext "Bengali"`" + ;; + + 'bo' ) + LANGNAME="`gettext "Tibetan"`" + ;; + + 'br' ) + LANGNAME="`gettext "Breton"`" + ;; + + 'bs' ) + LANGNAME="`gettext "Bosnian"`" + ;; + + 'ca' ) + LANGNAME="`gettext "Catalan"`" + ;; + + 'ce' ) + LANGNAME="`gettext "Chechen"`" + ;; + + 'ch' ) + LANGNAME="`gettext "Chamorro"`" + ;; + + 'co' ) + LANGNAME="`gettext "Corsican"`" + ;; + + 'cr' ) + LANGNAME="`gettext "Cree"`" + ;; + + 'cs' ) + LANGNAME="`gettext "Czech"`" + ;; + + 'cu' ) + LANGNAME="`gettext "Church Slavic"`" + ;; + + 'cv' ) + LANGNAME="`gettext "Chuvash"`" + ;; + + 'cy' ) + LANGNAME="`gettext "Welsh"`" + ;; + + 'da' ) + LANGNAME="`gettext "Danish"`" + ;; + + 'de' ) + LANGNAME="`gettext "German"`" + ;; + + 'dv' ) + LANGNAME="`gettext "Divehi"`" + ;; + + 'dz' ) + LANGNAME="`gettext "Dzongkha"`" + ;; + + 'ee' ) + LANGNAME="`gettext "E'we"`" + ;; + + 'el' ) + LANGNAME="`gettext "Greek"`" + ;; + + 'en' ) + LANGNAME="`gettext "English"`" + ;; + + 'eo' ) + LANGNAME="`gettext "Esperanto"`" + ;; + + 'es' ) + LANGNAME="`gettext "Spanish"`" + ;; + + 'et' ) + LANGNAME="`gettext "Estonian"`" + ;; + + 'eu' ) + LANGNAME="`gettext "Basque"`" + ;; + + 'fa' ) + LANGNAME="`gettext "Persian"`" + ;; + + 'ff' ) + LANGNAME="`gettext "Fulah"`" + ;; + + 'fi' ) + LANGNAME="`gettext "Finnish"`" + ;; + + 'fj' ) + LANGNAME="`gettext "Fijian"`" + ;; + + 'fo' ) + LANGNAME="`gettext "Faroese"`" + ;; + + 'fr' ) + LANGNAME="`gettext "French"`" + ;; + + 'fy' ) + LANGNAME="`gettext "Frisian"`" + ;; + + 'ga' ) + LANGNAME="`gettext "Irish"`" + ;; + + 'gd' ) + LANGNAME="`gettext "Scots"`" + ;; + + 'gl' ) + LANGNAME="`gettext "Gallegan"`" + ;; + + 'gn' ) + LANGNAME="`gettext "Guarani"`" + ;; + + 'gu' ) + LANGNAME="`gettext "Gujarati"`" + ;; + + 'gv' ) + LANGNAME="`gettext "Manx"`" + ;; + + 'ha' ) + LANGNAME="`gettext "Hausa"`" + ;; + + 'he' ) + LANGNAME="`gettext "Hebrew"`" + ;; + + 'hi' ) + LANGNAME="`gettext "Hindi"`" + ;; + + 'ho' ) + LANGNAME="`gettext "Hiri Motu"`" + ;; + + 'hr' ) + LANGNAME="`gettext "Croatian"`" + ;; + + 'ht' ) + LANGNAME="`gettext "Haitian"`" + ;; + + 'hu' ) + LANGNAME="`gettext "Hungarian"`" + ;; + + 'hy' ) + LANGNAME="`gettext "Armenian"`" + ;; + + 'hz' ) + LANGNAME="`gettext "Herero"`" + ;; + + 'ia' ) + LANGNAME="`gettext "Interlingua"`" + ;; + + 'id' ) + LANGNAME="`gettext "Indonesian"`" + ;; + + 'ie' ) + LANGNAME="`gettext "Interlingue"`" + ;; + + 'ig' ) + LANGNAME="`gettext "Igbo"`" + ;; + + 'ii' ) + LANGNAME="`gettext "Sichuan Yi"`" + ;; + + 'ik' ) + LANGNAME="`gettext "Inupiak"`" + ;; + + 'io' ) + LANGNAME="`gettext "Ido"`" + ;; + + 'is' ) + LANGNAME="`gettext "Icelandic"`" + ;; + + 'it' ) + LANGNAME="`gettext "Italian"`" + ;; + + 'iu' ) + LANGNAME="`gettext "Inuktitut"`" + ;; + + 'ja' ) + LANGNAME="`gettext "Japanese"`" + ;; + + 'jv' ) + LANGNAME="`gettext "Javanese"`" + ;; + + 'ka' ) + LANGNAME="`gettext "Georgian"`" + ;; + + 'kg' ) + LANGNAME="`gettext "Kongo"`" + ;; + + 'ki' ) + LANGNAME="`gettext "Kikuyu"`" + ;; + + 'kj' ) + LANGNAME="`gettext "Kuanyama"`" + ;; + + 'kk' ) + LANGNAME="`gettext "Kazakh"`" + ;; + + 'kl' ) + LANGNAME="`gettext "Kalaallisut"`" + ;; + + 'km' ) + LANGNAME="`gettext "Khmer"`" + ;; + + 'kn' ) + LANGNAME="`gettext "Kannada"`" + ;; + + 'ko' ) + LANGNAME="`gettext "Korean"`" + ;; + + 'kr' ) + LANGNAME="`gettext "Kanuri"`" + ;; + + 'ks' ) + LANGNAME="`gettext "Kashmiri"`" + ;; + + 'ku' ) + LANGNAME="`gettext "Kurdish"`" + ;; + + 'kv' ) + LANGNAME="`gettext "Komi"`" + ;; + + 'kw' ) + LANGNAME="`gettext "Cornish"`" + ;; + + 'ky' ) + LANGNAME="`gettext "Kirghiz"`" + ;; + + 'la' ) + LANGNAME="`gettext "Latin"`" + ;; + + 'lb' ) + LANGNAME="`gettext "Letzeburgesch"`" + ;; + + 'lg' ) + LANGNAME="`gettext "Ganda"`" + ;; + + 'li' ) + LANGNAME="`gettext "Limburgish"`" + ;; + + 'ln' ) + LANGNAME="`gettext "Lingala"`" + ;; + + 'lo' ) + LANGNAME="`gettext "Lao"`" + ;; + + 'lt' ) + LANGNAME="`gettext "Lithuanian"`" + ;; + + 'lu' ) + LANGNAME="`gettext "Luba-Katanga"`" + ;; + + 'lv' ) + LANGNAME="`gettext "Latvian"`" + ;; + + 'mg' ) + LANGNAME="`gettext "Malagasy"`" + ;; + + 'mh' ) + LANGNAME="`gettext "Marshall"`" + ;; + + 'mi' ) + LANGNAME="`gettext "Maori"`" + ;; + + 'mk' ) + LANGNAME="`gettext "Macedonian"`" + ;; + + 'ml' ) + LANGNAME="`gettext "Malayalam"`" + ;; + + 'mn' ) + LANGNAME="`gettext "Mongolian"`" + ;; + + 'mo' ) + LANGNAME="`gettext "Moldavian"`" + ;; + + 'mr' ) + LANGNAME="`gettext "Marathi"`" + ;; + + 'ms' ) + LANGNAME="`gettext "Malay"`" + ;; + + 'mt' ) + LANGNAME="`gettext "Maltese"`" + ;; + + 'my' ) + LANGNAME="`gettext "Burmese"`" + ;; + + 'na' ) + LANGNAME="`gettext "Nauru"`" + ;; + + 'nb' ) + LANGNAME="`gettext "Norwegian Bokmaal"`" + ;; + + 'nd' ) + LANGNAME="`gettext "Ndebele, North"`" + ;; + + 'ne' ) + LANGNAME="`gettext "Nepali"`" + ;; + + 'ng' ) + LANGNAME="`gettext "Ndonga"`" + ;; + + 'nl' ) + LANGNAME="`gettext "Dutch"`" + ;; + + 'nn' ) + LANGNAME="`gettext "Norwegian Nynorsk"`" + ;; + + 'no' ) + LANGNAME="`gettext "Norwegian"`" + ;; + + 'nr' ) + LANGNAME="`gettext "Ndebele, South"`" + ;; + + 'nv' ) + LANGNAME="`gettext "Navajo"`" + ;; + + 'ny' ) + LANGNAME="`gettext "Chichewa"`" + ;; + + 'oc' ) + LANGNAME="`gettext "Occitan"`" + ;; + + 'oj' ) + LANGNAME="`gettext "Ojibwa"`" + ;; + + 'om' ) + LANGNAME="`gettext "(Afan) Oromo"`" + ;; + + 'or' ) + LANGNAME="`gettext "Oriya"`" + ;; + + 'os' ) + LANGNAME="`gettext "Ossetian; Ossetic"`" + ;; + + 'pa' ) + LANGNAME="`gettext "Panjabi; Punjabi"`" + ;; + + 'pi' ) + LANGNAME="`gettext "Pali"`" + ;; + + 'pl' ) + LANGNAME="`gettext "Polish"`" + ;; + + 'ps' ) + LANGNAME="`gettext "Pashto, Pushto"`" + ;; + + 'pt' ) + LANGNAME="`gettext "Portuguese"`" + ;; + + 'qu' ) + LANGNAME="`gettext "Quechua"`" + ;; + + 'rm' ) + LANGNAME="`gettext "Rhaeto-Romance"`" + ;; + + 'rn' ) + LANGNAME="`gettext "Rundi"`" + ;; + + 'ro' ) + LANGNAME="`gettext "Romanian"`" + ;; + + 'ru' ) + LANGNAME="`gettext "Russian"`" + ;; + + 'rw' ) + LANGNAME="`gettext "Kinyarwanda"`" + ;; + + 'sa' ) + LANGNAME="`gettext "Sanskrit"`" + ;; + + 'sc' ) + LANGNAME="`gettext "Sardinian"`" + ;; + + 'sd' ) + LANGNAME="`gettext "Sindhi"`" + ;; + + 'se' ) + LANGNAME="`gettext "Northern Sami"`" + ;; + + 'sg' ) + LANGNAME="`gettext "Sango; Sangro"`" + ;; + + 'si' ) + LANGNAME="`gettext "Sinhalese"`" + ;; + + 'sk' ) + LANGNAME="`gettext "Slovak"`" + ;; + + 'sl' ) + LANGNAME="`gettext "Slovenian"`" + ;; + + 'sm' ) + LANGNAME="`gettext "Samoan"`" + ;; + + 'sn' ) + LANGNAME="`gettext "Shona"`" + ;; + + 'so' ) + LANGNAME="`gettext "Somali"`" + ;; + + 'sq' ) + LANGNAME="`gettext "Albanian"`" + ;; + + 'sr' ) + LANGNAME="`gettext "Serbian"`" + ;; + + 'ss' ) + LANGNAME="`gettext "Swati; Siswati"`" + ;; + + 'st' ) + LANGNAME="`gettext "Sesotho; Sotho, Southern"`" + ;; + + 'su' ) + LANGNAME="`gettext "Sundanese"`" + ;; + + 'sv' ) + LANGNAME="`gettext "Swedish"`" + ;; + + 'sw' ) + LANGNAME="`gettext "Swahili"`" + ;; + + 'ta' ) + LANGNAME="`gettext "Tamil"`" + ;; + + 'te' ) + LANGNAME="`gettext "Telugu"`" + ;; + + 'tg' ) + LANGNAME="`gettext "Tajik"`" + ;; + + 'th' ) + LANGNAME="`gettext "Thai"`" + ;; + + 'ti' ) + LANGNAME="`gettext "Tigrinya"`" + ;; + + 'tk' ) + LANGNAME="`gettext "Turkmen"`" + ;; + + 'tl' ) + LANGNAME="`gettext "Tagalog"`" + ;; + + 'tn' ) + LANGNAME="`gettext "Tswana; Setswana"`" + ;; + + 'to' ) + LANGNAME="`gettext "Tonga (?)"`" + ;; + + 'tr' ) + LANGNAME="`gettext "Turkish"`" + ;; + + 'ts' ) + LANGNAME="`gettext "Tsonga"`" + ;; + + 'tt' ) + LANGNAME="`gettext "Tatar"`" + ;; + + 'tw' ) + LANGNAME="`gettext "Twi"`" + ;; + + 'ty' ) + LANGNAME="`gettext "Tahitian"`" + ;; + + 'ug' ) + LANGNAME="`gettext "Uighur"`" + ;; + + 'uk' ) + LANGNAME="`gettext "Ukrainian"`" + ;; + + 'ur' ) + LANGNAME="`gettext "Urdu"`" + ;; + + 'uz' ) + LANGNAME="`gettext "Uzbek"`" + ;; + + 've' ) + LANGNAME="`gettext "Venda"`" + ;; + + 'vi' ) + LANGNAME="`gettext "Vietnamese"`" + ;; + + 'vo' ) + LANGNAME="`gettext "Volapuk; Volapuk"`" + ;; + + 'wa' ) + LANGNAME="`gettext "Walloon"`" + ;; + + 'wo' ) + LANGNAME="`gettext "Wolof"`" + ;; + + 'xh' ) + LANGNAME="`gettext "Xhosa"`" + ;; + + 'yi' ) + LANGNAME="`gettext "Yiddish (formerly ji)"`" + ;; + + 'yo' ) + LANGNAME="`gettext "Yoruba"`" + ;; + + 'za' ) + LANGNAME="`gettext "Zhuang"`" + ;; + + 'zh' ) + LANGNAME="`gettext "Chinese"`" + ;; + + 'zu' ) + LANGNAME="`gettext "Zulu"`" + ;; + + esac + + echo ${LANGNAME} + +} diff --git a/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_setPoMetadata.sh b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_setPoMetadata.sh new file mode 100755 index 0000000..09c1498 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/Modules/Update/update_setPoMetadata.sh @@ -0,0 +1,80 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Set metadata to portable object (.po) files, using CentOS-specific +# data. +function update_setPoMetadata { + + local COUNT=0 + local -a SRC + local -a DST + + # Retrieve absolute path of portable object we'll work with. + local PO_FILE="${1}" + + # Check existence of file before work with it. + tcar_checkFiles -ef "${PO_FILE}" + + # Define pattern lines. The pattern lines are put inside portable + # objects through xgettext and xml2po commands. In the case of + # Last-Translators, be sure to remplace it only when it is empty + # or refer the Documentation SIG only. This way translators' names + # will survive metadata updates. We don't want they have to type + # their name each time they edit a file. + SRC[0]="\"Project-Id-Version: (.+)?" + SRC[1]="\"Last-Translator: (.+)?" + SRC[2]="\"Language-Team: (.+)?" + SRC[3]="\"PO-Revision-Date: (.+)?" + + # Define replacement lines for pattern line. + DST[0]="\"Project-Id-Version: ${PACKAGE_NAME} ${PACKAGE_VERSION}\\\n\"" + DST[1]="\"Last-Translator: Localization SIG \\\n\"" + DST[2]="\"Language-Team: $(update_getLanguageName)\\\n\"" + DST[3]="\"PO-Revision-Date: $(date "+%F %H:%M%z")\\\n\"" + + # Change pattern lines with their replacement lines. + while [[ ${COUNT} -lt ${#SRC[*]} ]];do + sed -i -r "/${SRC[${COUNT}]}/c${DST[${COUNT}]}" ${PO_FILE} + COUNT=$((${COUNT} + 1)) + done + + # Replace package information using gettext domain information. + # Don't include version here to prevent old version to be shown in + # the comment area when new versions of the package are created. + sed -i -r "s/PACKAGE/${PACKAGE_NAME}/g" ${PO_FILE} + + # Remove absolute path to the working copy so it doesn't appear on + # comments related to locations. Remember that people can download + # their working copies in different locations and we don't want to + # version those changes each time a translation message be + # updated. To be consistent about this, show path information from + # first level on. Don't show the variable part of the path. + sed -i -r "s,${TCAR_BASEDIR}/,,g" ${PO_FILE} + + # Unset array variables to avoid undesired concatenations. + unset SRC + unset DST + +} diff --git a/Scripts/Modules/Locale/Modules/Files/files.sh b/Scripts/Modules/Locale/Modules/Files/files.sh new file mode 100755 index 0000000..ecd8095 --- /dev/null +++ b/Scripts/Modules/Locale/Modules/Files/files.sh @@ -0,0 +1,72 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Set file-specific information needed by localization actions and +# executes the actions requested through the command-line. +function files { + + # Define absolute path of argument passed in the command-line. + local RENDER_FROM=$(tcar_checkRepoDirSource "${1}") + + # Verify the argument passed in the command-line is a regular + # file. + tcar_checkFiles -ef ${RENDER_FROM} + + # Retrieve the file extension of argument provided in the + # command-line. + local RENDER_TYPE=$(echo ${RENDER_FROM} | sed -r 's/.+\.([[:alnum:]]+)$/\1/') + + # Define location where final content will be stored. This is + # required for producing docbook document that contain relative + # paths inside (e.g., relative calls to image files) correctly. + RENDER_TARGET=$(dirname ${RENDER_FROM})/Final/${TCAR_SCRIPT_LANG_LC} + + # Define absolute path of directory holding localization files. + local LOCALE_FROM=$(dirname ${RENDER_FROM})/Locales + if [[ ! -d ${LOCALE_FROM} ]];then + mkdir ${LOCALE_FROM} + fi + + # Define package name written in POT and PO files. This is the + # name of the initialization file you provided as argument to the + # command line to provide localization for. + local PACKAGE_NAME=$(basename ${RENDER_FROM}) + + # Define package version written in POT and PO files. The script + # version is used here. Modules doesn't have a version by now. + # They share the same version of the centos-art.sh script. + local PACKAGE_VERSION=${TCAR_SCRIPT_VERSION} + + # Define absolute path to portable and machine objects. + local POT_FILE=$(tcar_getTemporalFile "${PACKAGE_NAME}.pot") + local PO_FILE=${LOCALE_FROM}/${TCAR_SCRIPT_LANG_LC}/${PACKAGE_NAME}.po + local MO_FILE=${LOCALE_FROM}/${TCAR_SCRIPT_LANG_LC}/LC_MESSAGES/${PACKAGE_NAME}.mo + + # Execute actions using the variables defined here as reference. + for ACTION in ${ACTIONS};do + tcar_setModuleEnvironment -m "${ACTION}" -t 'child' + done + +} diff --git a/Scripts/Modules/Locale/locale.sh b/Scripts/Modules/Locale/locale.sh new file mode 100755 index 0000000..a85a553 --- /dev/null +++ b/Scripts/Modules/Locale/locale.sh @@ -0,0 +1,76 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Standardize localization tasks. The locale command provides three +# ways of producing localization files: +# +# 1. Produce localization for one file only (when a regular file is +# provided as argument in the command-line), +# +# 2. Produce localization files for all files in the current +# directory you provided in the command-line (when a directory is +# provided as argument), and +# +# 3. Produce localization files for all files in the current +# directory recursively (when a directory is provided as argument in +# the command-line and the --recursive option is also provided). +function locale { + + # Define flags controlling they way locale module produce + # localization files. + local LOCALE_FLAG_RECURSIVE="false" + + # Initialize module's actions. + local ACTIONS='' + + # Redefine module's actions based on arguments passed through + # command-line. + locale_getOptions + + # Verify the current locale information to avoid English messages + # from being localized to themselves. The English language is used + # as reference to write translatable strings inside the source + # files. + if [[ ${TCAR_SCRIPT_LANG_LC} =~ '^C$' ]];then + tcar_printMessage "`gettext "The C locale cannot be localized to itself."`" --as-error-line + fi + + # Process arguments passed to locale module, based on whether they + # are files or directories. + for ARGUMENT in ${TCAR_MODULE_ARGUMENT};do + + local ARGUMENT=$(tcar_checkRepoDirSource "${ARGUMENT}") + + if [[ -f ${ARGUMENT} ]];then + tcar_setModuleEnvironment -m "files" -t "child" -g "${ARGUMENT}" + elif [[ -d ${ARGUMENT} ]];then + tcar_setModuleEnvironment -m "directories" -t "child" -g "${ARGUMENT}" + else + tcar_printMessage "`gettext "The argument provided isn't valid."`" --as-error-line + fi + + done + +} diff --git a/Scripts/Modules/Locale/locale_getOptions.sh b/Scripts/Modules/Locale/locale_getOptions.sh new file mode 100755 index 0000000..23df782 --- /dev/null +++ b/Scripts/Modules/Locale/locale_getOptions.sh @@ -0,0 +1,93 @@ +#!/bin/bash +###################################################################### +# +# tcar - The CentOS Artwork Repository automation tool. +# Copyright © 2014 The CentOS Artwork SIG +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# Alain Reguera Delgado +# 39 Street No. 4426 Cienfuegos, Cuba. +# +###################################################################### + +# Initialize the command-line options used by locale module. +function locale_getOptions { + + # Define short options we want to support. + local ARGSS="h::,v,f:,u,e,d,r" + + # Define long options we want to support. + local ARGSL="help::,version,filter:,update,edit,delete,recursive" + + # Redefine arguments using getopt(1) command parser. + tcar_setModuleArguments + + # Reset positional parameters on this function, using output + # produced from (getopt) arguments parser. + eval set -- "${TCAR_MODULE_ARGUMENT}" + + # Look for options passed through command-line. + while true; do + case "${1}" in + + -h | --help ) + tcar_printHelp "${2}" + ;; + + -v | --version ) + tcar_printVersion "${TCAR_MODULE_NAME}" + ;; + + -f | --filter ) + TCAR_FLAG_FILTER="${2:-${TCAR_FLAG_FILTER}}" + shift 2 + ;; + + -u | --update ) + ACTIONS="${ACTIONS} update" + shift 1 + ;; + + -e | --edit ) + ACTIONS="${ACTIONS} edit" + shift 1 + ;; + + -d | --delete ) + ACTIONS="${ACTIONS} delete" + shift 1 + ;; + + -r | --recursive ) + LOCALE_FLAG_RECURSIVE="true" + shift 1 + ;; + + -- ) + shift 1 + break + ;; + esac + done + + # Define default module actions. + ACTIONS=${ACTIONS:-'update'} + + # Redefine arguments using current positional parameters. Only + # paths should remain as arguments, at this point. + TCAR_MODULE_ARGUMENT="${@}" + +} diff --git a/tcar-scripts-locale-docs/Manpages/Locales/es_ES/locale.asciidoc.po b/tcar-scripts-locale-docs/Manpages/Locales/es_ES/locale.asciidoc.po deleted file mode 100644 index 2c4fe6d..0000000 --- a/tcar-scripts-locale-docs/Manpages/Locales/es_ES/locale.asciidoc.po +++ /dev/null @@ -1,199 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: locale.asciidoc 0.6\n" -"POT-Creation-Date: 2013-10-22 23:47-0400\n" -"PO-Revision-Date: 2013-10-22 23:47-0400\n" -"Last-Translator: Localization SIG \n" -"Language-Team: Spanish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "locale" -msgstr "" - -msgid "1" -msgstr "" - -msgid "" -"Create, edit and delete translation files for images, documents and " -"automation scripts." -msgstr "" -"Crea, edita y borra ficheros de traducción para imágenes, " -"documentos y guiones de automatización." - -msgid "centos-art.sh locale --help" -msgstr "" - -msgid "Print module's documentation." -msgstr "Imprime documentación del módulo." - -msgid "centos-art.sh locale --version" -msgstr "" - -msgid "Print module's version." -msgstr "Imprime versión del módulo." - -msgid "" -"centos-art.sh locale DIRECTORY [--update|--edit|--delete|--filter=\"REGEX\"]" -msgstr "" - -msgid "Perform directory localization." -msgstr "" - -msgid "centos-art.sh locale FILE [--update|--edit|--delete]" -msgstr "" - -msgid "Perform file localization." -msgstr "" - -msgid "Description" -msgstr "Descripción" - -msgid "" -"The locale produces translations files " -"for images, documents and automation scripts based on the LANG environment " -"variable. In order to produce locale-specific translation files, the current " -"language information set by the LANG environment variable must be different " -"to English (`en'). If the current language is English, the locale module ends its execution with an error " -"message. When the current language is different to English, the locale looks for source files, based on the " -"arguments you passed through the command-line." -msgstr "" - -msgid "" -"When the argument you provided is a “DIRECTORY”, the locale module looks for configuration files inside it and " -"produces translation files based on the render-" -"from and locale-from " -"variables set in there. On the other hand, when a “FILE” is provided, it " -"takes the file extension (i.e., the characters after the last dot in the " -"file name) and looks recursively in the file's directory for all the files " -"that have the same file extension the “FILE” does, and builds the list of " -"source files that will be used to produce the translation files. In this " -"case, the translation files are stored in a “Locales” directory, at the same " -"level of the “FILE” you provided as argument to locale module's command-line." -msgstr "" - -msgid "" -"Translation files are the files we use to store translatable strings. These " -"files can be either portable objects (.po'), machine objects (.po') or portable object templates (.pot'). Machine objects " -"are built from portable objects. Portable objects are built from portable " -"object templates (.pot'). Portable object templates are built " -"using xgettext or xml2po programs, according to the source files you are " -"retrieving translatable strings from. From these files, portable objects " -"(.po') are used by render " -"module to produce both localized images and localized documentation while " -"machine objects (.mo') are used by gettext program to produce localized output messages from " -"automation scripts." -msgstr "" - -msgid "Options" -msgstr "" - -msgid "" -"The locale module accepts the following " -"options:" -msgstr "" - -msgid "--help" -msgstr "" - -msgid "--version" -msgstr "" - -msgid "--filter=\"REGEX\"" -msgstr "" - -msgid "" -"When “DIRECTORY” is passed as argument, this option reduces the number of " -"section blocks inside configuration files the locale module will take for processing by using the “REGEX” " -"value is a regular expression pattern to match one or more section names " -"inside the configuration files found under “DIRECTORY”. When “FILE” is " -"passed as argument, in the other hand, it limits the number of files that " -"will be set in the list of source files used to build the final translation " -"files." -msgstr "" - -msgid "--update" -msgstr "" - -msgid "--edit" -msgstr "" - -msgid "--delete" -msgstr "" - -msgid "Localizing Image Files" -msgstr "" - -#, no-wrap -msgid "" -"\n" -"Hi\n" -"\n" -"Localizing Documentation Files" -msgstr "" - -msgid "Hi" -msgstr "" - -msgid "Localizing Automation Scripts" -msgstr "" - -msgid "Author" -msgstr "" - -msgid "" -"Written by Alain Reguera Delgado" -msgstr "" - -msgid "Copyright" -msgstr "" - -msgid "Copyright © 2009-2013 The CentOS Project" -msgstr "" - -msgid "" -"This program is free software; you can redistribute it and/or modify it " -"under the terms of the GNU General Public License as published by the Free " -"Software Foundation; either version 2 of the License, or (at your option) " -"any later version." -msgstr "" - -msgid "" -"This program is distributed in the hope that it will be useful, but WITHOUT " -"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " -"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " -"more details." -msgstr "" - -msgid "" -"You should have received a copy of the GNU General Public License along with " -"this program; if not, write to the Free Software Foundation, Inc., 675 Mass " -"Ave, Cambridge, MA 02139, USA." -msgstr "" - -msgid "See Also" -msgstr "" - -msgid "centos-art.sh(1), centos-art.sh-render(1), gettext(1)" -msgstr "" - -#. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -msgid "translator-credits" -msgstr "" - -#~ msgid "Name" -#~ msgstr "Nombre de la referencia" - -#~ msgid "Synopsis" -#~ msgstr "Sinópsis" diff --git a/tcar-scripts-locale-docs/Manpages/locale.asciidoc b/tcar-scripts-locale-docs/Manpages/locale.asciidoc deleted file mode 100644 index c794f10..0000000 --- a/tcar-scripts-locale-docs/Manpages/locale.asciidoc +++ /dev/null @@ -1,127 +0,0 @@ -locale(1) -========= - -Name ----- - -locale - Create, edit and delete translation files for images, -documents and automation scripts. - -Synopsis --------- - -*centos-art.sh locale --help*:: - Print module's documentation. - -*centos-art.sh locale --version*:: - Print module's version. - -*centos-art.sh locale DIRECTORY [--update|--edit|--delete|--filter="REGEX"]*:: - Perform directory localization. - -*centos-art.sh locale FILE [--update|--edit|--delete]*:: - Perform file localization. - -Description ------------ - -The *locale* produces translations files for images, documents and -automation scripts based on the LANG environment variable. In order to -produce locale-specific translation files, the current language -information set by the LANG environment variable must be different to -English (`en'). If the current language is English, the *locale* -module ends its execution with an error message. When the current -language is different to English, the *locale* looks for source files, -based on the arguments you passed through the command-line. - -When the argument you provided is a ``DIRECTORY'', the *locale* module -looks for configuration files inside it and produces translation files -based on the *render-from* and *locale-from* variables set in there. -On the other hand, when a ``FILE'' is provided, it takes the file -extension (i.e., the characters after the last dot in the file name) -and looks recursively in the file's directory for all the files that -have the same file extension the ``FILE'' does, and builds the list of -source files that will be used to produce the translation files. In -this case, the translation files are stored in a ``Locales'' -directory, at the same level of the ``FILE'' you provided as argument -to *locale* module's command-line. - -Translation files are the files we use to store translatable strings. -These files can be either portable objects (`.po'), machine objects -(`.po') or portable object templates (`.pot'). Machine objects are -built from portable objects. Portable objects are built from portable -object templates (`.pot'). Portable object templates are built using -*xgettext* or *xml2po* programs, according to the source files you are -retrieving translatable strings from. From these files, portable -objects (`.po') are used by *render* module to produce both localized -images and localized documentation while machine objects (`.mo') are -used by *gettext* program to produce localized output messages from -automation scripts. - -Options -------- - -The *locale* module accepts the following options: - -*--help*:: - Print module's documentation. -*--version*:: - Print module's version. -*--filter="REGEX"*:: - When ``DIRECTORY'' is passed as argument, this option reduces the - number of section blocks inside configuration files the *locale* - module will take for processing by using the ``REGEX'' value is a - regular expression pattern to match one or more section names - inside the configuration files found under ``DIRECTORY''. When - ``FILE'' is passed as argument, in the other hand, it limits the - number of files that will be set in the list of source files used - to build the final translation files. -*--update*:: -*--edit*:: -*--delete*:: - -Localizing Image Files ----------------------- - -Hi - -Localizing Documentation Files ------------------------------- - -Hi - -Localizing Automation Scripts ------------------------------ - -Hi - -Author ------- - -Written by mailto:al@centos.org.cu[Alain Reguera Delgado] - -Copyright ---------- - -Copyright (C) 2009-2013 The CentOS Project - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or (at -your option) any later version. - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -See Also --------- - -centos-art.sh(1), centos-art.sh-render(1), gettext(1) - -// vim: set syntax=asciidoc: diff --git a/tcar-scripts-locale-docs/Manpages/render.conf b/tcar-scripts-locale-docs/Manpages/render.conf deleted file mode 100644 index 720641f..0000000 --- a/tcar-scripts-locale-docs/Manpages/render.conf +++ /dev/null @@ -1,7 +0,0 @@ -[locale] -render-type = "asciidoc" -render-flow = "manpage" -render-from = "locale.asciidoc" -locale-from = "Locales/${TCAR_SCRIPT_LANG_LC}/locale.asciidoc.po" -formats = "xhtml manpage" -mansect = "1" diff --git a/tcar-scripts-locale/Locales/es_ES/locale.sh.po b/tcar-scripts-locale/Locales/es_ES/locale.sh.po deleted file mode 100644 index 4966345..0000000 --- a/tcar-scripts-locale/Locales/es_ES/locale.sh.po +++ /dev/null @@ -1,1731 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: locale.sh 0.6\n" -"Report-Msgid-Bugs-To: centos-l10n-es@centos.org.cu\n" -"POT-Creation-Date: 2013-10-23 15:31-0400\n" -"PO-Revision-Date: 2013-10-23 15:31-0400\n" -"Last-Translator: Localization SIG \n" -"Language-Team: Spanish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:46 -#, sh-format -msgid "No section definition was found in $CONFIGURATION." -msgstr "Ninguna sección de configuración fue encontrarada en $CONFIGURATION." - -#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:57 -msgid "hasn't render-type set in." -msgstr "no tiene el ajuste render-type." - -#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:62 -msgid "hasn't render-from set in." -msgstr "no tiene el ajuste render-from." - -#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:70 -msgid "hasn't render-flow set in." -msgstr "no tiene el ajuste render-flow." - -#: Automation/Modules/Locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh:75 -msgid "hasn't locale-from set in." -msgstr "no tiene el ajuste locale-from." - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:30 -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:30 -msgid "Unknown" -msgstr "Desconocido" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:35 -msgid "Andorra" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:38 -msgid "United Arab Emirates" -msgstr "Emirates Árabes Unidos" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:41 -msgid "Afghanistan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:44 -msgid "Antigua and Barbuda" -msgstr "Antigua y Barbuda" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:47 -msgid "Anguilla" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:50 -msgid "Albania" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:53 -msgid "Armenia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:56 -msgid "Netherlands Antilles" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:59 -msgid "Angola" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:62 -msgid "Antarctica" -msgstr "Antárctica" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:65 -msgid "Argentina" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:68 -msgid "Samoa (American)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:71 -msgid "Austria" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:74 -msgid "Australia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:77 -msgid "Aruba" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:80 -msgid "Azerbaijan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:83 -msgid "Bosnia and Herzegovina" -msgstr "Bosnia y Herzegovina" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:86 -msgid "Barbados" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:89 -msgid "Bangladesh" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:92 -msgid "Belgium" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:95 -msgid "Burkina Faso" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:98 -msgid "Bulgaria" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:101 -msgid "Bahrain" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:104 -msgid "Burundi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:107 -msgid "Benin" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:110 -msgid "Bermuda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:113 -msgid "Brunei" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:116 -msgid "Bolivia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:119 -msgid "Brazil" -msgstr "Brasil" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:122 -msgid "Bahamas" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:125 -msgid "Bhutan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:128 -msgid "Bouvet Island" -msgstr "Isla de Bouvet" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:131 -msgid "Botswana" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:134 -msgid "Belarus" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:137 -msgid "Belize" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:140 -msgid "Canada" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:143 -msgid "Cocos (Keeling) Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:146 -msgid "Congo (Dem. Rep.)" -msgstr "República Democrática del Congo" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:149 -msgid "Central African Rep." -msgstr "Repúbliva Central Africana" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:152 -msgid "Congo (Rep.)" -msgstr "República del Congo" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:155 -msgid "Switzerland" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:158 -msgid "Co^te d'Ivoire" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:161 -msgid "Cook Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:164 -msgid "Chile" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:167 -msgid "Cameroon" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:170 -msgid "China" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:173 -msgid "Colombia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:176 -msgid "Costa Rica" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:179 -msgid "Serbia and Montenegro" -msgstr "Serbia y Montenegro" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:182 -msgid "Cuba" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:185 -msgid "Cape Verde" -msgstr "Cabo Verde" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:188 -msgid "Christmas Island" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:191 -msgid "Cyprus" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:194 -msgid "Czech Republic" -msgstr "República Checa" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:197 -msgid "Germany" -msgstr "Alemania" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:200 -msgid "Djibouti" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:203 -msgid "Denmark" -msgstr "Dinamarca" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:206 -msgid "Dominica" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:209 -msgid "Dominican Republic" -msgstr "República Dominicana" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:212 -msgid "Algeria" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:215 -msgid "Ecuador" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:218 -msgid "Estonia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:221 -msgid "Egypt" -msgstr "Egipto" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:224 -msgid "Western Sahara" -msgstr "Shara Occidental" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:227 -msgid "Eritrea" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:230 -msgid "Spain" -msgstr "España" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:233 -msgid "Ethiopia" -msgstr "Etiopía" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:236 -msgid "Finland" -msgstr "Finlandia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:239 -msgid "Fiji" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:242 -msgid "Falkland Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:245 -msgid "Micronesia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:248 -msgid "Faeroe Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:251 -msgid "France" -msgstr "Francia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:254 -msgid "Gabon" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:257 -msgid "Britain (UK)" -msgstr "Bretaña (UK)" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:260 -msgid "Grenada" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:263 -msgid "Georgia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:266 -msgid "French Guiana" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:269 -msgid "Ghana" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:272 -msgid "Gibraltar" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:275 -msgid "Greenland" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:278 -msgid "Gambia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:281 -msgid "Guinea" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:284 -msgid "Guadeloupe" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:287 -msgid "Equatorial Guinea" -msgstr "Guinea Ecuatorial" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:290 -msgid "Greece" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:293 -msgid "South Georgia and the South Sandwich Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:296 -msgid "Guatemala" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:299 -msgid "Guam" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:302 -msgid "Guinea-Bissau" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:305 -msgid "Guyana" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:308 -msgid "Hong Kong" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:311 -msgid "Heard Island and McDonald Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:314 -msgid "Honduras" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:317 -msgid "Croatia" -msgstr "Croasia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:320 -msgid "Haiti" -msgstr "Haití" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:323 -msgid "Hungary" -msgstr "Hungría" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:326 -msgid "Indonesia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:329 -msgid "Ireland" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:332 -msgid "Israel" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:335 -msgid "India" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:338 -msgid "British Indian Ocean Territory" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:341 -msgid "Iraq" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:344 -msgid "Iran" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:347 -msgid "Iceland" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:350 -msgid "Italy" -msgstr "Italia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:353 -msgid "Jamaica" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:356 -msgid "Jordan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:359 -msgid "Japan" -msgstr "Japón" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:362 -msgid "Kenya" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:365 -msgid "Kyrgyzstan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:368 -msgid "Cambodia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:371 -msgid "Kiribati" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:374 -msgid "Comoros" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:377 -msgid "St Kitts and Nevis" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:380 -msgid "Korea (North)" -msgstr "Korea (Norte)" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:383 -msgid "Korea (South)" -msgstr "Korea (Sur)" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:386 -msgid "Kuwait" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:389 -msgid "Cayman Islands" -msgstr "Islas Caimán" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:392 -msgid "Kazakhstan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:395 -msgid "Laos" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:398 -msgid "Lebanon" -msgstr "Líbano" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:401 -msgid "St Lucia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:404 -msgid "Liechtenstein" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:407 -msgid "Sri Lanka" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:410 -msgid "Liberia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:413 -msgid "Lesotho" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:416 -msgid "Lithuania" -msgstr "Lituania" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:419 -msgid "Luxembourg" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:422 -msgid "Latvia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:425 -msgid "Libya" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:428 -msgid "Morocco" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:431 -msgid "Monaco" -msgstr "Mónaco" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:434 -msgid "Moldova" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:437 -msgid "Madagascar" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:440 -msgid "Marshall Islands" -msgstr "Islas Marshall" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:443 -msgid "Macedonia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:446 -msgid "Mali" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:449 -msgid "Myanmar (Burma)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:452 -msgid "Mongolia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:455 -msgid "Macao" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:458 -msgid "Northern Mariana Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:461 -msgid "Martinique" -msgstr "Martinica" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:464 -msgid "Mauritania" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:467 -msgid "Montserrat" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:470 -msgid "Malta" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:473 -msgid "Mauritius" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:476 -msgid "Maldives" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:479 -msgid "Malawi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:482 -msgid "Mexico" -msgstr "México" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:485 -msgid "Malaysia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:488 -msgid "Mozambique" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:491 -msgid "Namibia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:494 -msgid "New Caledonia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:497 -msgid "Niger" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:500 -msgid "Norfolk Island" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:503 -msgid "Nigeria" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:506 -msgid "Nicaragua" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:509 -msgid "Netherlands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:512 -msgid "Norway" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:515 -msgid "Nepal" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:518 -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:478 -msgid "Nauru" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:521 -msgid "Niue" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:524 -msgid "New Zealand" -msgstr "Nueva Zelanda" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:527 -msgid "Oman" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:530 -msgid "Panama" -msgstr "Panamá" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:533 -msgid "Peru" -msgstr "Perú" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:536 -msgid "French Polynesia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:539 -msgid "Papua New Guinea" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:542 -msgid "Philippines" -msgstr "Filipinas" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:545 -msgid "Pakistan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:548 -msgid "Poland" -msgstr "Polonia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:551 -msgid "St Pierre and Miquelon" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:554 -msgid "Pitcairn" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:557 -msgid "Puerto Rico" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:560 -msgid "Palestine" -msgstr "Palestina" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:563 -msgid "Portugal" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:566 -msgid "Palau" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:569 -msgid "Paraguay" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:572 -msgid "Qatar" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:575 -msgid "Reunion" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:578 -msgid "Romania" -msgstr "Rumania" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:581 -msgid "Russia" -msgstr "Rusia" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:584 -msgid "Rwanda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:587 -msgid "Saudi Arabia" -msgstr "Arabia Saudita" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:590 -msgid "Solomon Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:593 -msgid "Seychelles" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:596 -msgid "Sudan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:599 -msgid "Sweden" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:602 -msgid "Singapore" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:605 -msgid "St Helena" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:608 -msgid "Slovenia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:611 -msgid "Svalbard and Jan Mayen" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:614 -msgid "Slovakia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:617 -msgid "Sierra Leone" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:620 -msgid "San Marino" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:623 -msgid "Senegal" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:626 -msgid "Somalia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:629 -msgid "Suriname" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:632 -msgid "Sao Tome and Principe" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:635 -msgid "El Salvador" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:638 -msgid "Syria" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:641 -msgid "Swaziland" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:644 -msgid "Turks and Caicos Islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:647 -msgid "Chad" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:650 -msgid "French Southern and Antarctic Lands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:653 -msgid "Togo" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:656 -msgid "Thailand" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:659 -msgid "Tajikistan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:662 -msgid "Tokelau" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:665 -msgid "Timor-Leste" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:668 -msgid "Turkmenistan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:671 -msgid "Tunisia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:674 -msgid "Tonga" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:677 -msgid "Turkey" -msgstr "Turquía" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:680 -msgid "Trinidad and Tobago" -msgstr "Trinidad y Tobago" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:683 -msgid "Tuvalu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:686 -msgid "Taiwan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:689 -msgid "Tanzania" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:692 -msgid "Ukraine" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:695 -msgid "Uganda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:698 -msgid "US minor outlying islands" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:701 -msgid "United States" -msgstr "Estados Unidos" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:704 -msgid "Uruguay" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:707 -msgid "Uzbekistan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:710 -msgid "Vatican City" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:713 -msgid "St Vincent" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:716 -msgid "Venezuela" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:719 -msgid "Virgin Islands (UK)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:722 -msgid "Virgin Islands (US)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:725 -msgid "Vietnam" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:728 -msgid "Vanuatu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:731 -msgid "Wallis and Futuna" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:734 -msgid "Samoa (Western)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:737 -msgid "Yemen" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:740 -msgid "Mayotte" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:743 -msgid "South Africa" -msgstr "Sur África" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:746 -msgid "Zambia" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getCountryName.sh:749 -msgid "Zimbabwe" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:35 -msgid "Afar" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:39 -msgid "Abkhazian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:43 -msgid "Avestan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:47 -msgid "Afrikaans" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:51 -msgid "Akan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:55 -msgid "Amharic" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:59 -msgid "Aragonese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:63 -msgid "Arabic" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:67 -msgid "Assamese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:71 -msgid "Avaric" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:75 -msgid "Aymara" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:79 -msgid "Azerbaijani" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:83 -msgid "Bashkir" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:87 -msgid "Byelorussian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:91 -msgid "Bulgarian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:95 -msgid "Bihari" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:99 -msgid "Bislama" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:103 -msgid "Bambara" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:107 -msgid "Bengali" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:111 -msgid "Tibetan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:115 -msgid "Breton" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:119 -msgid "Bosnian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:123 -msgid "Catalan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:127 -msgid "Chechen" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:131 -msgid "Chamorro" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:135 -msgid "Corsican" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:139 -msgid "Cree" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:143 -msgid "Czech" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:147 -msgid "Church Slavic" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:151 -msgid "Chuvash" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:155 -msgid "Welsh" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:159 -msgid "Danish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:163 -msgid "German" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:167 -msgid "Divehi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:171 -msgid "Dzongkha" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:175 -msgid "E'we" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:179 -msgid "Greek" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:183 -msgid "English" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:187 -msgid "Esperanto" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:191 -msgid "Spanish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:195 -msgid "Estonian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:199 -msgid "Basque" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:202 -msgid "Persian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:206 -msgid "Fulah" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:210 -msgid "Finnish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:214 -msgid "Fijian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:218 -msgid "Faroese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:222 -msgid "French" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:226 -msgid "Frisian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:230 -msgid "Irish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:234 -msgid "Scots" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:238 -msgid "Gallegan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:242 -msgid "Guarani" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:246 -msgid "Gujarati" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:250 -msgid "Manx" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:254 -msgid "Hausa" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:258 -msgid "Hebrew" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:262 -msgid "Hindi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:266 -msgid "Hiri Motu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:270 -msgid "Croatian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:274 -msgid "Haitian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:278 -msgid "Hungarian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:282 -msgid "Armenian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:286 -msgid "Herero" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:290 -msgid "Interlingua" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:294 -msgid "Indonesian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:298 -msgid "Interlingue" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:302 -msgid "Igbo" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:306 -msgid "Sichuan Yi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:310 -msgid "Inupiak" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:314 -msgid "Ido" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:318 -msgid "Icelandic" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:322 -msgid "Italian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:326 -msgid "Inuktitut" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:330 -msgid "Japanese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:334 -msgid "Javanese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:338 -msgid "Georgian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:342 -msgid "Kongo" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:346 -msgid "Kikuyu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:350 -msgid "Kuanyama" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:354 -msgid "Kazakh" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:358 -msgid "Kalaallisut" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:362 -msgid "Khmer" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:366 -msgid "Kannada" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:370 -msgid "Korean" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:374 -msgid "Kanuri" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:378 -msgid "Kashmiri" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:382 -msgid "Kurdish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:386 -msgid "Komi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:390 -msgid "Cornish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:394 -msgid "Kirghiz" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:398 -msgid "Latin" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:402 -msgid "Letzeburgesch" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:406 -msgid "Ganda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:410 -msgid "Limburgish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:414 -msgid "Lingala" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:418 -msgid "Lao" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:422 -msgid "Lithuanian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:426 -msgid "Luba-Katanga" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:430 -msgid "Latvian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:434 -msgid "Malagasy" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:438 -msgid "Marshall" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:442 -msgid "Maori" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:446 -msgid "Macedonian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:450 -msgid "Malayalam" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:454 -msgid "Mongolian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:458 -msgid "Moldavian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:462 -msgid "Marathi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:466 -msgid "Malay" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:470 -msgid "Maltese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:474 -msgid "Burmese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:482 -msgid "Norwegian Bokmaal" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:486 -msgid "Ndebele, North" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:490 -msgid "Nepali" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:494 -msgid "Ndonga" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:498 -msgid "Dutch" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:502 -msgid "Norwegian Nynorsk" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:506 -msgid "Norwegian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:510 -msgid "Ndebele, South" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:514 -msgid "Navajo" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:518 -msgid "Chichewa" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:522 -msgid "Occitan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:526 -msgid "Ojibwa" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:530 -msgid "(Afan) Oromo" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:534 -msgid "Oriya" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:538 -msgid "Ossetian; Ossetic" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:542 -msgid "Panjabi; Punjabi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:546 -msgid "Pali" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:550 -msgid "Polish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:554 -msgid "Pashto, Pushto" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:558 -msgid "Portuguese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:562 -msgid "Quechua" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:566 -msgid "Rhaeto-Romance" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:570 -msgid "Rundi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:574 -msgid "Romanian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:578 -msgid "Russian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:582 -msgid "Kinyarwanda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:586 -msgid "Sanskrit" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:590 -msgid "Sardinian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:594 -msgid "Sindhi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:598 -msgid "Northern Sami" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:602 -msgid "Sango; Sangro" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:606 -msgid "Sinhalese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:610 -msgid "Slovak" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:614 -msgid "Slovenian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:618 -msgid "Samoan" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:622 -msgid "Shona" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:626 -msgid "Somali" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:630 -msgid "Albanian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:634 -msgid "Serbian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:638 -msgid "Swati; Siswati" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:642 -msgid "Sesotho; Sotho, Southern" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:646 -msgid "Sundanese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:650 -msgid "Swedish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:654 -msgid "Swahili" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:658 -msgid "Tamil" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:662 -msgid "Telugu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:666 -msgid "Tajik" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:670 -msgid "Thai" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:674 -msgid "Tigrinya" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:678 -msgid "Turkmen" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:682 -msgid "Tagalog" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:686 -msgid "Tswana; Setswana" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:690 -msgid "Tonga (?)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:694 -msgid "Turkish" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:698 -msgid "Tsonga" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:703 -msgid "Tatar" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:707 -msgid "Twi" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:711 -msgid "Tahitian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:715 -msgid "Uighur" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:719 -msgid "Ukrainian" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:723 -msgid "Urdu" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:727 -msgid "Uzbek" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:731 -msgid "Venda" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:735 -msgid "Vietnamese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:739 -msgid "Volapuk; Volapuk" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:743 -msgid "Walloon" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:747 -msgid "Wolof" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:751 -msgid "Xhosa" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:755 -msgid "Yiddish (formerly ji)" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:759 -msgid "Yoruba" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:763 -msgid "Zhuang" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:767 -msgid "Chinese" -msgstr "" - -#: Automation/Modules/Locale/Modules/Actions/Modules/Update/update_getLanguageName.sh:771 -msgid "Zulu" -msgstr "" diff --git a/tcar-scripts-locale/Modules/Directories/directories.sh b/tcar-scripts-locale/Modules/Directories/directories.sh deleted file mode 100755 index 2d1afa7..0000000 --- a/tcar-scripts-locale/Modules/Directories/directories.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/bash -###################################################################### -# -# directories.sh -- This module make a list of all the supported -# files inside the directory provided as argument in the -# command-line. They it passed each file found to files module, -# where they are processed one by one. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function directories { - - local FILES='' - - # Sanitate non-option arguments to be sure they match the - # directory conventions established by centos-art.sh script - # against source directory locations in the working copy. - local DIRECTORY=$(tcar_checkRepoDirSource ${1}) - - # Define regular expression used by locale module to determine the - # file extension that it can retrieve translatable strings from, - # when a directory as argument is provided in the command-line. - # - # Don't include file extensions for script files here. - # - # Scripts files shouldn't be localized when a directory has been - # passed argument in the command-line because when we are - # processing directories, each file inside it is processed - # individually. For example, modules might involve several script - # files but they should have only one PO file for all the files - # they are made of. Using directory processing would create one - # PO file for each script file in the directory and that is what - # should not happen. For this reason don't include any file - # extension related to script files here. - # - # Don't include file extensions for asciidoc files here. - # - # Asciidoc documents need configuration files in order to be - # localized in coordination with render module. If you list - # asciidoc documents here, the configuration files won't be read - # and it will be localized in a way that may or may not match the - # way it is produced through render module. - local LOCALE_SUPPORTED_FILES='.+/.+\.(svgz|svg)$' - - # Build list of supported files which locale module will extract - # translatable strings from. - if [[ ${LOCALE_FLAG_RECURSIVE} == 'true' ]];then - FILES=$(tcar_getFilesList ${DIRECTORY} \ - --type=f --pattern="${LOCALE_SUPPORTED_FILES}" \ - | egrep "${TCAR_FLAG_FILTER}") - else - FILES=$(tcar_getFilesList ${DIRECTORY} \ - --mindepth=1 --maxdepth=1 --type=f \ - --pattern="${LOCALE_SUPPORTED_FILES}" \ - | egrep "${TCAR_FLAG_FILTER}") - fi - - # Verify found files. In case no file is found, print an error - # message describing it. - tcar_checkFiles -ef ${FILES} - - # Execute files module to process files found, one by one. - for FILE in ${FILES};do - tcar_setModuleEnvironment -m 'files' -t 'sibling' -g ${FILE} - done - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Delete/delete.sh b/tcar-scripts-locale/Modules/Files/Modules/Delete/delete.sh deleted file mode 100755 index 3727141..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Delete/delete.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash -###################################################################### -# -# delete.sh -- This module standardizes localization delete actions -# inside the repository. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function delete { - - tcar_checkFiles -ef "${PO_FILE}" - - tcar_printMessage "${PO_FILE}" --as-deleting-line - - /bin/rm ${PO_FILE} - - if [[ -f ${MO_FILE} ]];then - tcar_printMessage "${MO_FILE}" --as-deleting-line - /bin/rm ${MO_FILE} - fi - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Edit/edit.sh b/tcar-scripts-locale/Modules/Files/Modules/Edit/edit.sh deleted file mode 100755 index 0b0c6d9..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Edit/edit.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -###################################################################### -# -# edit.sh -- This module standardizes localization edition actions -# inside the repository. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function edit { - - tcar_checkFiles -efi "text/x-po" "${PO_FILE}" - - tcar_printMessage "${PO_FILE}" --as-editing-line - - ${TCAR_USER_EDITOR} ${PO_FILE} - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh deleted file mode 100755 index 21233c1..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -###################################################################### -# -# asciidoc.sh -- This module standardizes update actions related to -# localization of asciidoc files inside the repository. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function asciidoc { - - tcar_checkFiles -efm "\.asciidoc$" "${RENDER_FROM}" - - local DOCBOOK=$(tcar_getTemporalFile $(basename ${RENDER_FROM})).docbook - - asciidoc_convertAsciidocToDocbook - - update_convertXmlToPot "${DOCBOOK}" "${POT_FILE}" - - update_convertPotToPo "${POT_FILE}" "${PO_FILE}" - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh deleted file mode 100755 index 02a98ec..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -###################################################################### -# -# asciidoc_convertAsciidocToDocbook.sh -- This function converts -# asciicoc files into docbook files using asciidoc command's default -# (article) doctype. -# -# When docbook files are produced from asciidoc files it is -# necessary to consider the format in which they are generated -# (e.g., whether it is an article or a manpage). This information is -# stored in render.conf file, in the same directory of asciidoc -# file. Both locale and render modules need to produce the same -# docbook output in order to produce html and manpages well -# localized. Otherwise, there might be content that would be not -# localized because the same content is produced using a different -# markup (e.g., you localize asciidoc documents as articles but then -# render them as manpage). To solve this issue, it is necessary -# that both locale and render module use the same configuration -# file when producing localization and final content. This way, both -# locale and render produce content using the same information. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function asciidoc_convertAsciidocToDocbook { - - tcar_checkFiles -m '^(manpage|article|book)$' "${RENDER_FLOW}" - - /usr/bin/asciidoc --backend="docbook" --doctype="${RENDER_FLOW}" \ - --out-file=${DOCBOOK} ${RENDER_FROM} - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh deleted file mode 100755 index de0bacf..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/bash -###################################################################### -# -# conf.sh -- This module processes configuration files provided as -# argument in the command-line of locale module. Basically, it -# redefines values previously set in the files function using the -# configuration file provided in the command-line. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function conf { - - local CONFIGURATION=${RENDER_FROM} - - # Use arrays to store section names. This make possible to make - # use of post-rendition and last-rendition concepts. Otherwise it - # would be difficult to predict information about sections inside - # deeper environments. - local -a SECTIONS - for SECTION in $(tcar_getConfigSectionNames "${CONFIGURATION}" \ - | egrep ${TCAR_FLAG_FILTER});do - SECTIONS[++${#SECTIONS[*]}]="${SECTION}" - done - - # Verify the configuration file has one section entry at least. - if [[ ${#SECTIONS[*]} -eq 0 ]];then - tcar_printMessage "`eval_gettext "No section definition was found in \\\$CONFIGURATION."`" --as-error-line - fi - - local COUNTER=0 - - while [[ ${COUNTER} -lt ${#SECTIONS[*]} ]];do - - local SECTION=${SECTIONS[${COUNTER}]} - - local RENDER_TYPE=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-type") - if [[ -z ${RENDER_TYPE} ]];then - tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-type set in."`" --as-error-line - fi - - local RENDER_FROM=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-from") - if [[ -z ${RENDER_FROM} ]];then - tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-from set in."`" --as-error-line - fi - if [[ ! ${RENDER_FROM} =~ "^/" ]];then - RENDER_FROM=$(dirname ${CONFIGURATION})/${RENDER_FROM} - fi - - local RENDER_FLOW=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "render-flow") - if [[ -z ${RENDER_FLOW} ]];then - tcar_printMessage "${CONFIGURATION} `gettext "hasn't render-flow set in."`" --as-error-line - fi - - local LOCALE_FROM=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "locale-from") - if [[ -z ${LOCALE_FROM} ]];then - tcar_printMessage "${CONFIGURATION} `gettext "hasn't locale-from set in."`" --as-error-line - fi - if [[ ! ${LOCALE_FROM} =~ "^/" ]];then - LOCALE_FROM=$(dirname ${CONFIGURATION})/${LOCALE_FROM} - fi - - # Re-define package name written in POT and PO files. This is - # the name of the initialization file you provided as argument - # to the command line to provide localization for. - local PACKAGE_NAME=$(basename ${RENDER_FROM}) - - # Re-define absolute path to portable and machine objects. - local POT_FILE=$(tcar_getTemporalFile "${PACKAGE_NAME}.pot") - local PO_FILE=${LOCALE_FROM} - local MO_FILE=$(dirname ${RENDER_FROM})/Locales/${TCAR_SCRIPT_LANG_LC}/LC_MESSAGES/${PACKAGE_NAME}.mo - - # Execute type-specific module for processing files. - tcar_setModuleEnvironment -m "${RENDER_TYPE}" -t "sibling" - - # Increment section's counter. - COUNTER=$(( ${COUNTER} + 1 )) - - done - - # Reset array variables and their counters to avoid undesired - # concatenations between configuration files. - unset COUNTER - unset SECTIONS - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh deleted file mode 100755 index 9e31bf2..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/bash -###################################################################### -# -# sh.sh -- This module retrieves translatable strings from shell -# scripts files. Normally, this function takes the file provided as -# argument in the command-line and creates a list of all files that -# share the same file extension in the same directory structure and -# retrieve translation messages from it. Translation messages are -# stored in a PO file for each supported language under the Locales -# directory. In case the --recursive option is also provided, the -# list of files to process is build recursively. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function sh { - - # Verify existence and type of file being processed. - tcar_checkFiles -efi 'application/x-shellscript' "${RENDER_FROM}" - - local FILES='' - local DIRECTORY=$(dirname ${RENDER_FROM}) - - # Build list of all script files that xgettext will look for - # translatable strings inside. By default only scripts in the - # current directory will be looked out. - if [[ ${LOCALE_FLAG_RECURSIVE} == 'true' ]];then - FILES=$(tcar_getFilesList "${DIRECTORY}" \ - --type=f --pattern='.+\.sh$') - else - FILES=$(tcar_getFilesList "${DIRECTORY}" \ - --mindepth=1 --maxdepth=1 --type=f \ - --pattern='.+\.sh$') - fi - - # Verify found files existence and type before processing them. - tcar_checkFiles -efi 'application/x-shellscript' "${FILES}" - - # Retrieve translatable strings from shell script files and create - # the portable object template (.pot) from them. - xgettext --output=${POT_FILE} --width=70 \ - --package-name=${PACKAGE_NAME} \ - --package-version=${PACKAGE_VERSION} \ - --msgid-bugs-address="centos-l10n-${TCAR_SCRIPT_LANG_LL}@centos.org.cu" \ - --sort-by-file ${FILES} - - # When there is not any translatable string to retrieve from file, - # the POT file is not created. Be aware of this when retrieving - # translatable strings from several files (e.g., you are - # processing a directory full of svgz files, but some of them have - # no translatable string inside). - if [[ ! -f ${POT_FILE} ]];then - return - fi - - # Verify, initialize or update portable objects from portable - # object templates. - update_convertPotToPo "${POT_FILE}" "${PO_FILE}" - - # At this point some changes might be realized inside the PO file, - # so we need to update the related MO file based on recently - # updated PO files here in order for `centos-art.sh' script to - # print out the most up to date revision of localized messages. - # Notice that this is required only if we were localizing shell - # scripts because xml-based files don't need the MO files. - update_convertPoToMo - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh deleted file mode 100755 index 14fbd2b..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -###################################################################### -# -# svg.sh -- This module standardizes localization update actions of -# svg files inside the repository. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function svg { - - local SVG_INSTANCE=$(tcar_getTemporalFile $(basename ${RENDER_FROM})) - - svg_createSvgInstance - - update_convertXmlToPot "${SVG_INSTANCE}" "${POT_FILE}" - - update_convertPotToPo "${POT_FILE}" "${PO_FILE}" - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh deleted file mode 100755 index e00951a..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -###################################################################### -# -# svg_createSvgInstance.sh -- This function verifies whether the -# file being processed is compressed or not, then uses that -# information to read the file and create an instance of it. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function svg_createSvgInstance { - - if [[ $(/usr/bin/file -b -i ${RENDER_FROM}) =~ '^application/x-gzip$' ]];then - /bin/zcat ${RENDER_FROM} > ${SVG_INSTANCE} - else - /bin/cat ${RENDER_FROM} > ${SVG_INSTANCE} - fi - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh deleted file mode 100755 index f1af3d3..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -###################################################################### -# -# svgz.sh -- This module is an interface of svg module. It helps to -# process svgz files using svg module. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function svgz { - - tcar_setModuleEnvironment -m 'svg' -t 'sibling' - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update.sh deleted file mode 100755 index 0c5895a..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update.sh -- This module standardizes update actions related to -# localization inside the repository. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update { - - tcar_setModuleEnvironment -m "${RENDER_TYPE}" -t "child" - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPoToMo.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPoToMo.sh deleted file mode 100755 index a06fdf2..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPoToMo.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_convertPoToMo.sh -- This function converts portable object -# (.po) files to machine object (.mo) files. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_convertPoToMo { - - # Print action message. - tcar_printMessage "${MO_FILE}" --as-creating-line - - # Verify absolute path to machine object directory, if it doesn't - # exist create it. - if [[ ! -d $(dirname ${MO_FILE}) ]];then - mkdir -p $(dirname ${MO_FILE}) - fi - - # Create machine object from portable object. - msgfmt --check ${PO_FILE} --output-file=${MO_FILE} - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPotToPo.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPotToPo.sh deleted file mode 100755 index 04a5b4f..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPotToPo.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_convertPotToPo.sh -- This function takes a portable object -# template (.pot) and creates a language-specific portable object -# (.po) for it. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_convertPotToPo { - - local POT_FILE="${1}" - local PO_FILE="${2}" - - # Verify the portable object template. The portable object - # template is used to create the portable object. We cannot - # continue without it. - tcar_checkFiles -ef ${POT_FILE} - - # Print action message. - tcar_printMessage "${PO_FILE}" --as-creating-line - - # Verify existence of portable object. The portable object is the - # file translators edit in order to make translation works. - if [[ -f ${PO_FILE} ]];then - - # Update portable object merging both portable object and - # portable object template. - msgmerge --output-file="${PO_FILE}" "${PO_FILE}" "${POT_FILE}" --quiet - - else - - # Create the PO's parent directory if it doesn't exist. - if [[ ! -d $(dirname ${PO_FILE}) ]];then - mkdir -p $(dirname ${PO_FILE}) - fi - - # Initiate portable object using portable object template. - # Do not print msginit sterr output, use centos-art action - # message instead. - msginit -i ${POT_FILE} -o ${PO_FILE} --width=70 \ - --no-translator > /dev/null 2>&1 - - fi - - # Sanitate metadata inside the PO file. - update_setPoMetadata "${PO_FILE}" - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh deleted file mode 100755 index b07a48c..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_convertXmlToPot.sh -- This function takes an XML file and -# creates a portable object template (.pot) for it. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_convertXmlToPot { - - local XML_FILE=${1} - local POT_FILE=${2} - - # Move to final location before processing source file in order - # for relative calls (e.g., image files) inside the source files - # can be found by xml2po and no warning be printed from it. - if [[ -d ${RENDER_TARGET} ]];then - pushd ${RENDER_TARGET} > /dev/null - fi - - cat ${XML_FILE} | xml2po -a -l ${TCAR_SCRIPT_LANG_LC} - \ - | msgcat --output-file=${POT_FILE} --width=70 --no-location - - - if [[ -d ${RENDER_TARGET} ]];then - popd > /dev/null - fi -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_getCountryName.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_getCountryName.sh deleted file mode 100755 index f0f1846..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_getCountryName.sh +++ /dev/null @@ -1,756 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_getCountryName.sh -- This function implements country names -# based on country codes as specified by ISO-3166. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_getCountryName { - - local COUNTRYNAME="`gettext "Unknown"`" - - case ${CLI_LANG_CC} in - - 'AD' ) - COUNTRYNAME="`gettext "Andorra"`" - ;; - 'AE' ) - COUNTRYNAME="`gettext "United Arab Emirates"`" - ;; - 'AF' ) - COUNTRYNAME="`gettext "Afghanistan"`" - ;; - 'AG' ) - COUNTRYNAME="`gettext "Antigua and Barbuda"`" - ;; - 'AI' ) - COUNTRYNAME="`gettext "Anguilla"`" - ;; - 'AL' ) - COUNTRYNAME="`gettext "Albania"`" - ;; - 'AM' ) - COUNTRYNAME="`gettext "Armenia"`" - ;; - 'AN' ) - COUNTRYNAME="`gettext "Netherlands Antilles"`" - ;; - 'AO' ) - COUNTRYNAME="`gettext "Angola"`" - ;; - 'AQ' ) - COUNTRYNAME="`gettext "Antarctica"`" - ;; - 'AR' ) - COUNTRYNAME="`gettext "Argentina"`" - ;; - 'AS' ) - COUNTRYNAME="`gettext "Samoa (American)"`" - ;; - 'AT' ) - COUNTRYNAME="`gettext "Austria"`" - ;; - 'AU' ) - COUNTRYNAME="`gettext "Australia"`" - ;; - 'AW' ) - COUNTRYNAME="`gettext "Aruba"`" - ;; - 'AZ' ) - COUNTRYNAME="`gettext "Azerbaijan"`" - ;; - 'BA' ) - COUNTRYNAME="`gettext "Bosnia and Herzegovina"`" - ;; - 'BB' ) - COUNTRYNAME="`gettext "Barbados"`" - ;; - 'BD' ) - COUNTRYNAME="`gettext "Bangladesh"`" - ;; - 'BE' ) - COUNTRYNAME="`gettext "Belgium"`" - ;; - 'BF' ) - COUNTRYNAME="`gettext "Burkina Faso"`" - ;; - 'BG' ) - COUNTRYNAME="`gettext "Bulgaria"`" - ;; - 'BH' ) - COUNTRYNAME="`gettext "Bahrain"`" - ;; - 'BI' ) - COUNTRYNAME="`gettext "Burundi"`" - ;; - 'BJ' ) - COUNTRYNAME="`gettext "Benin"`" - ;; - 'BM' ) - COUNTRYNAME="`gettext "Bermuda"`" - ;; - 'BN' ) - COUNTRYNAME="`gettext "Brunei"`" - ;; - 'BO' ) - COUNTRYNAME="`gettext "Bolivia"`" - ;; - 'BR' ) - COUNTRYNAME="`gettext "Brazil"`" - ;; - 'BS' ) - COUNTRYNAME="`gettext "Bahamas"`" - ;; - 'BT' ) - COUNTRYNAME="`gettext "Bhutan"`" - ;; - 'BV' ) - COUNTRYNAME="`gettext "Bouvet Island"`" - ;; - 'BW' ) - COUNTRYNAME="`gettext "Botswana"`" - ;; - 'BY' ) - COUNTRYNAME="`gettext "Belarus"`" - ;; - 'BZ' ) - COUNTRYNAME="`gettext "Belize"`" - ;; - 'CA' ) - COUNTRYNAME="`gettext "Canada"`" - ;; - 'CC' ) - COUNTRYNAME="`gettext "Cocos (Keeling) Islands"`" - ;; - 'CD' ) - COUNTRYNAME="`gettext "Congo (Dem. Rep.)"`" - ;; - 'CF' ) - COUNTRYNAME="`gettext "Central African Rep."`" - ;; - 'CG' ) - COUNTRYNAME="`gettext "Congo (Rep.)"`" - ;; - 'CH' ) - COUNTRYNAME="`gettext "Switzerland"`" - ;; - 'CI' ) - COUNTRYNAME="`gettext "Co^te d'Ivoire"`" - ;; - 'CK' ) - COUNTRYNAME="`gettext "Cook Islands"`" - ;; - 'CL' ) - COUNTRYNAME="`gettext "Chile"`" - ;; - 'CM' ) - COUNTRYNAME="`gettext "Cameroon"`" - ;; - 'CN' ) - COUNTRYNAME="`gettext "China"`" - ;; - 'CO' ) - COUNTRYNAME="`gettext "Colombia"`" - ;; - 'CR' ) - COUNTRYNAME="`gettext "Costa Rica"`" - ;; - 'CS' ) - COUNTRYNAME="`gettext "Serbia and Montenegro"`" - ;; - 'CU' ) - COUNTRYNAME="`gettext "Cuba"`" - ;; - 'CV' ) - COUNTRYNAME="`gettext "Cape Verde"`" - ;; - 'CX' ) - COUNTRYNAME="`gettext "Christmas Island"`" - ;; - 'CY' ) - COUNTRYNAME="`gettext "Cyprus"`" - ;; - 'CZ' ) - COUNTRYNAME="`gettext "Czech Republic"`" - ;; - 'DE' ) - COUNTRYNAME="`gettext "Germany"`" - ;; - 'DJ' ) - COUNTRYNAME="`gettext "Djibouti"`" - ;; - 'DK' ) - COUNTRYNAME="`gettext "Denmark"`" - ;; - 'DM' ) - COUNTRYNAME="`gettext "Dominica"`" - ;; - 'DO' ) - COUNTRYNAME="`gettext "Dominican Republic"`" - ;; - 'DZ' ) - COUNTRYNAME="`gettext "Algeria"`" - ;; - 'EC' ) - COUNTRYNAME="`gettext "Ecuador"`" - ;; - 'EE' ) - COUNTRYNAME="`gettext "Estonia"`" - ;; - 'EG' ) - COUNTRYNAME="`gettext "Egypt"`" - ;; - 'EH' ) - COUNTRYNAME="`gettext "Western Sahara"`" - ;; - 'ER' ) - COUNTRYNAME="`gettext "Eritrea"`" - ;; - 'ES' ) - COUNTRYNAME="`gettext "Spain"`" - ;; - 'ET' ) - COUNTRYNAME="`gettext "Ethiopia"`" - ;; - 'FI' ) - COUNTRYNAME="`gettext "Finland"`" - ;; - 'FJ' ) - COUNTRYNAME="`gettext "Fiji"`" - ;; - 'FK' ) - COUNTRYNAME="`gettext "Falkland Islands"`" - ;; - 'FM' ) - COUNTRYNAME="`gettext "Micronesia"`" - ;; - 'FO' ) - COUNTRYNAME="`gettext "Faeroe Islands"`" - ;; - 'FR' ) - COUNTRYNAME="`gettext "France"`" - ;; - 'GA' ) - COUNTRYNAME="`gettext "Gabon"`" - ;; - 'GB' ) - COUNTRYNAME="`gettext "Britain (UK)"`" - ;; - 'GD' ) - COUNTRYNAME="`gettext "Grenada"`" - ;; - 'GE' ) - COUNTRYNAME="`gettext "Georgia"`" - ;; - 'GF' ) - COUNTRYNAME="`gettext "French Guiana"`" - ;; - 'GH' ) - COUNTRYNAME="`gettext "Ghana"`" - ;; - 'GI' ) - COUNTRYNAME="`gettext "Gibraltar"`" - ;; - 'GL' ) - COUNTRYNAME="`gettext "Greenland"`" - ;; - 'GM' ) - COUNTRYNAME="`gettext "Gambia"`" - ;; - 'GN' ) - COUNTRYNAME="`gettext "Guinea"`" - ;; - 'GP' ) - COUNTRYNAME="`gettext "Guadeloupe"`" - ;; - 'GQ' ) - COUNTRYNAME="`gettext "Equatorial Guinea"`" - ;; - 'GR' ) - COUNTRYNAME="`gettext "Greece"`" - ;; - 'GS' ) - COUNTRYNAME="`gettext "South Georgia and the South Sandwich Islands"`" - ;; - 'GT' ) - COUNTRYNAME="`gettext "Guatemala"`" - ;; - 'GU' ) - COUNTRYNAME="`gettext "Guam"`" - ;; - 'GW' ) - COUNTRYNAME="`gettext "Guinea-Bissau"`" - ;; - 'GY' ) - COUNTRYNAME="`gettext "Guyana"`" - ;; - 'HK' ) - COUNTRYNAME="`gettext "Hong Kong"`" - ;; - 'HM' ) - COUNTRYNAME="`gettext "Heard Island and McDonald Islands"`" - ;; - 'HN' ) - COUNTRYNAME="`gettext "Honduras"`" - ;; - 'HR' ) - COUNTRYNAME="`gettext "Croatia"`" - ;; - 'HT' ) - COUNTRYNAME="`gettext "Haiti"`" - ;; - 'HU' ) - COUNTRYNAME="`gettext "Hungary"`" - ;; - 'ID' ) - COUNTRYNAME="`gettext "Indonesia"`" - ;; - 'IE' ) - COUNTRYNAME="`gettext "Ireland"`" - ;; - 'IL' ) - COUNTRYNAME="`gettext "Israel"`" - ;; - 'IN' ) - COUNTRYNAME="`gettext "India"`" - ;; - 'IO' ) - COUNTRYNAME="`gettext "British Indian Ocean Territory"`" - ;; - 'IQ' ) - COUNTRYNAME="`gettext "Iraq"`" - ;; - 'IR' ) - COUNTRYNAME="`gettext "Iran"`" - ;; - 'IS' ) - COUNTRYNAME="`gettext "Iceland"`" - ;; - 'IT' ) - COUNTRYNAME="`gettext "Italy"`" - ;; - 'JM' ) - COUNTRYNAME="`gettext "Jamaica"`" - ;; - 'JO' ) - COUNTRYNAME="`gettext "Jordan"`" - ;; - 'JP' ) - COUNTRYNAME="`gettext "Japan"`" - ;; - 'KE' ) - COUNTRYNAME="`gettext "Kenya"`" - ;; - 'KG' ) - COUNTRYNAME="`gettext "Kyrgyzstan"`" - ;; - 'KH' ) - COUNTRYNAME="`gettext "Cambodia"`" - ;; - 'KI' ) - COUNTRYNAME="`gettext "Kiribati"`" - ;; - 'KM' ) - COUNTRYNAME="`gettext "Comoros"`" - ;; - 'KN' ) - COUNTRYNAME="`gettext "St Kitts and Nevis"`" - ;; - 'KP' ) - COUNTRYNAME="`gettext "Korea (North)"`" - ;; - 'KR' ) - COUNTRYNAME="`gettext "Korea (South)"`" - ;; - 'KW' ) - COUNTRYNAME="`gettext "Kuwait"`" - ;; - 'KY' ) - COUNTRYNAME="`gettext "Cayman Islands"`" - ;; - 'KZ' ) - COUNTRYNAME="`gettext "Kazakhstan"`" - ;; - 'LA' ) - COUNTRYNAME="`gettext "Laos"`" - ;; - 'LB' ) - COUNTRYNAME="`gettext "Lebanon"`" - ;; - 'LC' ) - COUNTRYNAME="`gettext "St Lucia"`" - ;; - 'LI' ) - COUNTRYNAME="`gettext "Liechtenstein"`" - ;; - 'LK' ) - COUNTRYNAME="`gettext "Sri Lanka"`" - ;; - 'LR' ) - COUNTRYNAME="`gettext "Liberia"`" - ;; - 'LS' ) - COUNTRYNAME="`gettext "Lesotho"`" - ;; - 'LT' ) - COUNTRYNAME="`gettext "Lithuania"`" - ;; - 'LU' ) - COUNTRYNAME="`gettext "Luxembourg"`" - ;; - 'LV' ) - COUNTRYNAME="`gettext "Latvia"`" - ;; - 'LY' ) - COUNTRYNAME="`gettext "Libya"`" - ;; - 'MA' ) - COUNTRYNAME="`gettext "Morocco"`" - ;; - 'MC' ) - COUNTRYNAME="`gettext "Monaco"`" - ;; - 'MD' ) - COUNTRYNAME="`gettext "Moldova"`" - ;; - 'MG' ) - COUNTRYNAME="`gettext "Madagascar"`" - ;; - 'MH' ) - COUNTRYNAME="`gettext "Marshall Islands"`" - ;; - 'MK' ) - COUNTRYNAME="`gettext "Macedonia"`" - ;; - 'ML' ) - COUNTRYNAME="`gettext "Mali"`" - ;; - 'MM' ) - COUNTRYNAME="`gettext "Myanmar (Burma)"`" - ;; - 'MN' ) - COUNTRYNAME="`gettext "Mongolia"`" - ;; - 'MO' ) - COUNTRYNAME="`gettext "Macao"`" - ;; - 'MP' ) - COUNTRYNAME="`gettext "Northern Mariana Islands"`" - ;; - 'MQ' ) - COUNTRYNAME="`gettext "Martinique"`" - ;; - 'MR' ) - COUNTRYNAME="`gettext "Mauritania"`" - ;; - 'MS' ) - COUNTRYNAME="`gettext "Montserrat"`" - ;; - 'MT' ) - COUNTRYNAME="`gettext "Malta"`" - ;; - 'MU' ) - COUNTRYNAME="`gettext "Mauritius"`" - ;; - 'MV' ) - COUNTRYNAME="`gettext "Maldives"`" - ;; - 'MW' ) - COUNTRYNAME="`gettext "Malawi"`" - ;; - 'MX' ) - COUNTRYNAME="`gettext "Mexico"`" - ;; - 'MY' ) - COUNTRYNAME="`gettext "Malaysia"`" - ;; - 'MZ' ) - COUNTRYNAME="`gettext "Mozambique"`" - ;; - 'NA' ) - COUNTRYNAME="`gettext "Namibia"`" - ;; - 'NC' ) - COUNTRYNAME="`gettext "New Caledonia"`" - ;; - 'NE' ) - COUNTRYNAME="`gettext "Niger"`" - ;; - 'NF' ) - COUNTRYNAME="`gettext "Norfolk Island"`" - ;; - 'NG' ) - COUNTRYNAME="`gettext "Nigeria"`" - ;; - 'NI' ) - COUNTRYNAME="`gettext "Nicaragua"`" - ;; - 'NL' ) - COUNTRYNAME="`gettext "Netherlands"`" - ;; - 'NO' ) - COUNTRYNAME="`gettext "Norway"`" - ;; - 'NP' ) - COUNTRYNAME="`gettext "Nepal"`" - ;; - 'NR' ) - COUNTRYNAME="`gettext "Nauru"`" - ;; - 'NU' ) - COUNTRYNAME="`gettext "Niue"`" - ;; - 'NZ' ) - COUNTRYNAME="`gettext "New Zealand"`" - ;; - 'OM' ) - COUNTRYNAME="`gettext "Oman"`" - ;; - 'PA' ) - COUNTRYNAME="`gettext "Panama"`" - ;; - 'PE' ) - COUNTRYNAME="`gettext "Peru"`" - ;; - 'PF' ) - COUNTRYNAME="`gettext "French Polynesia"`" - ;; - 'PG' ) - COUNTRYNAME="`gettext "Papua New Guinea"`" - ;; - 'PH' ) - COUNTRYNAME="`gettext "Philippines"`" - ;; - 'PK' ) - COUNTRYNAME="`gettext "Pakistan"`" - ;; - 'PL' ) - COUNTRYNAME="`gettext "Poland"`" - ;; - 'PM' ) - COUNTRYNAME="`gettext "St Pierre and Miquelon"`" - ;; - 'PN' ) - COUNTRYNAME="`gettext "Pitcairn"`" - ;; - 'PR' ) - COUNTRYNAME="`gettext "Puerto Rico"`" - ;; - 'PS' ) - COUNTRYNAME="`gettext "Palestine"`" - ;; - 'PT' ) - COUNTRYNAME="`gettext "Portugal"`" - ;; - 'PW' ) - COUNTRYNAME="`gettext "Palau"`" - ;; - 'PY' ) - COUNTRYNAME="`gettext "Paraguay"`" - ;; - 'QA' ) - COUNTRYNAME="`gettext "Qatar"`" - ;; - 'RE' ) - COUNTRYNAME="`gettext "Reunion"`" - ;; - 'RO' ) - COUNTRYNAME="`gettext "Romania"`" - ;; - 'RU' ) - COUNTRYNAME="`gettext "Russia"`" - ;; - 'RW' ) - COUNTRYNAME="`gettext "Rwanda"`" - ;; - 'SA' ) - COUNTRYNAME="`gettext "Saudi Arabia"`" - ;; - 'SB' ) - COUNTRYNAME="`gettext "Solomon Islands"`" - ;; - 'SC' ) - COUNTRYNAME="`gettext "Seychelles"`" - ;; - 'SD' ) - COUNTRYNAME="`gettext "Sudan"`" - ;; - 'SE' ) - COUNTRYNAME="`gettext "Sweden"`" - ;; - 'SG' ) - COUNTRYNAME="`gettext "Singapore"`" - ;; - 'SH' ) - COUNTRYNAME="`gettext "St Helena"`" - ;; - 'SI' ) - COUNTRYNAME="`gettext "Slovenia"`" - ;; - 'SJ' ) - COUNTRYNAME="`gettext "Svalbard and Jan Mayen"`" - ;; - 'SK' ) - COUNTRYNAME="`gettext "Slovakia"`" - ;; - 'SL' ) - COUNTRYNAME="`gettext "Sierra Leone"`" - ;; - 'SM' ) - COUNTRYNAME="`gettext "San Marino"`" - ;; - 'SN' ) - COUNTRYNAME="`gettext "Senegal"`" - ;; - 'SO' ) - COUNTRYNAME="`gettext "Somalia"`" - ;; - 'SR' ) - COUNTRYNAME="`gettext "Suriname"`" - ;; - 'ST' ) - COUNTRYNAME="`gettext "Sao Tome and Principe"`" - ;; - 'SV' ) - COUNTRYNAME="`gettext "El Salvador"`" - ;; - 'SY' ) - COUNTRYNAME="`gettext "Syria"`" - ;; - 'SZ' ) - COUNTRYNAME="`gettext "Swaziland"`" - ;; - 'TC' ) - COUNTRYNAME="`gettext "Turks and Caicos Islands"`" - ;; - 'TD' ) - COUNTRYNAME="`gettext "Chad"`" - ;; - 'TF' ) - COUNTRYNAME="`gettext "French Southern and Antarctic Lands"`" - ;; - 'TG' ) - COUNTRYNAME="`gettext "Togo"`" - ;; - 'TH' ) - COUNTRYNAME="`gettext "Thailand"`" - ;; - 'TJ' ) - COUNTRYNAME="`gettext "Tajikistan"`" - ;; - 'TK' ) - COUNTRYNAME="`gettext "Tokelau"`" - ;; - 'TL' ) - COUNTRYNAME="`gettext "Timor-Leste"`" - ;; - 'TM' ) - COUNTRYNAME="`gettext "Turkmenistan"`" - ;; - 'TN' ) - COUNTRYNAME="`gettext "Tunisia"`" - ;; - 'TO' ) - COUNTRYNAME="`gettext "Tonga"`" - ;; - 'TR' ) - COUNTRYNAME="`gettext "Turkey"`" - ;; - 'TT' ) - COUNTRYNAME="`gettext "Trinidad and Tobago"`" - ;; - 'TV' ) - COUNTRYNAME="`gettext "Tuvalu"`" - ;; - 'TW' ) - COUNTRYNAME="`gettext "Taiwan"`" - ;; - 'TZ' ) - COUNTRYNAME="`gettext "Tanzania"`" - ;; - 'UA' ) - COUNTRYNAME="`gettext "Ukraine"`" - ;; - 'UG' ) - COUNTRYNAME="`gettext "Uganda"`" - ;; - 'UM' ) - COUNTRYNAME="`gettext "US minor outlying islands"`" - ;; - 'US' ) - COUNTRYNAME="`gettext "United States"`" - ;; - 'UY' ) - COUNTRYNAME="`gettext "Uruguay"`" - ;; - 'UZ' ) - COUNTRYNAME="`gettext "Uzbekistan"`" - ;; - 'VA' ) - COUNTRYNAME="`gettext "Vatican City"`" - ;; - 'VC' ) - COUNTRYNAME="`gettext "St Vincent"`" - ;; - 'VE' ) - COUNTRYNAME="`gettext "Venezuela"`" - ;; - 'VG' ) - COUNTRYNAME="`gettext "Virgin Islands (UK)"`" - ;; - 'VI' ) - COUNTRYNAME="`gettext "Virgin Islands (US)"`" - ;; - 'VN' ) - COUNTRYNAME="`gettext "Vietnam"`" - ;; - 'VU' ) - COUNTRYNAME="`gettext "Vanuatu"`" - ;; - 'WF' ) - COUNTRYNAME="`gettext "Wallis and Futuna"`" - ;; - 'WS' ) - COUNTRYNAME="`gettext "Samoa (Western)"`" - ;; - 'YE' ) - COUNTRYNAME="`gettext "Yemen"`" - ;; - 'YT' ) - COUNTRYNAME="`gettext "Mayotte"`" - ;; - 'ZA' ) - COUNTRYNAME="`gettext "South Africa"`" - ;; - 'ZM' ) - COUNTRYNAME="`gettext "Zambia"`" - ;; - 'ZW' ) - COUNTRYNAME="`gettext "Zimbabwe"`" - ;; - - esac - - echo ${COUNTRYNAME} - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_getLanguageName.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_getLanguageName.sh deleted file mode 100755 index 56d5692..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_getLanguageName.sh +++ /dev/null @@ -1,778 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_getLanguageName.sh -- This function implements language -# names based on language codes as specified by ISO-639. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_getLanguageName { - - local LANGNAME="`gettext "Unknown"`" - - case ${TCAR_SCRIPT_LANG_LL} in - - 'aa' ) - LANGNAME="`gettext "Afar"`" - ;; - - 'ab' ) - LANGNAME="`gettext "Abkhazian"`" - ;; - - 'ae' ) - LANGNAME="`gettext "Avestan"`" - ;; - - 'af' ) - LANGNAME="`gettext "Afrikaans"`" - ;; - - 'ak' ) - LANGNAME="`gettext "Akan"`" - ;; - - 'am' ) - LANGNAME="`gettext "Amharic"`" - ;; - - 'an' ) - LANGNAME="`gettext "Aragonese"`" - ;; - - 'ar' ) - LANGNAME="`gettext "Arabic"`" - ;; - - 'as' ) - LANGNAME="`gettext "Assamese"`" - ;; - - 'av' ) - LANGNAME="`gettext "Avaric"`" - ;; - - 'ay' ) - LANGNAME="`gettext "Aymara"`" - ;; - - 'az' ) - LANGNAME="`gettext "Azerbaijani"`" - ;; - - 'ba' ) - LANGNAME="`gettext "Bashkir"`" - ;; - - 'be' ) - LANGNAME="`gettext "Byelorussian"`" - ;; - - 'bg' ) - LANGNAME="`gettext "Bulgarian"`" - ;; - - 'bh' ) - LANGNAME="`gettext "Bihari"`" - ;; - - 'bi' ) - LANGNAME="`gettext "Bislama"`" - ;; - - 'bm' ) - LANGNAME="`gettext "Bambara"`" - ;; - - 'bn' ) - LANGNAME="`gettext "Bengali"`" - ;; - - 'bo' ) - LANGNAME="`gettext "Tibetan"`" - ;; - - 'br' ) - LANGNAME="`gettext "Breton"`" - ;; - - 'bs' ) - LANGNAME="`gettext "Bosnian"`" - ;; - - 'ca' ) - LANGNAME="`gettext "Catalan"`" - ;; - - 'ce' ) - LANGNAME="`gettext "Chechen"`" - ;; - - 'ch' ) - LANGNAME="`gettext "Chamorro"`" - ;; - - 'co' ) - LANGNAME="`gettext "Corsican"`" - ;; - - 'cr' ) - LANGNAME="`gettext "Cree"`" - ;; - - 'cs' ) - LANGNAME="`gettext "Czech"`" - ;; - - 'cu' ) - LANGNAME="`gettext "Church Slavic"`" - ;; - - 'cv' ) - LANGNAME="`gettext "Chuvash"`" - ;; - - 'cy' ) - LANGNAME="`gettext "Welsh"`" - ;; - - 'da' ) - LANGNAME="`gettext "Danish"`" - ;; - - 'de' ) - LANGNAME="`gettext "German"`" - ;; - - 'dv' ) - LANGNAME="`gettext "Divehi"`" - ;; - - 'dz' ) - LANGNAME="`gettext "Dzongkha"`" - ;; - - 'ee' ) - LANGNAME="`gettext "E'we"`" - ;; - - 'el' ) - LANGNAME="`gettext "Greek"`" - ;; - - 'en' ) - LANGNAME="`gettext "English"`" - ;; - - 'eo' ) - LANGNAME="`gettext "Esperanto"`" - ;; - - 'es' ) - LANGNAME="`gettext "Spanish"`" - ;; - - 'et' ) - LANGNAME="`gettext "Estonian"`" - ;; - - 'eu' ) - LANGNAME="`gettext "Basque"`" - ;; - - 'fa' ) - LANGNAME="`gettext "Persian"`" - ;; - - 'ff' ) - LANGNAME="`gettext "Fulah"`" - ;; - - 'fi' ) - LANGNAME="`gettext "Finnish"`" - ;; - - 'fj' ) - LANGNAME="`gettext "Fijian"`" - ;; - - 'fo' ) - LANGNAME="`gettext "Faroese"`" - ;; - - 'fr' ) - LANGNAME="`gettext "French"`" - ;; - - 'fy' ) - LANGNAME="`gettext "Frisian"`" - ;; - - 'ga' ) - LANGNAME="`gettext "Irish"`" - ;; - - 'gd' ) - LANGNAME="`gettext "Scots"`" - ;; - - 'gl' ) - LANGNAME="`gettext "Gallegan"`" - ;; - - 'gn' ) - LANGNAME="`gettext "Guarani"`" - ;; - - 'gu' ) - LANGNAME="`gettext "Gujarati"`" - ;; - - 'gv' ) - LANGNAME="`gettext "Manx"`" - ;; - - 'ha' ) - LANGNAME="`gettext "Hausa"`" - ;; - - 'he' ) - LANGNAME="`gettext "Hebrew"`" - ;; - - 'hi' ) - LANGNAME="`gettext "Hindi"`" - ;; - - 'ho' ) - LANGNAME="`gettext "Hiri Motu"`" - ;; - - 'hr' ) - LANGNAME="`gettext "Croatian"`" - ;; - - 'ht' ) - LANGNAME="`gettext "Haitian"`" - ;; - - 'hu' ) - LANGNAME="`gettext "Hungarian"`" - ;; - - 'hy' ) - LANGNAME="`gettext "Armenian"`" - ;; - - 'hz' ) - LANGNAME="`gettext "Herero"`" - ;; - - 'ia' ) - LANGNAME="`gettext "Interlingua"`" - ;; - - 'id' ) - LANGNAME="`gettext "Indonesian"`" - ;; - - 'ie' ) - LANGNAME="`gettext "Interlingue"`" - ;; - - 'ig' ) - LANGNAME="`gettext "Igbo"`" - ;; - - 'ii' ) - LANGNAME="`gettext "Sichuan Yi"`" - ;; - - 'ik' ) - LANGNAME="`gettext "Inupiak"`" - ;; - - 'io' ) - LANGNAME="`gettext "Ido"`" - ;; - - 'is' ) - LANGNAME="`gettext "Icelandic"`" - ;; - - 'it' ) - LANGNAME="`gettext "Italian"`" - ;; - - 'iu' ) - LANGNAME="`gettext "Inuktitut"`" - ;; - - 'ja' ) - LANGNAME="`gettext "Japanese"`" - ;; - - 'jv' ) - LANGNAME="`gettext "Javanese"`" - ;; - - 'ka' ) - LANGNAME="`gettext "Georgian"`" - ;; - - 'kg' ) - LANGNAME="`gettext "Kongo"`" - ;; - - 'ki' ) - LANGNAME="`gettext "Kikuyu"`" - ;; - - 'kj' ) - LANGNAME="`gettext "Kuanyama"`" - ;; - - 'kk' ) - LANGNAME="`gettext "Kazakh"`" - ;; - - 'kl' ) - LANGNAME="`gettext "Kalaallisut"`" - ;; - - 'km' ) - LANGNAME="`gettext "Khmer"`" - ;; - - 'kn' ) - LANGNAME="`gettext "Kannada"`" - ;; - - 'ko' ) - LANGNAME="`gettext "Korean"`" - ;; - - 'kr' ) - LANGNAME="`gettext "Kanuri"`" - ;; - - 'ks' ) - LANGNAME="`gettext "Kashmiri"`" - ;; - - 'ku' ) - LANGNAME="`gettext "Kurdish"`" - ;; - - 'kv' ) - LANGNAME="`gettext "Komi"`" - ;; - - 'kw' ) - LANGNAME="`gettext "Cornish"`" - ;; - - 'ky' ) - LANGNAME="`gettext "Kirghiz"`" - ;; - - 'la' ) - LANGNAME="`gettext "Latin"`" - ;; - - 'lb' ) - LANGNAME="`gettext "Letzeburgesch"`" - ;; - - 'lg' ) - LANGNAME="`gettext "Ganda"`" - ;; - - 'li' ) - LANGNAME="`gettext "Limburgish"`" - ;; - - 'ln' ) - LANGNAME="`gettext "Lingala"`" - ;; - - 'lo' ) - LANGNAME="`gettext "Lao"`" - ;; - - 'lt' ) - LANGNAME="`gettext "Lithuanian"`" - ;; - - 'lu' ) - LANGNAME="`gettext "Luba-Katanga"`" - ;; - - 'lv' ) - LANGNAME="`gettext "Latvian"`" - ;; - - 'mg' ) - LANGNAME="`gettext "Malagasy"`" - ;; - - 'mh' ) - LANGNAME="`gettext "Marshall"`" - ;; - - 'mi' ) - LANGNAME="`gettext "Maori"`" - ;; - - 'mk' ) - LANGNAME="`gettext "Macedonian"`" - ;; - - 'ml' ) - LANGNAME="`gettext "Malayalam"`" - ;; - - 'mn' ) - LANGNAME="`gettext "Mongolian"`" - ;; - - 'mo' ) - LANGNAME="`gettext "Moldavian"`" - ;; - - 'mr' ) - LANGNAME="`gettext "Marathi"`" - ;; - - 'ms' ) - LANGNAME="`gettext "Malay"`" - ;; - - 'mt' ) - LANGNAME="`gettext "Maltese"`" - ;; - - 'my' ) - LANGNAME="`gettext "Burmese"`" - ;; - - 'na' ) - LANGNAME="`gettext "Nauru"`" - ;; - - 'nb' ) - LANGNAME="`gettext "Norwegian Bokmaal"`" - ;; - - 'nd' ) - LANGNAME="`gettext "Ndebele, North"`" - ;; - - 'ne' ) - LANGNAME="`gettext "Nepali"`" - ;; - - 'ng' ) - LANGNAME="`gettext "Ndonga"`" - ;; - - 'nl' ) - LANGNAME="`gettext "Dutch"`" - ;; - - 'nn' ) - LANGNAME="`gettext "Norwegian Nynorsk"`" - ;; - - 'no' ) - LANGNAME="`gettext "Norwegian"`" - ;; - - 'nr' ) - LANGNAME="`gettext "Ndebele, South"`" - ;; - - 'nv' ) - LANGNAME="`gettext "Navajo"`" - ;; - - 'ny' ) - LANGNAME="`gettext "Chichewa"`" - ;; - - 'oc' ) - LANGNAME="`gettext "Occitan"`" - ;; - - 'oj' ) - LANGNAME="`gettext "Ojibwa"`" - ;; - - 'om' ) - LANGNAME="`gettext "(Afan) Oromo"`" - ;; - - 'or' ) - LANGNAME="`gettext "Oriya"`" - ;; - - 'os' ) - LANGNAME="`gettext "Ossetian; Ossetic"`" - ;; - - 'pa' ) - LANGNAME="`gettext "Panjabi; Punjabi"`" - ;; - - 'pi' ) - LANGNAME="`gettext "Pali"`" - ;; - - 'pl' ) - LANGNAME="`gettext "Polish"`" - ;; - - 'ps' ) - LANGNAME="`gettext "Pashto, Pushto"`" - ;; - - 'pt' ) - LANGNAME="`gettext "Portuguese"`" - ;; - - 'qu' ) - LANGNAME="`gettext "Quechua"`" - ;; - - 'rm' ) - LANGNAME="`gettext "Rhaeto-Romance"`" - ;; - - 'rn' ) - LANGNAME="`gettext "Rundi"`" - ;; - - 'ro' ) - LANGNAME="`gettext "Romanian"`" - ;; - - 'ru' ) - LANGNAME="`gettext "Russian"`" - ;; - - 'rw' ) - LANGNAME="`gettext "Kinyarwanda"`" - ;; - - 'sa' ) - LANGNAME="`gettext "Sanskrit"`" - ;; - - 'sc' ) - LANGNAME="`gettext "Sardinian"`" - ;; - - 'sd' ) - LANGNAME="`gettext "Sindhi"`" - ;; - - 'se' ) - LANGNAME="`gettext "Northern Sami"`" - ;; - - 'sg' ) - LANGNAME="`gettext "Sango; Sangro"`" - ;; - - 'si' ) - LANGNAME="`gettext "Sinhalese"`" - ;; - - 'sk' ) - LANGNAME="`gettext "Slovak"`" - ;; - - 'sl' ) - LANGNAME="`gettext "Slovenian"`" - ;; - - 'sm' ) - LANGNAME="`gettext "Samoan"`" - ;; - - 'sn' ) - LANGNAME="`gettext "Shona"`" - ;; - - 'so' ) - LANGNAME="`gettext "Somali"`" - ;; - - 'sq' ) - LANGNAME="`gettext "Albanian"`" - ;; - - 'sr' ) - LANGNAME="`gettext "Serbian"`" - ;; - - 'ss' ) - LANGNAME="`gettext "Swati; Siswati"`" - ;; - - 'st' ) - LANGNAME="`gettext "Sesotho; Sotho, Southern"`" - ;; - - 'su' ) - LANGNAME="`gettext "Sundanese"`" - ;; - - 'sv' ) - LANGNAME="`gettext "Swedish"`" - ;; - - 'sw' ) - LANGNAME="`gettext "Swahili"`" - ;; - - 'ta' ) - LANGNAME="`gettext "Tamil"`" - ;; - - 'te' ) - LANGNAME="`gettext "Telugu"`" - ;; - - 'tg' ) - LANGNAME="`gettext "Tajik"`" - ;; - - 'th' ) - LANGNAME="`gettext "Thai"`" - ;; - - 'ti' ) - LANGNAME="`gettext "Tigrinya"`" - ;; - - 'tk' ) - LANGNAME="`gettext "Turkmen"`" - ;; - - 'tl' ) - LANGNAME="`gettext "Tagalog"`" - ;; - - 'tn' ) - LANGNAME="`gettext "Tswana; Setswana"`" - ;; - - 'to' ) - LANGNAME="`gettext "Tonga (?)"`" - ;; - - 'tr' ) - LANGNAME="`gettext "Turkish"`" - ;; - - 'ts' ) - LANGNAME="`gettext "Tsonga"`" - ;; - - 'tt' ) - LANGNAME="`gettext "Tatar"`" - ;; - - 'tw' ) - LANGNAME="`gettext "Twi"`" - ;; - - 'ty' ) - LANGNAME="`gettext "Tahitian"`" - ;; - - 'ug' ) - LANGNAME="`gettext "Uighur"`" - ;; - - 'uk' ) - LANGNAME="`gettext "Ukrainian"`" - ;; - - 'ur' ) - LANGNAME="`gettext "Urdu"`" - ;; - - 'uz' ) - LANGNAME="`gettext "Uzbek"`" - ;; - - 've' ) - LANGNAME="`gettext "Venda"`" - ;; - - 'vi' ) - LANGNAME="`gettext "Vietnamese"`" - ;; - - 'vo' ) - LANGNAME="`gettext "Volapuk; Volapuk"`" - ;; - - 'wa' ) - LANGNAME="`gettext "Walloon"`" - ;; - - 'wo' ) - LANGNAME="`gettext "Wolof"`" - ;; - - 'xh' ) - LANGNAME="`gettext "Xhosa"`" - ;; - - 'yi' ) - LANGNAME="`gettext "Yiddish (formerly ji)"`" - ;; - - 'yo' ) - LANGNAME="`gettext "Yoruba"`" - ;; - - 'za' ) - LANGNAME="`gettext "Zhuang"`" - ;; - - 'zh' ) - LANGNAME="`gettext "Chinese"`" - ;; - - 'zu' ) - LANGNAME="`gettext "Zulu"`" - ;; - - esac - - echo ${LANGNAME} - -} diff --git a/tcar-scripts-locale/Modules/Files/Modules/Update/update_setPoMetadata.sh b/tcar-scripts-locale/Modules/Files/Modules/Update/update_setPoMetadata.sh deleted file mode 100755 index 438e8d8..0000000 --- a/tcar-scripts-locale/Modules/Files/Modules/Update/update_setPoMetadata.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash -###################################################################### -# -# update_setPoMetadata -- This function sets metadata to portable -# object (.po) files, using CentOS-specific data. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function update_setPoMetadata { - - local COUNT=0 - local -a SRC - local -a DST - - # Retrieve absolute path of portable object we'll work with. - local PO_FILE="${1}" - - # Check existence of file before work with it. - tcar_checkFiles -ef "${PO_FILE}" - - # Define pattern lines. The pattern lines are put inside portable - # objects through xgettext and xml2po commands. In the case of - # Last-Translators, be sure to remplace it only when it is empty - # or refer the Documentation SIG only. This way translators' names - # will survive metadata updates. We don't want they have to type - # their name each time they edit a file. - SRC[0]="\"Project-Id-Version: (.+)?" - SRC[1]="\"Last-Translator: (.+)?" - SRC[2]="\"Language-Team: (.+)?" - SRC[3]="\"PO-Revision-Date: (.+)?" - - # Define replacement lines for pattern line. - DST[0]="\"Project-Id-Version: ${PACKAGE_NAME} ${PACKAGE_VERSION}\\\n\"" - DST[1]="\"Last-Translator: Localization SIG \\\n\"" - DST[2]="\"Language-Team: $(update_getLanguageName)\\\n\"" - DST[3]="\"PO-Revision-Date: $(date "+%F %H:%M%z")\\\n\"" - - # Change pattern lines with their replacement lines. - while [[ ${COUNT} -lt ${#SRC[*]} ]];do - sed -i -r "/${SRC[${COUNT}]}/c${DST[${COUNT}]}" ${PO_FILE} - COUNT=$((${COUNT} + 1)) - done - - # Replace package information using gettext domain information. - # Don't include version here to prevent old version to be shown in - # the comment area when new versions of the package are created. - sed -i -r "s/PACKAGE/${PACKAGE_NAME}/g" ${PO_FILE} - - # Remove absolute path to the working copy so it doesn't appear on - # comments related to locations. Remember that people can download - # their working copies in different locations and we don't want to - # version those changes each time a translation message be - # updated. To be consistent about this, show path information from - # first level on. Don't show the variable part of the path. - sed -i -r "s,${TCAR_BASEDIR}/,,g" ${PO_FILE} - - # Unset array variables to avoid undesired concatenations. - unset SRC - unset DST - -} diff --git a/tcar-scripts-locale/Modules/Files/files.sh b/tcar-scripts-locale/Modules/Files/files.sh deleted file mode 100755 index 11fc224..0000000 --- a/tcar-scripts-locale/Modules/Files/files.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash -###################################################################### -# -# file.sh -- This module sets file-specific information needed by -# localization actions and executes the actions requested through -# the command-line. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function files { - - # Define absolute path of argument passed in the command-line. - local RENDER_FROM=$(tcar_checkRepoDirSource "${1}") - - # Verify the argument passed in the command-line is a regular - # file. - tcar_checkFiles -ef ${RENDER_FROM} - - # Retrieve the file extension of argument provided in the - # command-line. - local RENDER_TYPE=$(echo ${RENDER_FROM} | sed -r 's/.+\.([[:alnum:]]+)$/\1/') - - # Define location where final content will be stored. This is - # required for producing docbook document that contain relative - # paths inside (e.g., relative calls to image files) correctly. - RENDER_TARGET=$(dirname ${RENDER_FROM})/Final/${TCAR_SCRIPT_LANG_LC} - - # Define absolute path of directory holding localization files. - local LOCALE_FROM=$(dirname ${RENDER_FROM})/Locales - if [[ ! -d ${LOCALE_FROM} ]];then - mkdir ${LOCALE_FROM} - fi - - # Define package name written in POT and PO files. This is the - # name of the initialization file you provided as argument to the - # command line to provide localization for. - local PACKAGE_NAME=$(basename ${RENDER_FROM}) - - # Define package version written in POT and PO files. The script - # version is used here. Modules doesn't have a version by now. - # They share the same version of the centos-art.sh script. - local PACKAGE_VERSION=${TCAR_SCRIPT_VERSION} - - # Define absolute path to portable and machine objects. - local POT_FILE=$(tcar_getTemporalFile "${PACKAGE_NAME}.pot") - local PO_FILE=${LOCALE_FROM}/${TCAR_SCRIPT_LANG_LC}/${PACKAGE_NAME}.po - local MO_FILE=${LOCALE_FROM}/${TCAR_SCRIPT_LANG_LC}/LC_MESSAGES/${PACKAGE_NAME}.mo - - # Execute actions using the variables defined here as reference. - for ACTION in ${ACTIONS};do - tcar_setModuleEnvironment -m "${ACTION}" -t 'child' - done - -} diff --git a/tcar-scripts-locale/locale.sh b/tcar-scripts-locale/locale.sh deleted file mode 100755 index 746b659..0000000 --- a/tcar-scripts-locale/locale.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash -###################################################################### -# -# locale.sh -- This module standardizes localization inside the -# repository. The locale module provides three ways of producing -# localization files: -# -# 1. Produce localization for one file only (when a regular file -# is provided as argument in the command-line), -# -# 2. Produce localization files for all files in the current -# directory you provided in the command-line (when a directory -# is provided as argument), and -# -# 3. Produce localization files for all files in the current -# directory recursively (when a directory is provided as -# argument in the command-line and the --recursive option is -# also provided). -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function locale { - - # Define flags controlling they way locale module produce - # localization files. - local LOCALE_FLAG_RECURSIVE="false" - - # Initialize module's actions. - local ACTIONS='' - - # Redefine module's actions based on arguments passed through - # command-line. - locale_getOptions - - # Verify the current locale information to avoid English messages - # from being localized to themselves. The English language is used - # as reference to write translatable strings inside the source - # files. - if [[ ${TCAR_SCRIPT_LANG_LC} =~ '^C$' ]];then - tcar_printMessage "`gettext "The C locale cannot be localized to itself."`" --as-error-line - fi - - # Process arguments passed to locale module, based on whether they - # are files or directories. - for ARGUMENT in ${TCAR_MODULE_ARGUMENT};do - - local ARGUMENT=$(tcar_checkRepoDirSource "${ARGUMENT}") - - if [[ -f ${ARGUMENT} ]];then - tcar_setModuleEnvironment -m "files" -t "child" -g "${ARGUMENT}" - elif [[ -d ${ARGUMENT} ]];then - tcar_setModuleEnvironment -m "directories" -t "child" -g "${ARGUMENT}" - else - tcar_printMessage "`gettext "The argument provided isn't valid."`" --as-error-line - fi - - done - -} diff --git a/tcar-scripts-locale/locale_getOptions.sh b/tcar-scripts-locale/locale_getOptions.sh deleted file mode 100755 index d05c90c..0000000 --- a/tcar-scripts-locale/locale_getOptions.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/bash -###################################################################### -# -# locale_getOptions.sh -- Initialize the command-line options used -# by locale module. -# -# Written by: -# * Alain Reguera Delgado , 2009-2013 -# -# Copyright (C) 2009-2013 The CentOS Artwork SIG -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -###################################################################### - -function locale_getOptions { - - # Define short options we want to support. - local ARGSS="h::,v,f:,u,e,d,r" - - # Define long options we want to support. - local ARGSL="help::,version,filter:,update,edit,delete,recursive" - - # Redefine arguments using getopt(1) command parser. - tcar_setModuleArguments - - # Reset positional parameters on this function, using output - # produced from (getopt) arguments parser. - eval set -- "${TCAR_MODULE_ARGUMENT}" - - # Look for options passed through command-line. - while true; do - case "${1}" in - - -h | --help ) - tcar_printHelp "${2}" - ;; - - -v | --version ) - tcar_printVersion "${TCAR_MODULE_NAME}" - ;; - - -f | --filter ) - TCAR_FLAG_FILTER="${2:-${TCAR_FLAG_FILTER}}" - shift 2 - ;; - - -u | --update ) - ACTIONS="${ACTIONS} update" - shift 1 - ;; - - -e | --edit ) - ACTIONS="${ACTIONS} edit" - shift 1 - ;; - - -d | --delete ) - ACTIONS="${ACTIONS} delete" - shift 1 - ;; - - -r | --recursive ) - LOCALE_FLAG_RECURSIVE="true" - shift 1 - ;; - - -- ) - shift 1 - break - ;; - esac - done - - # Define default module actions. - ACTIONS=${ACTIONS:-'update'} - - # Redefine arguments using current positional parameters. Only - # paths should remain as arguments, at this point. - TCAR_MODULE_ARGUMENT="${@}" - -}