From 737cc090aaa258780302a33e13dd59e946657355 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Mon, 31 Mar 2014 16:41:43 +0000 Subject: report family prepared for conversion of mognase to gettext --- langs/diff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'langs/diff.php') 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 = ' NOTE: THIS IS TRANSLATION OF NAVIGATION SO LOCATION FOR COMMIT IS DIFFERENT!'; $commit = 'web/www/trunk/_nav/langs/' . $file . ' and for now to the web/nav/langs/' . $file . ' 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'); } -- cgit v1.2.1