Blame Scripts/Bash/Functions/cli_getCountryName.sh

878a2b
#!/bin/bash
878a2b
#
878a2b
# cli_getCountryName.sh -- This function reads one language locale
878a2b
# code in the format LL_CC and outputs the name of its related
878a2b
# country.
878a2b
#
878a2b
# Copyright (C) 2009, 2010, 2011 The CentOS Project
878a2b
#
878a2b
# This program is free software; you can redistribute it and/or modify
878a2b
# it under the terms of the GNU General Public License as published by
878a2b
# the Free Software Foundation; either version 2 of the License, or (at
878a2b
# your option) any later version.
878a2b
#
878a2b
# This program is distributed in the hope that it will be useful, but
878a2b
# WITHOUT ANY WARRANTY; without even the implied warranty of
878a2b
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
878a2b
# General Public License for more details.
878a2b
#
878a2b
# You should have received a copy of the GNU General Public License
878a2b
# along with this program; if not, write to the Free Software
878a2b
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
878a2b
#
878a2b
# ----------------------------------------------------------------------
878a2b
# $Id$
878a2b
# ----------------------------------------------------------------------
878a2b
878a2b
function cli_getCountryName {
878a2b
878a2b
    local LOCALECODE="$(echo $1 | cut -d_ -f2)"
878a2b
    local COUNTRYNAME=""
878a2b
878a2b
    case $LOCALECODE in
878a2b
878a2b
	'AD' )
878a2b
        COUNTRYNAME="`gettext "Andorra"`"
878a2b
        ;;
878a2b
	'AE' )
878a2b
        COUNTRYNAME="`gettext "United Arab Emirates"`"
878a2b
        ;;
878a2b
	'AF' )
878a2b
        COUNTRYNAME="`gettext "Afghanistan"`"
878a2b
        ;;
878a2b
	'AG' )
878a2b
        COUNTRYNAME="`gettext "Antigua and Barbuda"`"
878a2b
        ;;
878a2b
	'AI' )
878a2b
        COUNTRYNAME="`gettext "Anguilla"`"
878a2b
        ;;
878a2b
	'AL' )
878a2b
        COUNTRYNAME="`gettext "Albania"`"
878a2b
        ;;
878a2b
	'AM' )
878a2b
        COUNTRYNAME="`gettext "Armenia"`"
878a2b
        ;;
878a2b
	'AN' )
878a2b
        COUNTRYNAME="`gettext "Netherlands Antilles"`"
878a2b
        ;;
878a2b
	'AO' )
878a2b
        COUNTRYNAME="`gettext "Angola"`"
878a2b
        ;;
878a2b
	'AQ' )
878a2b
        COUNTRYNAME="`gettext "Antarctica"`"
878a2b
        ;;
878a2b
	'AR' )
878a2b
        COUNTRYNAME="`gettext "Argentina"`"
878a2b
        ;;
878a2b
	'AS' )
878a2b
        COUNTRYNAME="`gettext "Samoa (American)"`"
878a2b
        ;;
878a2b
	'AT' )
878a2b
        COUNTRYNAME="`gettext "Austria"`"
878a2b
        ;;
878a2b
	'AU' )
878a2b
        COUNTRYNAME="`gettext "Australia"`"
878a2b
        ;;
878a2b
	'AW' )
878a2b
        COUNTRYNAME="`gettext "Aruba"`"
878a2b
        ;;
878a2b
	'AZ' )
878a2b
        COUNTRYNAME="`gettext "Azerbaijan"`"
878a2b
        ;;
878a2b
	'BA' )
878a2b
        COUNTRYNAME="`gettext "Bosnia and Herzegovina"`"
878a2b
        ;;
878a2b
	'BB' )
878a2b
        COUNTRYNAME="`gettext "Barbados"`"
878a2b
        ;;
878a2b
	'BD' )
878a2b
        COUNTRYNAME="`gettext "Bangladesh"`"
878a2b
        ;;
878a2b
	'BE' )
878a2b
        COUNTRYNAME="`gettext "Belgium"`"
878a2b
        ;;
878a2b
	'BF' )
878a2b
        COUNTRYNAME="`gettext "Burkina Faso"`"
878a2b
        ;;
878a2b
	'BG' )
878a2b
        COUNTRYNAME="`gettext "Bulgaria"`"
878a2b
        ;;
878a2b
	'BH' )
878a2b
        COUNTRYNAME="`gettext "Bahrain"`"
878a2b
        ;;
878a2b
	'BI' )
878a2b
        COUNTRYNAME="`gettext "Burundi"`"
878a2b
        ;;
878a2b
	'BJ' )
878a2b
        COUNTRYNAME="`gettext "Benin"`"
878a2b
        ;;
878a2b
	'BM' )
878a2b
        COUNTRYNAME="`gettext "Bermuda"`"
878a2b
        ;;
878a2b
	'BN' )
878a2b
        COUNTRYNAME="`gettext "Brunei"`"
878a2b
        ;;
878a2b
	'BO' )
878a2b
        COUNTRYNAME="`gettext "Bolivia"`"
878a2b
        ;;
878a2b
	'BR' )
878a2b
        COUNTRYNAME="`gettext "Brazil"`"
878a2b
        ;;
878a2b
	'BS' )
878a2b
        COUNTRYNAME="`gettext "Bahamas"`"
878a2b
        ;;
878a2b
	'BT' )
878a2b
        COUNTRYNAME="`gettext "Bhutan"`"
878a2b
        ;;
878a2b
	'BV' )
878a2b
        COUNTRYNAME="`gettext "Bouvet Island"`"
878a2b
        ;;
878a2b
	'BW' )
878a2b
        COUNTRYNAME="`gettext "Botswana"`"
878a2b
        ;;
878a2b
	'BY' )
878a2b
        COUNTRYNAME="`gettext "Belarus"`"
878a2b
        ;;
878a2b
	'BZ' )
878a2b
        COUNTRYNAME="`gettext "Belize"`"
878a2b
        ;;
878a2b
	'CA' )
878a2b
        COUNTRYNAME="`gettext "Canada"`"
878a2b
        ;;
878a2b
	'CC' )
878a2b
        COUNTRYNAME="`gettext "Cocos (Keeling) Islands"`"
878a2b
        ;;
878a2b
	'CD' )
878a2b
        COUNTRYNAME="`gettext "Congo (Dem. Rep.)"`"
878a2b
        ;;
878a2b
	'CF' )
878a2b
        COUNTRYNAME="`gettext "Central African Rep."`"
878a2b
        ;;
878a2b
	'CG' )
878a2b
        COUNTRYNAME="`gettext "Congo (Rep.)"`"
878a2b
        ;;
878a2b
	'CH' )
878a2b
        COUNTRYNAME="`gettext "Switzerland"`"
878a2b
        ;;
878a2b
	'CI' )
878a2b
        COUNTRYNAME="`gettext "Co^te d'Ivoire"`"
878a2b
        ;;
878a2b
	'CK' )
878a2b
        COUNTRYNAME="`gettext "Cook Islands"`"
878a2b
        ;;
878a2b
	'CL' )
878a2b
        COUNTRYNAME="`gettext "Chile"`"
878a2b
        ;;
878a2b
	'CM' )
878a2b
        COUNTRYNAME="`gettext "Cameroon"`"
878a2b
        ;;
878a2b
	'CN' )
878a2b
        COUNTRYNAME="`gettext "China"`"
878a2b
        ;;
878a2b
	'CO' )
878a2b
        COUNTRYNAME="`gettext "Colombia"`"
878a2b
        ;;
878a2b
	'CR' )
878a2b
        COUNTRYNAME="`gettext "Costa Rica"`"
878a2b
        ;;
878a2b
	'CS' )
878a2b
        COUNTRYNAME="`gettext "Serbia and Montenegro"`"
878a2b
        ;;
878a2b
	'CU' )
878a2b
        COUNTRYNAME="`gettext "Cuba"`"
878a2b
        ;;
878a2b
	'CV' )
878a2b
        COUNTRYNAME="`gettext "Cape Verde"`"
878a2b
        ;;
878a2b
	'CX' )
878a2b
        COUNTRYNAME="`gettext "Christmas Island"`"
878a2b
        ;;
878a2b
	'CY' )
878a2b
        COUNTRYNAME="`gettext "Cyprus"`"
878a2b
        ;;
878a2b
	'CZ' )
878a2b
        COUNTRYNAME="`gettext "Czech Republic"`"
878a2b
        ;;
878a2b
	'DE' )
878a2b
        COUNTRYNAME="`gettext "Germany"`"
878a2b
        ;;
878a2b
	'DJ' )
878a2b
        COUNTRYNAME="`gettext "Djibouti"`"
878a2b
        ;;
878a2b
	'DK' )
878a2b
        COUNTRYNAME="`gettext "Denmark"`"
878a2b
        ;;
878a2b
	'DM' )
878a2b
        COUNTRYNAME="`gettext "Dominica"`"
878a2b
        ;;
878a2b
	'DO' )
878a2b
        COUNTRYNAME="`gettext "Dominican Republic"`"
878a2b
        ;;
878a2b
	'DZ' )
878a2b
        COUNTRYNAME="`gettext "Algeria"`"
878a2b
        ;;
878a2b
	'EC' )
878a2b
        COUNTRYNAME="`gettext "Ecuador"`"
878a2b
        ;;
878a2b
	'EE' )
878a2b
        COUNTRYNAME="`gettext "Estonia"`"
878a2b
        ;;
878a2b
	'EG' )
878a2b
        COUNTRYNAME="`gettext "Egypt"`"
878a2b
        ;;
878a2b
	'EH' )
878a2b
        COUNTRYNAME="`gettext "Western Sahara"`"
878a2b
        ;;
878a2b
	'ER' )
878a2b
        COUNTRYNAME="`gettext "Eritrea"`"
878a2b
        ;;
878a2b
	'ES' )
878a2b
        COUNTRYNAME="`gettext "Spain"`"
878a2b
        ;;
878a2b
	'ET' )
878a2b
        COUNTRYNAME="`gettext "Ethiopia"`"
878a2b
        ;;
878a2b
	'FI' )
878a2b
        COUNTRYNAME="`gettext "Finland"`"
878a2b
        ;;
878a2b
	'FJ' )
878a2b
        COUNTRYNAME="`gettext "Fiji"`"
878a2b
        ;;
878a2b
	'FK' )
878a2b
        COUNTRYNAME="`gettext "Falkland Islands"`"
878a2b
        ;;
878a2b
	'FM' )
878a2b
        COUNTRYNAME="`gettext "Micronesia"`"
878a2b
        ;;
878a2b
	'FO' )
878a2b
        COUNTRYNAME="`gettext "Faeroe Islands"`"
878a2b
        ;;
878a2b
	'FR' )
878a2b
        COUNTRYNAME="`gettext "France"`"
878a2b
        ;;
878a2b
	'GA' )
878a2b
        COUNTRYNAME="`gettext "Gabon"`"
878a2b
        ;;
878a2b
	'GB' )
878a2b
        COUNTRYNAME="`gettext "Britain (UK)"`"
878a2b
        ;;
878a2b
	'GD' )
878a2b
        COUNTRYNAME="`gettext "Grenada"`"
878a2b
        ;;
878a2b
	'GE' )
878a2b
        COUNTRYNAME="`gettext "Georgia"`"
878a2b
        ;;
878a2b
	'GF' )
878a2b
        COUNTRYNAME="`gettext "French Guiana"`"
878a2b
        ;;
878a2b
	'GH' )
878a2b
        COUNTRYNAME="`gettext "Ghana"`"
878a2b
        ;;
878a2b
	'GI' )
878a2b
        COUNTRYNAME="`gettext "Gibraltar"`"
878a2b
        ;;
878a2b
	'GL' )
878a2b
        COUNTRYNAME="`gettext "Greenland"`"
878a2b
        ;;
878a2b
	'GM' )
878a2b
        COUNTRYNAME="`gettext "Gambia"`"
878a2b
        ;;
878a2b
	'GN' )
878a2b
        COUNTRYNAME="`gettext "Guinea"`"
878a2b
        ;;
878a2b
	'GP' )
878a2b
        COUNTRYNAME="`gettext "Guadeloupe"`"
878a2b
        ;;
878a2b
	'GQ' )
878a2b
        COUNTRYNAME="`gettext "Equatorial Guinea"`"
878a2b
        ;;
878a2b
	'GR' )
878a2b
        COUNTRYNAME="`gettext "Greece"`"
878a2b
        ;;
878a2b
	'GS' )
878a2b
        COUNTRYNAME="`gettext "South Georgia and the South Sandwich Islands"`"
878a2b
        ;;
878a2b
	'GT' )
878a2b
        COUNTRYNAME="`gettext "Guatemala"`"
878a2b
        ;;
878a2b
	'GU' )
878a2b
        COUNTRYNAME="`gettext "Guam"`"
878a2b
        ;;
878a2b
	'GW' )
878a2b
        COUNTRYNAME="`gettext "Guinea-Bissau"`"
878a2b
        ;;
878a2b
	'GY' )
878a2b
        COUNTRYNAME="`gettext "Guyana"`"
878a2b
        ;;
878a2b
	'HK' )
878a2b
        COUNTRYNAME="`gettext "Hong Kong"`"
878a2b
        ;;
878a2b
	'HM' )
878a2b
        COUNTRYNAME="`gettext "Heard Island and McDonald Islands"`"
878a2b
        ;;
878a2b
	'HN' )
878a2b
        COUNTRYNAME="`gettext "Honduras"`"
878a2b
        ;;
878a2b
	'HR' )
878a2b
        COUNTRYNAME="`gettext "Croatia"`"
878a2b
        ;;
878a2b
	'HT' )
878a2b
        COUNTRYNAME="`gettext "Haiti"`"
878a2b
        ;;
878a2b
	'HU' )
878a2b
        COUNTRYNAME="`gettext "Hungary"`"
878a2b
        ;;
878a2b
	'ID' )
878a2b
        COUNTRYNAME="`gettext "Indonesia"`"
878a2b
        ;;
878a2b
	'IE' )
878a2b
        COUNTRYNAME="`gettext "Ireland"`"
878a2b
        ;;
878a2b
	'IL' )
878a2b
        COUNTRYNAME="`gettext "Israel"`"
878a2b
        ;;
878a2b
	'IN' )
878a2b
        COUNTRYNAME="`gettext "India"`"
878a2b
        ;;
878a2b
	'IO' )
878a2b
        COUNTRYNAME="`gettext "British Indian Ocean Territory"`"
878a2b
        ;;
878a2b
	'IQ' )
878a2b
        COUNTRYNAME="`gettext "Iraq"`"
878a2b
        ;;
878a2b
	'IR' )
878a2b
        COUNTRYNAME="`gettext "Iran"`"
878a2b
        ;;
878a2b
	'IS' )
878a2b
        COUNTRYNAME="`gettext "Iceland"`"
878a2b
        ;;
878a2b
	'IT' )
878a2b
        COUNTRYNAME="`gettext "Italy"`"
878a2b
        ;;
878a2b
	'JM' )
878a2b
        COUNTRYNAME="`gettext "Jamaica"`"
878a2b
        ;;
878a2b
	'JO' )
878a2b
        COUNTRYNAME="`gettext "Jordan"`"
878a2b
        ;;
878a2b
	'JP' )
878a2b
        COUNTRYNAME="`gettext "Japan"`"
878a2b
        ;;
878a2b
	'KE' )
878a2b
        COUNTRYNAME="`gettext "Kenya"`"
878a2b
        ;;
878a2b
	'KG' )
878a2b
        COUNTRYNAME="`gettext "Kyrgyzstan"`"
878a2b
        ;;
878a2b
	'KH' )
878a2b
        COUNTRYNAME="`gettext "Cambodia"`"
878a2b
        ;;
878a2b
	'KI' )
878a2b
        COUNTRYNAME="`gettext "Kiribati"`"
878a2b
        ;;
878a2b
	'KM' )
878a2b
        COUNTRYNAME="`gettext "Comoros"`"
878a2b
        ;;
878a2b
	'KN' )
878a2b
        COUNTRYNAME="`gettext "St Kitts and Nevis"`"
878a2b
        ;;
878a2b
	'KP' )
878a2b
        COUNTRYNAME="`gettext "Korea (North)"`"
878a2b
        ;;
878a2b
	'KR' )
878a2b
        COUNTRYNAME="`gettext "Korea (South)"`"
878a2b
        ;;
878a2b
	'KW' )
878a2b
        COUNTRYNAME="`gettext "Kuwait"`"
878a2b
        ;;
878a2b
	'KY' )
878a2b
        COUNTRYNAME="`gettext "Cayman Islands"`"
878a2b
        ;;
878a2b
	'KZ' )
878a2b
        COUNTRYNAME="`gettext "Kazakhstan"`"
878a2b
        ;;
878a2b
	'LA' )
878a2b
        COUNTRYNAME="`gettext "Laos"`"
878a2b
        ;;
878a2b
	'LB' )
878a2b
        COUNTRYNAME="`gettext "Lebanon"`"
878a2b
        ;;
878a2b
	'LC' )
878a2b
        COUNTRYNAME="`gettext "St Lucia"`"
878a2b
        ;;
878a2b
	'LI' )
878a2b
        COUNTRYNAME="`gettext "Liechtenstein"`"
878a2b
        ;;
878a2b
	'LK' )
878a2b
        COUNTRYNAME="`gettext "Sri Lanka"`"
878a2b
        ;;
878a2b
	'LR' )
878a2b
        COUNTRYNAME="`gettext "Liberia"`"
878a2b
        ;;
878a2b
	'LS' )
878a2b
        COUNTRYNAME="`gettext "Lesotho"`"
878a2b
        ;;
878a2b
	'LT' )
878a2b
        COUNTRYNAME="`gettext "Lithuania"`"
878a2b
        ;;
878a2b
	'LU' )
878a2b
        COUNTRYNAME="`gettext "Luxembourg"`"
878a2b
        ;;
878a2b
	'LV' )
878a2b
        COUNTRYNAME="`gettext "Latvia"`"
878a2b
        ;;
878a2b
	'LY' )
878a2b
        COUNTRYNAME="`gettext "Libya"`"
878a2b
        ;;
878a2b
	'MA' )
878a2b
        COUNTRYNAME="`gettext "Morocco"`"
878a2b
        ;;
878a2b
	'MC' )
878a2b
        COUNTRYNAME="`gettext "Monaco"`"
878a2b
        ;;
878a2b
	'MD' )
878a2b
        COUNTRYNAME="`gettext "Moldova"`"
878a2b
        ;;
878a2b
	'MG' )
878a2b
        COUNTRYNAME="`gettext "Madagascar"`"
878a2b
        ;;
878a2b
	'MH' )
878a2b
        COUNTRYNAME="`gettext "Marshall Islands"`"
878a2b
        ;;
878a2b
	'MK' )
878a2b
        COUNTRYNAME="`gettext "Macedonia"`"
878a2b
        ;;
878a2b
	'ML' )
878a2b
        COUNTRYNAME="`gettext "Mali"`"
878a2b
        ;;
878a2b
	'MM' )
878a2b
        COUNTRYNAME="`gettext "Myanmar (Burma)"`"
878a2b
        ;;
878a2b
	'MN' )
878a2b
        COUNTRYNAME="`gettext "Mongolia"`"
878a2b
        ;;
878a2b
	'MO' )
878a2b
        COUNTRYNAME="`gettext "Macao"`"
878a2b
        ;;
878a2b
	'MP' )
878a2b
        COUNTRYNAME="`gettext "Northern Mariana Islands"`"
878a2b
        ;;
878a2b
	'MQ' )
878a2b
        COUNTRYNAME="`gettext "Martinique"`"
878a2b
        ;;
878a2b
	'MR' )
878a2b
        COUNTRYNAME="`gettext "Mauritania"`"
878a2b
        ;;
878a2b
	'MS' )
878a2b
        COUNTRYNAME="`gettext "Montserrat"`"
878a2b
        ;;
878a2b
	'MT' )
878a2b
        COUNTRYNAME="`gettext "Malta"`"
878a2b
        ;;
878a2b
	'MU' )
878a2b
        COUNTRYNAME="`gettext "Mauritius"`"
878a2b
        ;;
878a2b
	'MV' )
878a2b
        COUNTRYNAME="`gettext "Maldives"`"
878a2b
        ;;
878a2b
	'MW' )
878a2b
        COUNTRYNAME="`gettext "Malawi"`"
878a2b
        ;;
878a2b
	'MX' )
878a2b
        COUNTRYNAME="`gettext "Mexico"`"
878a2b
        ;;
878a2b
	'MY' )
878a2b
        COUNTRYNAME="`gettext "Malaysia"`"
878a2b
        ;;
878a2b
	'MZ' )
878a2b
        COUNTRYNAME="`gettext "Mozambique"`"
878a2b
        ;;
878a2b
	'NA' )
878a2b
        COUNTRYNAME="`gettext "Namibia"`"
878a2b
        ;;
878a2b
	'NC' )
878a2b
        COUNTRYNAME="`gettext "New Caledonia"`"
878a2b
        ;;
878a2b
	'NE' )
878a2b
        COUNTRYNAME="`gettext "Niger"`"
878a2b
        ;;
878a2b
	'NF' )
878a2b
        COUNTRYNAME="`gettext "Norfolk Island"`"
878a2b
        ;;
878a2b
	'NG' )
878a2b
        COUNTRYNAME="`gettext "Nigeria"`"
878a2b
        ;;
878a2b
	'NI' )
878a2b
        COUNTRYNAME="`gettext "Nicaragua"`"
878a2b
        ;;
878a2b
	'NL' )
878a2b
        COUNTRYNAME="`gettext "Netherlands"`"
878a2b
        ;;
878a2b
	'NO' )
878a2b
        COUNTRYNAME="`gettext "Norway"`"
878a2b
        ;;
878a2b
	'NP' )
878a2b
        COUNTRYNAME="`gettext "Nepal"`"
878a2b
        ;;
878a2b
	'NR' )
878a2b
        COUNTRYNAME="`gettext "Nauru"`"
878a2b
        ;;
878a2b
	'NU' )
878a2b
        COUNTRYNAME="`gettext "Niue"`"
878a2b
        ;;
878a2b
	'NZ' )
878a2b
        COUNTRYNAME="`gettext "New Zealand"`"
878a2b
        ;;
878a2b
	'OM' )
878a2b
        COUNTRYNAME="`gettext "Oman"`"
878a2b
        ;;
878a2b
	'PA' )
878a2b
        COUNTRYNAME="`gettext "Panama"`"
878a2b
        ;;
878a2b
	'PE' )
878a2b
        COUNTRYNAME="`gettext "Peru"`"
878a2b
        ;;
878a2b
	'PF' )
878a2b
        COUNTRYNAME="`gettext "French Polynesia"`"
878a2b
        ;;
878a2b
	'PG' )
878a2b
        COUNTRYNAME="`gettext "Papua New Guinea"`"
878a2b
        ;;
878a2b
	'PH' )
878a2b
        COUNTRYNAME="`gettext "Philippines"`"
878a2b
        ;;
878a2b
	'PK' )
878a2b
        COUNTRYNAME="`gettext "Pakistan"`"
878a2b
        ;;
878a2b
	'PL' )
878a2b
        COUNTRYNAME="`gettext "Poland"`"
878a2b
        ;;
878a2b
	'PM' )
878a2b
        COUNTRYNAME="`gettext "St Pierre and Miquelon"`"
878a2b
        ;;
878a2b
	'PN' )
878a2b
        COUNTRYNAME="`gettext "Pitcairn"`"
878a2b
        ;;
878a2b
	'PR' )
878a2b
        COUNTRYNAME="`gettext "Puerto Rico"`"
878a2b
        ;;
878a2b
	'PS' )
878a2b
        COUNTRYNAME="`gettext "Palestine"`"
878a2b
        ;;
878a2b
	'PT' )
878a2b
        COUNTRYNAME="`gettext "Portugal"`"
878a2b
        ;;
878a2b
	'PW' )
878a2b
        COUNTRYNAME="`gettext "Palau"`"
878a2b
        ;;
878a2b
	'PY' )
878a2b
        COUNTRYNAME="`gettext "Paraguay"`"
878a2b
        ;;
878a2b
	'QA' )
878a2b
        COUNTRYNAME="`gettext "Qatar"`"
878a2b
        ;;
878a2b
	'RE' )
878a2b
        COUNTRYNAME="`gettext "Reunion"`"
878a2b
        ;;
878a2b
	'RO' )
878a2b
        COUNTRYNAME="`gettext "Romania"`"
878a2b
        ;;
878a2b
	'RU' )
878a2b
        COUNTRYNAME="`gettext "Russia"`"
878a2b
        ;;
878a2b
	'RW' )
878a2b
        COUNTRYNAME="`gettext "Rwanda"`"
878a2b
        ;;
878a2b
	'SA' )
878a2b
        COUNTRYNAME="`gettext "Saudi Arabia"`"
878a2b
        ;;
878a2b
	'SB' )
878a2b
        COUNTRYNAME="`gettext "Solomon Islands"`"
878a2b
        ;;
878a2b
	'SC' )
878a2b
        COUNTRYNAME="`gettext "Seychelles"`"
878a2b
        ;;
878a2b
	'SD' )
878a2b
        COUNTRYNAME="`gettext "Sudan"`"
878a2b
        ;;
878a2b
	'SE' )
878a2b
        COUNTRYNAME="`gettext "Sweden"`"
878a2b
        ;;
878a2b
	'SG' )
878a2b
        COUNTRYNAME="`gettext "Singapore"`"
878a2b
        ;;
878a2b
	'SH' )
878a2b
        COUNTRYNAME="`gettext "St Helena"`"
878a2b
        ;;
878a2b
	'SI' )
878a2b
        COUNTRYNAME="`gettext "Slovenia"`"
878a2b
        ;;
878a2b
	'SJ' )
878a2b
        COUNTRYNAME="`gettext "Svalbard and Jan Mayen"`"
878a2b
        ;;
878a2b
	'SK' )
878a2b
        COUNTRYNAME="`gettext "Slovakia"`"
878a2b
        ;;
878a2b
	'SL' )
878a2b
        COUNTRYNAME="`gettext "Sierra Leone"`"
878a2b
        ;;
878a2b
	'SM' )
878a2b
        COUNTRYNAME="`gettext "San Marino"`"
878a2b
        ;;
878a2b
	'SN' )
878a2b
        COUNTRYNAME="`gettext "Senegal"`"
878a2b
        ;;
878a2b
	'SO' )
878a2b
        COUNTRYNAME="`gettext "Somalia"`"
878a2b
        ;;
878a2b
	'SR' )
878a2b
        COUNTRYNAME="`gettext "Suriname"`"
878a2b
        ;;
878a2b
	'ST' )
878a2b
        COUNTRYNAME="`gettext "Sao Tome and Principe"`"
878a2b
        ;;
878a2b
	'SV' )
878a2b
        COUNTRYNAME="`gettext "El Salvador"`"
878a2b
        ;;
878a2b
	'SY' )
878a2b
        COUNTRYNAME="`gettext "Syria"`"
878a2b
        ;;
878a2b
	'SZ' )
878a2b
        COUNTRYNAME="`gettext "Swaziland"`"
878a2b
        ;;
878a2b
	'TC' )
878a2b
        COUNTRYNAME="`gettext "Turks and Caicos Islands"`"
878a2b
        ;;
878a2b
	'TD' )
878a2b
        COUNTRYNAME="`gettext "Chad"`"
878a2b
        ;;
878a2b
	'TF' )
878a2b
        COUNTRYNAME="`gettext "French Southern and Antarctic Lands"`"
878a2b
        ;;
878a2b
	'TG' )
878a2b
        COUNTRYNAME="`gettext "Togo"`"
878a2b
        ;;
878a2b
	'TH' )
878a2b
        COUNTRYNAME="`gettext "Thailand"`"
878a2b
        ;;
878a2b
	'TJ' )
878a2b
        COUNTRYNAME="`gettext "Tajikistan"`"
878a2b
        ;;
878a2b
	'TK' )
878a2b
        COUNTRYNAME="`gettext "Tokelau"`"
878a2b
        ;;
878a2b
	'TL' )
878a2b
        COUNTRYNAME="`gettext "Timor-Leste"`"
878a2b
        ;;
878a2b
	'TM' )
878a2b
        COUNTRYNAME="`gettext "Turkmenistan"`"
878a2b
        ;;
878a2b
	'TN' )
878a2b
        COUNTRYNAME="`gettext "Tunisia"`"
878a2b
        ;;
878a2b
	'TO' )
878a2b
        COUNTRYNAME="`gettext "Tonga"`"
878a2b
        ;;
878a2b
	'TR' )
878a2b
        COUNTRYNAME="`gettext "Turkey"`"
878a2b
        ;;
878a2b
	'TT' )
878a2b
        COUNTRYNAME="`gettext "Trinidad and Tobago"`"
878a2b
        ;;
878a2b
	'TV' )
878a2b
        COUNTRYNAME="`gettext "Tuvalu"`"
878a2b
        ;;
878a2b
	'TW' )
878a2b
        COUNTRYNAME="`gettext "Taiwan"`"
878a2b
        ;;
878a2b
	'TZ' )
878a2b
        COUNTRYNAME="`gettext "Tanzania"`"
878a2b
        ;;
878a2b
	'UA' )
878a2b
        COUNTRYNAME="`gettext "Ukraine"`"
878a2b
        ;;
878a2b
	'UG' )
878a2b
        COUNTRYNAME="`gettext "Uganda"`"
878a2b
        ;;
878a2b
	'UM' )
878a2b
        COUNTRYNAME="`gettext "US minor outlying islands"`"
878a2b
        ;;
878a2b
	'US' )
878a2b
        COUNTRYNAME="`gettext "United States"`"
878a2b
        ;;
878a2b
	'UY' )
878a2b
        COUNTRYNAME="`gettext "Uruguay"`"
878a2b
        ;;
878a2b
	'UZ' )
878a2b
        COUNTRYNAME="`gettext "Uzbekistan"`"
878a2b
        ;;
878a2b
	'VA' )
878a2b
        COUNTRYNAME="`gettext "Vatican City"`"
878a2b
        ;;
878a2b
	'VC' )
878a2b
        COUNTRYNAME="`gettext "St Vincent"`"
878a2b
        ;;
878a2b
	'VE' )
878a2b
        COUNTRYNAME="`gettext "Venezuela"`"
878a2b
        ;;
878a2b
	'VG' )
878a2b
        COUNTRYNAME="`gettext "Virgin Islands (UK)"`"
878a2b
        ;;
878a2b
	'VI' )
878a2b
        COUNTRYNAME="`gettext "Virgin Islands (US)"`"
878a2b
        ;;
878a2b
	'VN' )
878a2b
        COUNTRYNAME="`gettext "Vietnam"`"
878a2b
        ;;
878a2b
	'VU' )
878a2b
        COUNTRYNAME="`gettext "Vanuatu"`"
878a2b
        ;;
878a2b
	'WF' )
878a2b
        COUNTRYNAME="`gettext "Wallis and Futuna"`"
878a2b
        ;;
878a2b
	'WS' )
878a2b
        COUNTRYNAME="`gettext "Samoa (Western)"`"
878a2b
        ;;
878a2b
	'YE' )
878a2b
        COUNTRYNAME="`gettext "Yemen"`"
878a2b
        ;;
878a2b
	'YT' )
878a2b
        COUNTRYNAME="`gettext "Mayotte"`"
878a2b
        ;;
878a2b
	'ZA' )
878a2b
        COUNTRYNAME="`gettext "South Africa"`"
878a2b
        ;;
878a2b
	'ZM' )
878a2b
        COUNTRYNAME="`gettext "Zambia"`"
878a2b
        ;;
878a2b
	'ZW' )
878a2b
        COUNTRYNAME="`gettext "Zimbabwe"`"
878a2b
        ;;
878a2b
        * )
878a2b
        COUNTRYNAME="`gettext "Unknown"`"
878a2b
878a2b
    esac
878a2b
878a2b
    echo $COUNTRYNAME
878a2b
    
878a2b
}