X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-repair_lang.php;h=bbdbab470f0224a5aac3d17346c343b672a6e644;hb=12effdb00f104773905152bfb2950496c2efaec4;hp=cb65b59a0a650fe3493ddbc6dcd87f5fc7f532a6;hpb=32fed28f469610c8bfdec7f18089cceea9e15df0;p=mailer.git diff --git a/inc/modules/admin/what-repair_lang.php b/inc/modules/admin/what-repair_lang.php index cb65b59a0a..bbdbab470f 100644 --- a/inc/modules/admin/what-repair_lang.php +++ b/inc/modules/admin/what-repair_lang.php @@ -14,11 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -43,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Get a list with current language files $langFiles = getArrayFromDirectory('inc/language/', '', false, false, array('_de.php'), '.php', '@(\.|\.\.)$@', true, getCurrentLanguage()); @@ -102,9 +100,8 @@ foreach ($validLanguages as $lang) { // Prepare content $content = array( + 'inc' => $INC, 'source' => $langFile, - 'target' => basename($INC), - 'diff_count' => translateComma(getLanguageComparisonDifference($INC)), 'diff_content' => $diffContent, ); @@ -114,8 +111,8 @@ foreach ($validLanguages as $lang) { } else { // Not readable, prepare content $content = array( - 'file' => basename($INC), - 'lang' => $lang, + 'inc' => $INC, + 'lang' => $lang, ); // Load template @@ -127,9 +124,9 @@ foreach ($validLanguages as $lang) { // Preapre content $content = array( 'rows' => $OUT, - 'file_count' => translateComma(count($langFiles)), - 'total_diff' => translateComma($GLOBALS['lang_diff_count']['total']), - 'total_msgs' => translateComma($GLOBALS['msg_count'][getCurrentLanguage()]), + 'file_count' => count($langFiles), + 'total_diff' => $GLOBALS['lang_diff_count']['total'], + 'total_msgs' => $GLOBALS['msg_count'][getCurrentLanguage()], ); // Load main template