You are here

function globallink_update_7230 in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink.install \globallink_update_7230()
  2. 7.5 globallink.install \globallink_update_7230()

Implements hook_update_N().

Version 2.3.0 updates.

File

./globallink.install, line 2463
Installation file for GlobalLink module.

Code

function globallink_update_7230() {
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'aa',
    'locale_desc' => 'Afar',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'af',
    'locale_desc' => 'Afrikaans',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'am',
    'locale_desc' => 'Amharic',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'an',
    'locale_desc' => 'Aragonese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ar',
    'locale_desc' => 'Arabic',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'as',
    'locale_desc' => 'Assamese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ay',
    'locale_desc' => 'Aymara',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'az',
    'locale_desc' => 'Azerbaijani',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'az-XC',
    'locale_desc' => 'Azerbaijani-Cyrillic',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'az-XE',
    'locale_desc' => 'Azerbaijani-Latin',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ba',
    'locale_desc' => 'Bashkir',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'be',
    'locale_desc' => 'Belarusian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bg',
    'locale_desc' => 'Bulgarian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bh',
    'locale_desc' => 'Bihari',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bi',
    'locale_desc' => 'Bislama',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bn',
    'locale_desc' => 'Bengali',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'br',
    'locale_desc' => 'Breton',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bs',
    'locale_desc' => 'Bosnian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'bs-BA',
    'locale_desc' => 'Bosnian, Bosnien und Herzegowina',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ca',
    'locale_desc' => 'Catalan',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'cb',
    'locale_desc' => 'Cebuano',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ce',
    'locale_desc' => 'Chechen',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ch',
    'locale_desc' => 'Chamorro',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'co',
    'locale_desc' => 'Corsican',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'cs',
    'locale_desc' => 'Czech',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'cy',
    'locale_desc' => 'Welsh',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'da',
    'locale_desc' => 'Danish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'de',
    'locale_desc' => 'German',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'dz',
    'locale_desc' => 'Dzongkha',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'el',
    'locale_desc' => 'Greek',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'en',
    'locale_desc' => 'English',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'es',
    'locale_desc' => 'Spanish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'et',
    'locale_desc' => 'Estonian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'eu',
    'locale_desc' => 'Basque',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fa',
    'locale_desc' => 'Persian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fi',
    'locale_desc' => 'Finnish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fj',
    'locale_desc' => 'Fijian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fo',
    'locale_desc' => 'Faroese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fr',
    'locale_desc' => 'French',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'fy',
    'locale_desc' => 'Frisian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ga',
    'locale_desc' => 'Irish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'gd',
    'locale_desc' => 'Scottish Gaelic',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'gl',
    'locale_desc' => 'Galician',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'gn',
    'locale_desc' => 'Guaraní',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'gu',
    'locale_desc' => 'Gujarati',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ha',
    'locale_desc' => 'Hausa',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'he',
    'locale_desc' => 'Hebrew',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'hi',
    'locale_desc' => 'Hindi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'hm',
    'locale_desc' => 'Hmong',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'hr',
    'locale_desc' => 'Croatian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ht',
    'locale_desc' => 'Haitian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'hu',
    'locale_desc' => 'Hungarian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'hy',
    'locale_desc' => 'Armenian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ia',
    'locale_desc' => 'Interlingua',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'id',
    'locale_desc' => 'Indonesian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ie',
    'locale_desc' => 'Interlingue',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ik',
    'locale_desc' => 'Inupiaq',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'il',
    'locale_desc' => 'Ilonggo',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'is',
    'locale_desc' => 'Icelandic',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'it',
    'locale_desc' => 'Italian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'iu',
    'locale_desc' => 'Inuktitut',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ja',
    'locale_desc' => 'Japanese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'jv',
    'locale_desc' => 'Javanese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'kl',
    'locale_desc' => 'Kalaallisut',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ko',
    'locale_desc' => 'Korean',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ks',
    'locale_desc' => 'Kashmiri',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ku',
    'locale_desc' => 'Kurdish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'la',
    'locale_desc' => 'Latin',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ln',
    'locale_desc' => 'Lingala',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'lt',
    'locale_desc' => 'Lithuanian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'lv',
    'locale_desc' => 'Latvian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mg',
    'locale_desc' => 'Malagasy',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mi',
    'locale_desc' => 'Maori',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mk',
    'locale_desc' => 'Macedonian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ml',
    'locale_desc' => 'Malayalam',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mn',
    'locale_desc' => 'Mongolian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mo',
    'locale_desc' => 'Moldavian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mr',
    'locale_desc' => 'Marathi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ms',
    'locale_desc' => 'Malay',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'mt',
    'locale_desc' => 'Maltese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'na',
    'locale_desc' => 'Nauru',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ne',
    'locale_desc' => 'Nepali',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'nl',
    'locale_desc' => 'Dutch',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'no',
    'locale_desc' => 'Norwegian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'oc',
    'locale_desc' => 'Occitan',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'om',
    'locale_desc' => 'Oromo',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'or',
    'locale_desc' => 'Oriya',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'pa',
    'locale_desc' => 'Punjabi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'pl',
    'locale_desc' => 'Polish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'pt',
    'locale_desc' => 'Portuguese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'qu',
    'locale_desc' => 'Quechua',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'rm',
    'locale_desc' => 'Romansh',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'rn',
    'locale_desc' => 'Kirundi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ro',
    'locale_desc' => 'Romanian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ru',
    'locale_desc' => 'Russian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'rw',
    'locale_desc' => 'Kinyarwanda',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sa',
    'locale_desc' => 'Sanskrit',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sd',
    'locale_desc' => 'Sindhi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sg',
    'locale_desc' => 'Sango',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sk',
    'locale_desc' => 'Slovak',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sl',
    'locale_desc' => 'Slovenian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sm',
    'locale_desc' => 'Samoan',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sn',
    'locale_desc' => 'Shona',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sq',
    'locale_desc' => 'Albanian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sr',
    'locale_desc' => 'Serbian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ss',
    'locale_desc' => 'Swati',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'st',
    'locale_desc' => 'Southern Sotho',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sv',
    'locale_desc' => 'Swedish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sw',
    'locale_desc' => 'Swahili',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'sz',
    'locale_desc' => 'Sami',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ta',
    'locale_desc' => 'Tamil',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'te',
    'locale_desc' => 'Telugu',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ti',
    'locale_desc' => 'Tigrinya',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tk',
    'locale_desc' => 'Turkmen',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tl',
    'locale_desc' => 'Tagalog',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tn',
    'locale_desc' => 'Tswana',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'to',
    'locale_desc' => 'Tonga',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tr',
    'locale_desc' => 'Turkish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ts',
    'locale_desc' => 'Tsonga',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tt',
    'locale_desc' => 'Tatar',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'tw',
    'locale_desc' => 'Twi',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ug',
    'locale_desc' => 'Uighur',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'uk',
    'locale_desc' => 'Ukrainian',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'ur',
    'locale_desc' => 'Urdu',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'vi',
    'locale_desc' => 'Vietnamese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'vi-US',
    'locale_desc' => 'Vietnamese, United States',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'vo',
    'locale_desc' => 'Volapük',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'xh',
    'locale_desc' => 'Xhosa',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'yi',
    'locale_desc' => 'Yiddish',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'yo',
    'locale_desc' => 'Yoruba',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'za',
    'locale_desc' => 'Zhuang',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'zh',
    'locale_desc' => 'Chinese',
  ))
    ->execute();
  db_insert('globallink_locale')
    ->fields(array(
    'locale_code' => 'zu',
    'locale_desc' => 'Zulu',
  ))
    ->execute();
}