You are here

function yashare_get_languages in Yandex.Share 7

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

Returns supported languages.

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

File

./yashare.inc, line 62
Yandex.Share helper functions.

Code

function yashare_get_languages() {
  return array(
    'auto' => t("User's language"),
    'be' => t('Belorussian'),
    'en' => t('English'),
    'kk' => t('Kazakh'),
    'ru' => t('Russian'),
    'tt' => t('Tatarian'),
    'uk' => t('Ukrainian'),
  );
}