Skip to content
Snippets Groups Projects
Commit 38cfbe48 authored by Tommaso Basilici's avatar Tommaso Basilici
Browse files

issue #2584 - added a counter

parent b73c36c8
No related branches found
No related tags found
No related merge requests found
...@@ -175,14 +175,17 @@ foreach ($langstrings_3d AS $filename => $file) { ...@@ -175,14 +175,17 @@ foreach ($langstrings_3d AS $filename => $file) {
} }
} }
echo "<h2>Duplicate strings in lang files in $workdir</h2>"; echo "<h2>Duplicate strings in lang files in $workdir - ".count($dups)." found</h2>";
echo "<pre>"; echo "<pre>";
echo "<table border_bottom=1> "; echo "<table border_bottom=1> ";
echo "<thead><tr><th>String</th><th>File and lines</th></thead>"; echo "<thead><tr><th align=\"center\">#</th><th>String</th><th>File and lines</th></thead>";
echo "<tbody>"; echo "<tbody>";
$count = 0;
foreach ($dups as $string => $pages) { foreach ($dups as $string => $pages) {
$count++;
echo "<tr>"; echo "<tr>";
echo "<td align=\"center\">$count</td>";
echo "<td>$string</td>"; echo "<td>$string</td>";
echo "<td>"; echo "<td>";
foreach ($pages AS $page => $lines ) { foreach ($pages AS $page => $lines ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment