aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report_test.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-02-14 10:23:02 +0100
committerfilip <filip.komar@gmail.com>2015-02-14 10:23:02 +0100
commitfe90bd88bcf8fb9b47e84ff510d0992f55da7a47 (patch)
tree5fdc1a0046409796911ee876c6226444fab92524 /langs/report_test.php
parent93227123856a3e93d7cd46c1cbedd81b530ebb8b (diff)
downloadwww-fe90bd88bcf8fb9b47e84ff510d0992f55da7a47.tar
www-fe90bd88bcf8fb9b47e84ff510d0992f55da7a47.tar.gz
www-fe90bd88bcf8fb9b47e84ff510d0992f55da7a47.tar.bz2
www-fe90bd88bcf8fb9b47e84ff510d0992f55da7a47.tar.xz
www-fe90bd88bcf8fb9b47e84ff510d0992f55da7a47.zip
link update
Diffstat (limited to 'langs/report_test.php')
-rw-r--r--langs/report_test.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/langs/report_test.php b/langs/report_test.php
index fac1fcba6..a6179bf1d 100644
--- a/langs/report_test.php
+++ b/langs/report_test.php
@@ -163,7 +163,7 @@
$num_of_untranslated_strings += $constitution_results['aproximate_number_of_untranslated_lines'];
} else if ($resource_filename == 'about/license') {
require_once('../en/about/license/license.php');
- $license_numbers = load_license_numbers($l, false);
+ $license_numbers = load_license_numbers($l, true);
if ($l == 'en') {
$number_of_unique_lines_in_eng_license = $license_numbers["all"];
}
@@ -377,13 +377,23 @@ foreach ($_diff_ as $part) {
}
$snails_time += $_diff_time_sum = array_sum($_diff_time);
-if (FALSE) {
+if (1) {
+
+// generating_report($language_codes, $resource_names, $path = NULL, $pot_name = NULL)
+// $one_report = generating_report(array_values($language_codes[2]), array($tx_name), $git_path, $pot_name);
+
+ $stat = _po_diff('en', 'msec-test', NULL, '/home/filip/Dokumenti/Razvoj spletnih strani/Mageia/_nav');
+// $stat = _po_diff('en', 'mageia-kde-translation-test', NULL, '/home/filip/Dokumenti/Razvoj spletnih strani/Mageia/_nav');
+
// read_license_from_vcs, mognas_f, _diff
//var_export($read_license_from_vcs_) . '</br>' . PHP_EOL;
//var_export($_diff_) . '</br>' . PHP_EOL;
echo '<pre>' . PHP_EOL;
+ echo '</br>' .'$stat: ';
+ var_export($stat) . '</br>' . PHP_EOL;
+
echo '</br>' .'$one_language_all_resources: ';
var_export($one_language_all_resources) . '</br>' . PHP_EOL;