aboutsummaryrefslogtreecommitdiffstats
path: root/admin/languages_new.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/languages_new.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/admin/languages_new.php b/admin/languages_new.php
index da0d31bfd..1b05a257c 100644
--- a/admin/languages_new.php
+++ b/admin/languages_new.php
@@ -42,13 +42,7 @@ $languages->get_db_languages();
$languages_dir = PHPWG_ROOT_PATH.'language';
if (!is_writable($languages_dir))
{
- array_push(
- $page['errors'],
- sprintf(
- l10n('Add write access to the "%s" directory'),
- 'language'
- )
- );
+ $page['errors'][] = l10n('Add write access to the "%s" directory', 'language');
}
// +-----------------------------------------------------------------------+
@@ -99,7 +93,7 @@ if (isset($_GET['installstatus']))
default:
array_push(
$page['errors'],
- sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
+ l10n('An error occured during extraction (%s).', htmlspecialchars($_GET['installstatus']))
);
}
}