From c2ea772168cc89d7ca8f010934d0aa76334d95a8 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 13 2013 01:56:59 +0000 Subject: Merge branch 'tcar-scripts-locale' into tcar --- diff --git a/tcar-scripts-locale/Locales/es_ES/locale.sh.po b/tcar-scripts-locale/Locales/es_ES/locale.sh.po new file mode 100644 index 0000000..4966345 --- /dev/null +++ b/tcar-scripts-locale/Locales/es_ES/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/tcar-scripts-locale/Modules/Directories/directories.sh b/tcar-scripts-locale/Modules/Directories/directories.sh new file mode 100755 index 0000000..2d1afa7 --- /dev/null +++ b/tcar-scripts-locale/Modules/Directories/directories.sh @@ -0,0 +1,86 @@ +#!/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 new file mode 100755 index 0000000..3727141 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Delete/delete.sh @@ -0,0 +1,41 @@ +#!/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 new file mode 100755 index 0000000..0b0c6d9 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Edit/edit.sh @@ -0,0 +1,36 @@ +#!/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 new file mode 100755 index 0000000..21233c1 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc.sh @@ -0,0 +1,40 @@ +#!/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 new file mode 100755 index 0000000..02a98ec --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Asciidoc/asciidoc_convertAsciidocToDocbook.sh @@ -0,0 +1,50 @@ +#!/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 new file mode 100755 index 0000000..de0bacf --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Conf/conf.sh @@ -0,0 +1,104 @@ +#!/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 new file mode 100755 index 0000000..9e31bf2 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Sh/sh.sh @@ -0,0 +1,86 @@ +#!/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 new file mode 100755 index 0000000..14fbd2b --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg.sh @@ -0,0 +1,38 @@ +#!/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 new file mode 100755 index 0000000..e00951a --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svg/svg_createSvgInstance.sh @@ -0,0 +1,37 @@ +#!/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 new file mode 100755 index 0000000..f1af3d3 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/Modules/Svgz/svgz.sh @@ -0,0 +1,32 @@ +#!/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 new file mode 100755 index 0000000..0c5895a --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update.sh @@ -0,0 +1,32 @@ +#!/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 new file mode 100755 index 0000000..a06fdf2 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPoToMo.sh @@ -0,0 +1,42 @@ +#!/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 new file mode 100755 index 0000000..04a5b4f --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertPotToPo.sh @@ -0,0 +1,68 @@ +#!/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 new file mode 100755 index 0000000..b07a48c --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_convertXmlToPot.sh @@ -0,0 +1,46 @@ +#!/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 new file mode 100755 index 0000000..f0f1846 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_getCountryName.sh @@ -0,0 +1,756 @@ +#!/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 new file mode 100755 index 0000000..56d5692 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_getLanguageName.sh @@ -0,0 +1,778 @@ +#!/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 new file mode 100755 index 0000000..438e8d8 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/Modules/Update/update_setPoMetadata.sh @@ -0,0 +1,80 @@ +#!/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 new file mode 100755 index 0000000..11fc224 --- /dev/null +++ b/tcar-scripts-locale/Modules/Files/files.sh @@ -0,0 +1,73 @@ +#!/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 new file mode 100755 index 0000000..746b659 --- /dev/null +++ b/tcar-scripts-locale/locale.sh @@ -0,0 +1,78 @@ +#!/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 new file mode 100755 index 0000000..d05c90c --- /dev/null +++ b/tcar-scripts-locale/locale_getOptions.sh @@ -0,0 +1,94 @@ +#!/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="${@}" + +}