Merge pull request #2874 from Hypolite/bug/fix-pgettext-typo

Fix pgettext function name typo
This commit is contained in:
Michael Vogel 2016-10-25 22:31:59 +02:00 committed by GitHub
commit 4996003800
4 changed files with 27 additions and 21 deletions

View file

@ -820,7 +820,7 @@ function admin_page_site_post(&$a) {
function admin_page_site(&$a) {
/* Installed langs */
$lang_choices = get_avaiable_languages();
$lang_choices = get_available_languages();
if(strlen(get_config('system','directory_submit_url')) AND
!strlen(get_config('system','directory'))) {

View file

@ -285,7 +285,7 @@ function install_content(&$a) {
$adminmail = notags(trim($_POST['adminmail']));
$timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
/* Installed langs */
$lang_choices = get_avaiable_languages();
$lang_choices = get_available_languages();
$tpl = get_markup_template('install_settings.tpl');
$o .= replace_macros($tpl, array(

View file

@ -1251,7 +1251,7 @@ function settings_content(&$a) {
$public_post_link = '&public=1';
/* Installed langs */
$lang_choices = get_avaiable_languages();
$lang_choices = get_available_languages();
$o .= replace_macros($stpl, array(
'$ptitle' => t('Account Settings'),