Skip to content

Commit

Permalink
MDL-13997 Links from "missing" to "compare" mode are being created us…
Browse files Browse the repository at this point in the history
…ing ID instead of A NAME now. Do not highlight strings translated in _local only.
  • Loading branch information
mudrd8mz committed May 19, 2008
1 parent 014734b commit f3ab121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/lang.php
Expand Up @@ -294,7 +294,7 @@
$missingcounter++;
}
if (LANG_LINK_MISSING_STRINGS && ($missingstring || $translationsdiffer)) {
$missinglinkstart = "<a href=\"lang.php?mode=compare&amp;currentfile=$filename#missing$missingcounter\">";
$missinglinkstart = "<a href=\"lang.php?mode=compare&amp;currentfile=$filename#$key\">";
$missinglinkend = '</a>';
} else {
$missinglinkstart = '';
Expand Down Expand Up @@ -571,7 +571,7 @@
}
$o .= '">';
$o .= '<td dir="ltr" lang="en">';
$o .= '<span class="stren">'.$envalue.'</span>';
$o .= '<span id="'.$key.'" class="stren">'.$envalue.'</span>';
$o .= '<br />'."\n";
$o .= '<span class="strkey">'.$key.'</span>';
$o .= '</td>'."\n";
Expand Down Expand Up @@ -613,7 +613,7 @@
}
} else {
// the string is translated in the pack being processed
if ($value <> $value2 && ($uselocal || $value2 <> '')) {
if ($value <> $value2 && ($value2 <> '')) {
$cellcolour = 'class="localdifferent"';
$usetabindex = true;
$missingcounter++;
Expand Down

0 comments on commit f3ab121

Please sign in to comment.