r74008 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74007‎ | r74008 | r74009 >
Date:00:50, 30 September 2010
Author:awjrichards
Status:resolved (Comments)
Tags:
Comment:
Added state and country dropdown value to i18n file; Updated state/country dropdown generation code to use wfMsg() version of state/country names
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
@@ -117,7 +117,7 @@
118118 // generate a dropdown option for each country
119119 foreach ( $this->getCountries() as $iso_value => $full_name ) {
120120 $selected = ( $iso_value == $this->form_data[ 'country' ] ) ? true : false;
121 - $country_options .= Xml::option( $full_name, $iso_value, $selected );
 121+ $country_options .= Xml::option( wfMsg( 'payflowpro_gateway-country-dropdown-' . $iso_value ), $iso_value, $selected );
122122 }
123123
124124 // build the actual select
@@ -238,7 +238,7 @@
239239 // generate dropdown of state opts
240240 foreach ( $states as $value => $state_name ) {
241241 $selected = ( $this->form_data[ 'state' ] == $value ) ? true : false;
242 - $state_opts .= Xml::option( $state_name, $value, $selected );
 242+ $state_opts .= Xml::option( wfMsg( 'payflowpro_gateway-state-dropdown-' . $value ), $value, $selected );
243243 }
244244
245245 $state_menu = Xml::openElement(
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php
@@ -100,6 +100,305 @@
101101 'payflowpro_gateway-token-mismatch' => 'Your session has expired. Please try filling out and submitting the form again.',
102102 'payflowpro_gateway-cc-form-header-personal' => 'Billing information',
103103 'payflowpro_gateway-cc-form-header-payment' => 'Payment information',
 104+ 'payflowpro_gateway-state-dropdown-YY' => 'Select a State',
 105+ 'payflowpro_gateway-state-dropdown-XX' => 'Outside the U.S.',
 106+ 'payflowpro_gateway-state-dropdown-AK' => 'Alaska',
 107+ 'payflowpro_gateway-state-dropdown-AL' => 'Alabama',
 108+ 'payflowpro_gateway-state-dropdown-AR' => 'Arkansas',
 109+ 'payflowpro_gateway-state-dropdown-AZ' => 'Arizona',
 110+ 'payflowpro_gateway-state-dropdown-CA' => 'California',
 111+ 'payflowpro_gateway-state-dropdown-CO' => 'Colorado',
 112+ 'payflowpro_gateway-state-dropdown-CT' => 'Connecticut',
 113+ 'payflowpro_gateway-state-dropdown-DC' => 'Washington D.C.',
 114+ 'payflowpro_gateway-state-dropdown-DE' => 'Delaware',
 115+ 'payflowpro_gateway-state-dropdown-FL' => 'Florida',
 116+ 'payflowpro_gateway-state-dropdown-GA' => 'Georgia',
 117+ 'payflowpro_gateway-state-dropdown-HI' => 'Hawaii',
 118+ 'payflowpro_gateway-state-dropdown-IA' => 'Iowa',
 119+ 'payflowpro_gateway-state-dropdown-ID' => 'Idaho',
 120+ 'payflowpro_gateway-state-dropdown-IL' => 'Illinois',
 121+ 'payflowpro_gateway-state-dropdown-IN' => 'Indiana',
 122+ 'payflowpro_gateway-state-dropdown-KS' => 'Kansas',
 123+ 'payflowpro_gateway-state-dropdown-KY' => 'Kentucky',
 124+ 'payflowpro_gateway-state-dropdown-LA' => 'Louisiana',
 125+ 'payflowpro_gateway-state-dropdown-MA' => 'Massachusetts',
 126+ 'payflowpro_gateway-state-dropdown-MD' => 'Maryland',
 127+ 'payflowpro_gateway-state-dropdown-ME' => 'Maine',
 128+ 'payflowpro_gateway-state-dropdown-MI' => 'Michigan',
 129+ 'payflowpro_gateway-state-dropdown-MN' => 'Minnesota',
 130+ 'payflowpro_gateway-state-dropdown-MO' => 'Missouri',
 131+ 'payflowpro_gateway-state-dropdown-MS' => 'Mississippi',
 132+ 'payflowpro_gateway-state-dropdown-MT' => 'Montana',
 133+ 'payflowpro_gateway-state-dropdown-NC' => 'North Carolina',
 134+ 'payflowpro_gateway-state-dropdown-ND' => 'North Dakota',
 135+ 'payflowpro_gateway-state-dropdown-NE' => 'Nebraska',
 136+ 'payflowpro_gateway-state-dropdown-NH' => 'New Hampshire',
 137+ 'payflowpro_gateway-state-dropdown-NJ' => 'New Jersey',
 138+ 'payflowpro_gateway-state-dropdown-NM' => 'New Mexico',
 139+ 'payflowpro_gateway-state-dropdown-NV' => 'Nevada',
 140+ 'payflowpro_gateway-state-dropdown-NY' => 'New York',
 141+ 'payflowpro_gateway-state-dropdown-OH' => 'Ohio',
 142+ 'payflowpro_gateway-state-dropdown-OK' => 'Oklahoma',
 143+ 'payflowpro_gateway-state-dropdown-OR' => 'Oregon',
 144+ 'payflowpro_gateway-state-dropdown-PA' => 'Pennsylvania',
 145+ 'payflowpro_gateway-state-dropdown-PR' => 'Puerto Rico',
 146+ 'payflowpro_gateway-state-dropdown-RI' => 'Rhode Island',
 147+ 'payflowpro_gateway-state-dropdown-SC' => 'South Carolina',
 148+ 'payflowpro_gateway-state-dropdown-SD' => 'South Dakota',
 149+ 'payflowpro_gateway-state-dropdown-TN' => 'Tennessee',
 150+ 'payflowpro_gateway-state-dropdown-TX' => 'Texas',
 151+ 'payflowpro_gateway-state-dropdown-UT' => 'Utah',
 152+ 'payflowpro_gateway-state-dropdown-VA' => 'Virginia',
 153+ 'payflowpro_gateway-state-dropdown-VT' => 'Vermont',
 154+ 'payflowpro_gateway-state-dropdown-WA' => 'Washington',
 155+ 'payflowpro_gateway-state-dropdown-WI' => 'Wisconsin',
 156+ 'payflowpro_gateway-state-dropdown-WV' => 'West Virginia',
 157+ 'payflowpro_gateway-state-dropdown-WY' => 'Wyoming',
 158+ 'payflowpro_gateway-state-dropdown-AA' => 'AA',
 159+ 'payflowpro_gateway-state-dropdown-AE' => 'AE',
 160+ 'payflowpro_gateway-state-dropdown-AP' => 'AP',
 161+ 'payflowpro_gateway-country-dropdown-840' => 'United States',
 162+ 'payflowpro_gateway-country-dropdown-124' => 'Canada',
 163+ 'payflowpro_gateway-country-dropdown-826' => 'United Kingdom',
 164+ 'payflowpro_gateway-country-dropdown-004' => 'Afghanistan',
 165+ 'payflowpro_gateway-country-dropdown-008' => 'Albania',
 166+ 'payflowpro_gateway-country-dropdown-012' => 'Algeria',
 167+ 'payflowpro_gateway-country-dropdown-016' => 'American Samoa',
 168+ 'payflowpro_gateway-country-dropdown-020' => 'Andorra',
 169+ 'payflowpro_gateway-country-dropdown-024' => 'Angola',
 170+ 'payflowpro_gateway-country-dropdown-660' => 'Anguilla',
 171+ 'payflowpro_gateway-country-dropdown-010' => 'Antarctica',
 172+ 'payflowpro_gateway-country-dropdown-028' => 'Antigua and Barbuda',
 173+ 'payflowpro_gateway-country-dropdown-032' => 'Argentina',
 174+ 'payflowpro_gateway-country-dropdown-051' => 'Armenia',
 175+ 'payflowpro_gateway-country-dropdown-533' => 'Aruba',
 176+ 'payflowpro_gateway-country-dropdown-036' => 'Australia',
 177+ 'payflowpro_gateway-country-dropdown-040' => 'Austria',
 178+ 'payflowpro_gateway-country-dropdown-031' => 'Azerbaijan',
 179+ 'payflowpro_gateway-country-dropdown-044' => 'Bahamas',
 180+ 'payflowpro_gateway-country-dropdown-048' => 'Bahrain',
 181+ 'payflowpro_gateway-country-dropdown-050' => 'Bangladesh',
 182+ 'payflowpro_gateway-country-dropdown-052' => 'Barbados',
 183+ 'payflowpro_gateway-country-dropdown-112' => 'Belarus',
 184+ 'payflowpro_gateway-country-dropdown-056' => 'Belgium',
 185+ 'payflowpro_gateway-country-dropdown-084' => 'Belize',
 186+ 'payflowpro_gateway-country-dropdown-204' => 'Benin',
 187+ 'payflowpro_gateway-country-dropdown-060' => 'Bermuda',
 188+ 'payflowpro_gateway-country-dropdown-064' => 'Bhutan',
 189+ 'payflowpro_gateway-country-dropdown-068' => 'Bolivia, Plurinational State of',
 190+ 'payflowpro_gateway-country-dropdown-070' => 'Bosnia and Herzegovina',
 191+ 'payflowpro_gateway-country-dropdown-072' => 'Botswana',
 192+ 'payflowpro_gateway-country-dropdown-074' => 'Bouvet Island',
 193+ 'payflowpro_gateway-country-dropdown-076' => 'Brazil',
 194+ 'payflowpro_gateway-country-dropdown-086' => 'British Indian Ocean Territory',
 195+ 'payflowpro_gateway-country-dropdown-096' => 'Brunei Darussalam',
 196+ 'payflowpro_gateway-country-dropdown-100' => 'Bulgaria',
 197+ 'payflowpro_gateway-country-dropdown-854' => 'Burkina Faso',
 198+ 'payflowpro_gateway-country-dropdown-108' => 'Burundi',
 199+ 'payflowpro_gateway-country-dropdown-116' => 'Cambodia',
 200+ 'payflowpro_gateway-country-dropdown-120' => 'Cameroon',
 201+ 'payflowpro_gateway-country-dropdown-124' => 'Canada',
 202+ 'payflowpro_gateway-country-dropdown-132' => 'Cape Verde',
 203+ 'payflowpro_gateway-country-dropdown-136' => 'Cayman Islands',
 204+ 'payflowpro_gateway-country-dropdown-140' => 'Central African Republic',
 205+ 'payflowpro_gateway-country-dropdown-148' => 'Chad',
 206+ 'payflowpro_gateway-country-dropdown-152' => 'Chile',
 207+ 'payflowpro_gateway-country-dropdown-156' => 'China',
 208+ 'payflowpro_gateway-country-dropdown-162' => 'Christmas Island',
 209+ 'payflowpro_gateway-country-dropdown-166' => 'Cocos (Keeling) Islands',
 210+ 'payflowpro_gateway-country-dropdown-017' => 'Colombia',
 211+ 'payflowpro_gateway-country-dropdown-174' => 'Comoros',
 212+ 'payflowpro_gateway-country-dropdown-178' => 'Congo',
 213+ 'payflowpro_gateway-country-dropdown-180' => 'Congo, the Democratic Republic of the',
 214+ 'payflowpro_gateway-country-dropdown-184' => 'Cook Islands',
 215+ 'payflowpro_gateway-country-dropdown-188' => 'Costa Rica',
 216+ 'payflowpro_gateway-country-dropdown-384' => "Cote D'Ivoire",
 217+ 'payflowpro_gateway-country-dropdown-191' => 'Croatia',
 218+ 'payflowpro_gateway-country-dropdown-192' => 'Cuba',
 219+ 'payflowpro_gateway-country-dropdown-196' => 'Cyprus',
 220+ 'payflowpro_gateway-country-dropdown-203' => 'Czech Republic',
 221+ 'payflowpro_gateway-country-dropdown-208' => 'Denmark',
 222+ 'payflowpro_gateway-country-dropdown-262' => 'Djibouti',
 223+ 'payflowpro_gateway-country-dropdown-212' => 'Dominica',
 224+ 'payflowpro_gateway-country-dropdown-214' => 'Dominican Republic',
 225+ 'payflowpro_gateway-country-dropdown-626' => 'East Timor',
 226+ 'payflowpro_gateway-country-dropdown-218' => 'Ecuador',
 227+ 'payflowpro_gateway-country-dropdown-818' => 'Egypt',
 228+ 'payflowpro_gateway-country-dropdown-222' => 'El Salvador',
 229+ 'payflowpro_gateway-country-dropdown-226' => 'Equatorial Guinea',
 230+ 'payflowpro_gateway-country-dropdown-232' => 'Eritrea',
 231+ 'payflowpro_gateway-country-dropdown-233' => 'Estonia',
 232+ 'payflowpro_gateway-country-dropdown-231' => 'Ethiopia',
 233+ 'payflowpro_gateway-country-dropdown-238' => 'Falkland Islands (Malvinas)',
 234+ 'payflowpro_gateway-country-dropdown-234' => 'Faroe Islands',
 235+ 'payflowpro_gateway-country-dropdown-242' => 'Fiji',
 236+ 'payflowpro_gateway-country-dropdown-246' => 'Finland',
 237+ 'payflowpro_gateway-country-dropdown-250' => 'France',
 238+ 'payflowpro_gateway-country-dropdown-254' => 'French Guiana',
 239+ 'payflowpro_gateway-country-dropdown-258' => 'French Polynesia',
 240+ 'payflowpro_gateway-country-dropdown-260' => 'French Southern Territories',
 241+ 'payflowpro_gateway-country-dropdown-266' => 'Gabon',
 242+ 'payflowpro_gateway-country-dropdown-270' => 'Gambia',
 243+ 'payflowpro_gateway-country-dropdown-268' => 'Georgia',
 244+ 'payflowpro_gateway-country-dropdown-276' => 'Germany',
 245+ 'payflowpro_gateway-country-dropdown-288' => 'Ghana',
 246+ 'payflowpro_gateway-country-dropdown-292' => 'Gibraltar',
 247+ 'payflowpro_gateway-country-dropdown-300' => 'Greece',
 248+ 'payflowpro_gateway-country-dropdown-304' => 'Greenland',
 249+ 'payflowpro_gateway-country-dropdown-308' => 'Grenada',
 250+ 'payflowpro_gateway-country-dropdown-312' => 'Guadeloupe',
 251+ 'payflowpro_gateway-country-dropdown-316' => 'Guam',
 252+ 'payflowpro_gateway-country-dropdown-320' => 'Guatemala',
 253+ 'payflowpro_gateway-country-dropdown-324' => 'Guinea',
 254+ 'payflowpro_gateway-country-dropdown-624' => 'Guinea-Bissau',
 255+ 'payflowpro_gateway-country-dropdown-328' => 'Guyana',
 256+ 'payflowpro_gateway-country-dropdown-332' => 'Haiti',
 257+ 'payflowpro_gateway-country-dropdown-334' => 'Heard Island and McDonald Islands',
 258+ 'payflowpro_gateway-country-dropdown-340' => 'Honduras',
 259+ 'payflowpro_gateway-country-dropdown-344' => 'Hong Kong',
 260+ 'payflowpro_gateway-country-dropdown-348' => 'Hungary',
 261+ 'payflowpro_gateway-country-dropdown-352' => 'Iceland',
 262+ 'payflowpro_gateway-country-dropdown-356' => 'India',
 263+ 'payflowpro_gateway-country-dropdown-360' => 'Indonesia',
 264+ 'payflowpro_gateway-country-dropdown-364' => 'Iran, Islamic Republic of',
 265+ 'payflowpro_gateway-country-dropdown-368' => 'Iraq',
 266+ 'payflowpro_gateway-country-dropdown-372' => 'Ireland',
 267+ 'payflowpro_gateway-country-dropdown-376' => 'Israel',
 268+ 'payflowpro_gateway-country-dropdown-380' => 'Italy',
 269+ 'payflowpro_gateway-country-dropdown-388' => 'Jamaica',
 270+ 'payflowpro_gateway-country-dropdown-392' => 'Japan',
 271+ 'payflowpro_gateway-country-dropdown-400' => 'Jordan',
 272+ 'payflowpro_gateway-country-dropdown-398' => 'Kazakhstan',
 273+ 'payflowpro_gateway-country-dropdown-404' => 'Kenya',
 274+ 'payflowpro_gateway-country-dropdown-296' => 'Kiribati',
 275+ 'payflowpro_gateway-country-dropdown-408' => "Korea, Democratic People's Republic of",
 276+ 'payflowpro_gateway-country-dropdown-410' => 'Korea, Republic of',
 277+ 'payflowpro_gateway-country-dropdown-414' => 'Kuwait',
 278+ 'payflowpro_gateway-country-dropdown-417' => 'Kyrgyzstan',
 279+ 'payflowpro_gateway-country-dropdown-418' => 'Laos',
 280+ 'payflowpro_gateway-country-dropdown-428' => 'Latvia',
 281+ 'payflowpro_gateway-country-dropdown-422' => 'Lebanon',
 282+ 'payflowpro_gateway-country-dropdown-426' => 'Lesotho',
 283+ 'payflowpro_gateway-country-dropdown-430' => 'Liberia',
 284+ 'payflowpro_gateway-country-dropdown-434' => 'Libyan Arab Jamahiriya',
 285+ 'payflowpro_gateway-country-dropdown-438' => 'Liechtenstein',
 286+ 'payflowpro_gateway-country-dropdown-440' => 'Lithuania',
 287+ 'payflowpro_gateway-country-dropdown-442' => 'Luxembourg',
 288+ 'payflowpro_gateway-country-dropdown-446' => 'Macao',
 289+ 'payflowpro_gateway-country-dropdown-807' => 'Macedonia',
 290+ 'payflowpro_gateway-country-dropdown-450' => 'Madagascar',
 291+ 'payflowpro_gateway-country-dropdown-454' => 'Malawi',
 292+ 'payflowpro_gateway-country-dropdown-458' => 'Malaysia',
 293+ 'payflowpro_gateway-country-dropdown-462' => 'Maldives',
 294+ 'payflowpro_gateway-country-dropdown-466' => 'Mali',
 295+ 'payflowpro_gateway-country-dropdown-470' => 'Malta',
 296+ 'payflowpro_gateway-country-dropdown-584' => 'Marshall Islands',
 297+ 'payflowpro_gateway-country-dropdown-474' => 'Martinique',
 298+ 'payflowpro_gateway-country-dropdown-478' => 'Mauritania',
 299+ 'payflowpro_gateway-country-dropdown-480' => 'Mauritius',
 300+ 'payflowpro_gateway-country-dropdown-175' => 'Mayotte',
 301+ 'payflowpro_gateway-country-dropdown-484' => 'Mexico',
 302+ 'payflowpro_gateway-country-dropdown-583' => 'Micronesia, Federated States of',
 303+ 'payflowpro_gateway-country-dropdown-498' => 'Moldova, Republic of',
 304+ 'payflowpro_gateway-country-dropdown-492' => 'Monaco',
 305+ 'payflowpro_gateway-country-dropdown-496' => 'Mongolia',
 306+ 'payflowpro_gateway-country-dropdown-499' => 'Montenegro',
 307+ 'payflowpro_gateway-country-dropdown-500' => 'Montserrat',
 308+ 'payflowpro_gateway-country-dropdown-504' => 'Morocco',
 309+ 'payflowpro_gateway-country-dropdown-508' => 'Mozambique',
 310+ 'payflowpro_gateway-country-dropdown-104' => 'Myanmar',
 311+ 'payflowpro_gateway-country-dropdown-516' => 'Namibia',
 312+ 'payflowpro_gateway-country-dropdown-520' => 'Nauru',
 313+ 'payflowpro_gateway-country-dropdown-524' => 'Nepal',
 314+ 'payflowpro_gateway-country-dropdown-528' => 'Netherlands',
 315+ 'payflowpro_gateway-country-dropdown-530' => 'Netherlands Antilles',
 316+ 'payflowpro_gateway-country-dropdown-540' => 'New Caledonia',
 317+ 'payflowpro_gateway-country-dropdown-554' => 'New Zealand',
 318+ 'payflowpro_gateway-country-dropdown-558' => 'Nicaragua',
 319+ 'payflowpro_gateway-country-dropdown-562' => 'Niger',
 320+ 'payflowpro_gateway-country-dropdown-566' => 'Nigeria',
 321+ 'payflowpro_gateway-country-dropdown-570' => 'Niue',
 322+ 'payflowpro_gateway-country-dropdown-574' => 'Norfolk Island',
 323+ 'payflowpro_gateway-country-dropdown-580' => 'Northern Mariana Islands',
 324+ 'payflowpro_gateway-country-dropdown-578' => 'Norway',
 325+ 'payflowpro_gateway-country-dropdown-512' => 'Oman',
 326+ 'payflowpro_gateway-country-dropdown-586' => 'Pakistan',
 327+ 'payflowpro_gateway-country-dropdown-585' => 'Palau',
 328+ 'payflowpro_gateway-country-dropdown-591' => 'Panama',
 329+ 'payflowpro_gateway-country-dropdown-598' => 'Papua New Guinea',
 330+ 'payflowpro_gateway-country-dropdown-600' => 'Paraguay',
 331+ 'payflowpro_gateway-country-dropdown-604' => 'Peru',
 332+ 'payflowpro_gateway-country-dropdown-608' => 'Philippines',
 333+ 'payflowpro_gateway-country-dropdown-612' => 'Pitcairn',
 334+ 'payflowpro_gateway-country-dropdown-616' => 'Poland',
 335+ 'payflowpro_gateway-country-dropdown-620' => 'Portugal',
 336+ 'payflowpro_gateway-country-dropdown-630' => 'Puerto Rico',
 337+ 'payflowpro_gateway-country-dropdown-634' => 'Qatar',
 338+ 'payflowpro_gateway-country-dropdown-642' => 'Romania',
 339+ 'payflowpro_gateway-country-dropdown-643' => 'Russian Federation',
 340+ 'payflowpro_gateway-country-dropdown-646' => 'Rwanda',
 341+ 'payflowpro_gateway-country-dropdown-659' => 'Saint Kitts and Nevis',
 342+ 'payflowpro_gateway-country-dropdown-662' => 'Saint Lucia',
 343+ 'payflowpro_gateway-country-dropdown-670' => 'Saint Vincent and the Grenadines',
 344+ 'payflowpro_gateway-country-dropdown-882' => 'Samoa',
 345+ 'payflowpro_gateway-country-dropdown-674' => 'San Marino',
 346+ 'payflowpro_gateway-country-dropdown-678' => 'Sao Tome and Principe',
 347+ 'payflowpro_gateway-country-dropdown-682' => 'Saudi Arabia',
 348+ 'payflowpro_gateway-country-dropdown-686' => 'Senegal',
 349+ 'payflowpro_gateway-country-dropdown-688' => 'Serbia',
 350+ 'payflowpro_gateway-country-dropdown-690' => 'Seychelles',
 351+ 'payflowpro_gateway-country-dropdown-694' => 'Sierra Leone',
 352+ 'payflowpro_gateway-country-dropdown-702' => 'Singapore',
 353+ 'payflowpro_gateway-country-dropdown-703' => 'Slovakia',
 354+ 'payflowpro_gateway-country-dropdown-705' => 'Slovenia',
 355+ 'payflowpro_gateway-country-dropdown-090' => 'Solomon Islands',
 356+ 'payflowpro_gateway-country-dropdown-706' => 'Somalia',
 357+ 'payflowpro_gateway-country-dropdown-710' => 'South Africa',
 358+ 'payflowpro_gateway-country-dropdown-239' => 'South Georgia and the South Sandwich Islands',
 359+ 'payflowpro_gateway-country-dropdown-724' => 'Spain',
 360+ 'payflowpro_gateway-country-dropdown-144' => 'Sri Lanka',
 361+ 'payflowpro_gateway-country-dropdown-654' => 'Saint Helena',
 362+ 'payflowpro_gateway-country-dropdown-666' => 'Saint Pierre and Miquelon',
 363+ 'payflowpro_gateway-country-dropdown-736' => 'Sudan',
 364+ 'payflowpro_gateway-country-dropdown-740' => 'Suriname',
 365+ 'payflowpro_gateway-country-dropdown-744' => 'Svalbard and Jan Mayen',
 366+ 'payflowpro_gateway-country-dropdown-748' => 'Swaziland',
 367+ 'payflowpro_gateway-country-dropdown-752' => 'Sweden',
 368+ 'payflowpro_gateway-country-dropdown-756' => 'Switzerland',
 369+ 'payflowpro_gateway-country-dropdown-760' => 'Syrian Arab Republic',
 370+ 'payflowpro_gateway-country-dropdown-762' => 'Tajikistan',
 371+ 'payflowpro_gateway-country-dropdown-834' => 'Tanzania, United Republic of',
 372+ 'payflowpro_gateway-country-dropdown-158' => 'Taiwan',
 373+ 'payflowpro_gateway-country-dropdown-764' => 'Thailand',
 374+ 'payflowpro_gateway-country-dropdown-768' => 'Togo',
 375+ 'payflowpro_gateway-country-dropdown-772' => 'Tokelau',
 376+ 'payflowpro_gateway-country-dropdown-776' => 'Tonga',
 377+ 'payflowpro_gateway-country-dropdown-780' => 'Trinidad and Tobago',
 378+ 'payflowpro_gateway-country-dropdown-788' => 'Tunisia',
 379+ 'payflowpro_gateway-country-dropdown-792' => 'Turkey',
 380+ 'payflowpro_gateway-country-dropdown-795' => 'Turkmenistan',
 381+ 'payflowpro_gateway-country-dropdown-796' => 'Turks and Caicos Islands',
 382+ 'payflowpro_gateway-country-dropdown-798' => 'Tuvalu',
 383+ 'payflowpro_gateway-country-dropdown-800' => 'Uganda',
 384+ 'payflowpro_gateway-country-dropdown-804' => 'Ukraine',
 385+ 'payflowpro_gateway-country-dropdown-784' => 'United Arab Emirates',
 386+ 'payflowpro_gateway-country-dropdown-826' => 'United Kingdom',
 387+ 'payflowpro_gateway-country-dropdown-840' => 'United States',
 388+ 'payflowpro_gateway-country-dropdown-581' => 'United States Minor Outlying Islands',
 389+ 'payflowpro_gateway-country-dropdown-858' => 'Uruguay',
 390+ 'payflowpro_gateway-country-dropdown-860' => 'Uzbekistan',
 391+ 'payflowpro_gateway-country-dropdown-548' => 'Vanuatu',
 392+ 'payflowpro_gateway-country-dropdown-336' => 'Vatican City State',
 393+ 'payflowpro_gateway-country-dropdown-862' => 'Venezuela, Bolivarian Republic of',
 394+ 'payflowpro_gateway-country-dropdown-704' => 'Viet Nam',
 395+ 'payflowpro_gateway-country-dropdown-092' => 'Virgin Islands, British',
 396+ 'payflowpro_gateway-country-dropdown-850' => 'Virgin Islands, U.S.',
 397+ 'payflowpro_gateway-country-dropdown-876' => 'Wallis and Futuna',
 398+ 'payflowpro_gateway-country-dropdown-732' => 'Western Sahara',
 399+ 'payflowpro_gateway-country-dropdown-882' => 'Western Samoa',
 400+ 'payflowpro_gateway-country-dropdown-887' => 'Yemen',
 401+ 'payflowpro_gateway-country-dropdown-894' => 'Zambia',
 402+ 'payflowpro_gateway-country-dropdown-716' => 'Zimbabwe',
104403 );
105404
106405 /** Message documentation (Message documentation)
@@ -5453,23 +5752,10 @@
54545753 $messages['ta'] = array(
54555754 'payflowpro_gateway-cvv-link' => 'எடுத்துக்காட்டு',
54565755 'payflowpro_gateway-donor-amount' => 'தொகை:',
5457 - 'payflowpro_gateway-donor-email' => 'மின்னஞ்சல் முகவரி:',
54585756 'payflowpro_gateway-donor-fname' => 'முதல் பெயர்:',
54595757 'payflowpro_gateway-donor-mname' => 'நடுப்பெயர்:',
54605758 'payflowpro_gateway-donor-lname' => 'அப்பா/குடும்ப பெயர்:',
54615759 'payflowpro_gateway-donor-name' => 'பெயர்:',
5462 - 'payflowpro_gateway-donor-city' => 'நகரம்:',
5463 - 'payflowpro_gateway-donor-state' => 'மாநிலம்:',
5464 - 'payflowpro_gateway-donor-postal' => 'அஞ்சல் எண்:',
5465 - 'payflowpro_gateway-donor-country' => 'நாடு/மண்டலம்:',
5466 - 'payflowpro_gateway-donor-address' => 'முகவரி:',
5467 - 'payflowpro_gateway-error-msg-emailAdd' => 'மின்னஞ்சல் முகவரி',
5468 - 'payflowpro_gateway-error-msg-fname' => 'முதல் (தங்கள்) பெயர்',
5469 - 'payflowpro_gateway-error-msg-lname' => 'அப்பா/குடும்பப் பெயர்',
5470 - 'payflowpro_gateway-error-msg-street' => 'தெரு முகவரி',
5471 - 'payflowpro_gateway-error-msg-city' => 'நகரம்',
5472 - 'payflowpro_gateway-error-msg-state' => 'மாநிலம்',
5473 - 'payflowpro_gateway-error-msg-zip' => 'அஞ்சல் எண்',
54745760 );
54755761
54765762 /** Telugu (తెలుగు)

Follow-up revisions

RevisionCommit summaryAuthorDate
r74029Followup r74008 Replaced 'ta' translations that were accidentally removed.awjrichards17:59, 30 September 2010
r74042* Follow-up r74008. Split off countries and US States into their own i18n fil...siebrand21:11, 30 September 2010

Comments

#Comment by Siebrand (talk | contribs)   05:56, 30 September 2010
  • I think you haven't svn upped before committing, as part of $messages['ta'] was removed
  • I recommend adding the US states and country names to a separate file and extracting country names from CLDR
#Comment by Awjrichards (talk | contribs)   17:55, 30 September 2010

Thanks. Can you give me an example of another extension that has sates/country names in a separate file? Is there a method for extracting country names from CLDR?

#Comment by Siebrand (talk | contribs)   18:09, 30 September 2010
  • example: There isn't any extension I know of that uses this.
  • CLDR extraction: unfortunately not, although it would be very nice if the country names extraction would be integrated into the existing CLDR extension (which currently contains languages names, but no country names yet).
#Comment by Siebrand (talk | contribs)   18:10, 30 September 2010

Main reason for not wanting this in a 'main' i18n file, is that I don't want this translated at translatewiki.net, because it is a duplication of the CLDR effort.

Status & tagging log