diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 <translation type="unfinished"></translation> lines - if (false !== strpos($line, '<translation type="unfinished">')) { + if (false !== strpos($line, '<translation type="unfinished"')) { $untranslated_strings[] = $source_string[2]; } // count <translation type="obsolete"></translation> lines - if (false !== strpos($line, '<translation type="obsolete">')) { + if (false !== strpos($line, '<translation type="obsolete"')) { array_pop($source_strings); // subtract obsoleted source strings $obsoleted_strings[] = $source_string[2]; } |