You are here

function yashare_get_languages in Yandex.Share 7.2

Same name and namespace in other branches
  1. 7 yashare.inc \yashare_get_languages()

Returns supported languages.

2 calls to yashare_get_languages()
yashare_admin_settings in ./yashare.admin.inc
Returns settings form.
yashare_get_language in ./yashare.inc
Returns selected language or protected language for API.

File

./yashare.inc, line 150
Helper functions for the Yandex.Share module.

Code

function yashare_get_languages() {
  return array(
    'auto' => t("User's language"),
    'az' => t('Azerbaijani'),
    'be' => t('Belorussian'),
    'en' => t('English'),
    'hy' => t('Armenian'),
    'ka' => t('Georgian'),
    'kk' => t('Kazakh'),
    'ro' => t('Romanian'),
    'ru' => t('Russian'),
    'tr' => t('Turkish'),
    'tt' => t('Tatar'),
    'uk' => t('Ukrainian'),
  );
}