Commit f74fa167f879291889eae1f2e4121e5eaa782a89

Authored by nbm
1 parent 507aa975

Define the _kt function as equivalent to gettext's _ for now.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5138 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 1 deletions
config/dmsDefaults.php
@@ -469,7 +469,9 @@ $KTInit = new KTInit(); @@ -469,7 +469,9 @@ $KTInit = new KTInit();
469 469
470 // handle unexpected errors in smarty somewhat more gracefully, even if no gettext is installed. 470 // handle unexpected errors in smarty somewhat more gracefully, even if no gettext is installed.
471 if (!function_exists('_')) { 471 if (!function_exists('_')) {
472 - function _($s) { return $s; } 472 + function _kt($s) { return $s; }
  473 +} else {
  474 + function _kt($s) { return _($s); }
473 } 475 }
474 476
475 $KTInit->prependPath(KT_DIR . '/thirdparty/pear'); 477 $KTInit->prependPath(KT_DIR . '/thirdparty/pear');