summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 934413621..c158e868d 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -311,7 +311,7 @@ function _locale_import_read_po($file) {
$plural = 0; // Current plural form
$po = strtr($po, array("\\\n" => ""));
- $lines = split("\n", $po);
+ $lines = explode("\n", $po);
$lineno = 0;
foreach ($lines as $line) {
@@ -903,7 +903,7 @@ function _locale_export_print($str) {
* @author Jacobo Tarrio
*/
function _locale_export_wrap($str, $len) {
- $words = split(" ", $str);
+ $words = explode(' ', $str);
$ret = array();
$cur = "";