summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2011-10-03 06:54:36 (GMT)
committercatch2011-10-03 06:54:36 (GMT)
commitbc76d7f80e5668d8daa6559c637318d8a5fb40d8 (patch)
tree3881f60e6d462c330e4039c7a3615b5c28abbe70
parent256d85044583970a2d39e6d9cfe32e95ba98b7f0 (diff)
Issue #1297506 by alberto56: Fixed non-English installation: Call to undefined function _locale_import_read_po() in ../includes/install.inc on line 1113.
-rw-r--r--includes/install.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/install.inc b/includes/install.inc
index 88a663a..423ef1f 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -1108,7 +1108,7 @@ function st($string, array $args = array(), array $options = array()) {
// that multiple files end with the same extension, even if unlikely.
$po_files = file_scan_directory('./profiles/' . $install_state['parameters']['profile'] . '/translations', '/'. $install_state['parameters']['locale'] .'\.po$/', array('recurse' => FALSE));
if (count($po_files)) {
- require_once DRUPAL_ROOT . '/includes/locale.inc';
+ require_once DRUPAL_ROOT . '/includes/gettext.inc';
foreach ($po_files as $po_file) {
_locale_import_read_po('mem-store', $po_file);
}