From fa8c21e1cd67ecea286f9e8bd8f652be338d61a6 Mon Sep 17 00:00:00 2001 From: filip Date: Sun, 28 Jun 2015 16:15:05 +0200 Subject: properly count selfclosed xml translation strings --- langs/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'langs/lib.php') diff --git a/langs/lib.php b/langs/lib.php index 5fd5f50d3..f28ae30f9 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -180,11 +180,11 @@ function _ts_diff($locale, $resource, $source_l = NULL, $path = NULL) $source_strings[] = $source_string[2]; } // count lines - if (false !== strpos($line, '')) { + if (false !== strpos($line, ' lines - if (false !== strpos($line, '')) { + if (false !== strpos($line, '