Skip to content

Commit

Permalink
translation of language name to other languages.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnclause committed Sep 20, 2015
1 parent dc26bc7 commit 1b38984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtranslate_core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ function qtranxf_use_block($lang, $blocks, $show_available=false, $show_empty=fa
foreach($available_langs as $language => $b) {
if($i==1) $language_list = $end_separator.$language_list;
if($i>1) $language_list = $normal_separator.$language_list;
$language_list = '<a href="'.qtranxf_convertURL('', $language, false, true).'" class="qtranxs-available-language-link qtranxs-available-language-link-'.$language.'">'.$q_config['language_name'][$language].'</a>'.$language_list;
$language_list = '<a href="'.qtranxf_convertURL('', $language, false, true).'" class="qtranxs-available-language-link qtranxs-available-language-link-'.$language.'">'.__($q_config['language_name'][$language],'qtranslate').'</a>'.$language_list;
++$i;
}
}
Expand Down

0 comments on commit 1b38984

Please sign in to comment.