diff options
author | Filip Komar <filip@mageia.org> | 2014-03-31 16:41:43 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-31 16:41:43 +0000 |
commit | 737cc090aaa258780302a33e13dd59e946657355 (patch) | |
tree | 0e321fe4b61d76a8d990ce67f12d96de49730917 /langs/diff.php | |
parent | 325c9529e71a5af1c2cd5299e904d4b6e729c1f7 (diff) | |
download | www-737cc090aaa258780302a33e13dd59e946657355.tar www-737cc090aaa258780302a33e13dd59e946657355.tar.gz www-737cc090aaa258780302a33e13dd59e946657355.tar.bz2 www-737cc090aaa258780302a33e13dd59e946657355.tar.xz www-737cc090aaa258780302a33e13dd59e946657355.zip |
report family prepared for conversion of mognase to gettext
Diffstat (limited to 'langs/diff.php')
-rw-r--r-- | langs/diff.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/diff.php b/langs/diff.php index cbbbc9486..70ff102c6 100644 --- a/langs/diff.php +++ b/langs/diff.php @@ -45,7 +45,7 @@ if($resource =='about/license') { $license = false; } -if ($source_file == '../_nav/langs/en.lang') { +if (false !== strstr($source_file, '../_nav/langs/en.')) { $file = substr($target_file, 14); $note = '<span style="color: red; font-weight: bold"> NOTE: THIS IS TRANSLATION OF NAVIGATION SO LOCATION FOR COMMIT IS DIFFERENT!</span>'; $commit = '<a href="//svnweb.mageia.org/web/www/trunk/_nav/langs/' . $file . '?view=markup">web/www/trunk/_nav/langs/' . $file . '</a> and for now to the <a href="//svnweb.mageia.org/web/nav/langs/' . $file . '?view=markup">web/nav/langs/' . $file . '</a> too'; @@ -59,7 +59,7 @@ $source_file_path = realpath($source_file); $target_file_path = realpath($target_file); if (false === strstr($source_file_path, '/langs/') || - false == strstr($target_file_path, '/langs/')) { + false === strstr($target_file_path, '/langs/')) { die('no sorry'); } |