aboutsummaryrefslogtreecommitdiffstats
path: root/langs/lib.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-16 13:55:38 +0000
committerFilip Komar <filip@mageia.org>2014-03-16 13:55:38 +0000
commitde07ef83d4ceb206a30d7bf6dbab6323bc0b02b1 (patch)
tree2b5e538176b9d27d9a008957b92a631956cd1480 /langs/lib.php
parentcf636c606e93ed522ef2da9f8e41bc4c2f70fd1c (diff)
downloadwww-de07ef83d4ceb206a30d7bf6dbab6323bc0b02b1.tar
www-de07ef83d4ceb206a30d7bf6dbab6323bc0b02b1.tar.gz
www-de07ef83d4ceb206a30d7bf6dbab6323bc0b02b1.tar.bz2
www-de07ef83d4ceb206a30d7bf6dbab6323bc0b02b1.tar.xz
www-de07ef83d4ceb206a30d7bf6dbab6323bc0b02b1.zip
fixed proper handling of fuzzy strings in reports
Diffstat (limited to 'langs/lib.php')
-rw-r--r--langs/lib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/langs/lib.php b/langs/lib.php
index 15f133131..cfc40cf28 100644
--- a/langs/lib.php
+++ b/langs/lib.php
@@ -88,7 +88,7 @@ function _po_diff($locale, $resource)
$pot_strings = array();
$untrans = array();
- $missing = array();
+ $fuzzy_or_missing = array();
foreach ($source_l as $escaped_string => $subarray) {
if (!empty($subarray["msgid"])) { // filter out header
@@ -108,14 +108,14 @@ function _po_diff($locale, $resource)
$untrans[] = $escaped_string;
}
} else {
- $missing[] = $escaped_string;
+ $fuzzy_or_missing[] = $escaped_string;
}
}
return array(
'a' => count($pot_strings), // # of original strings
// 'b' => count($po_strings), // # of target strings
- 'missing' => $missing,
+ 'fuzzy_or_missing' => $fuzzy_or_missing,
'notrans' => $untrans,
'extra' => array(),
'dup_str' => array(),