Commit f74fa167f879291889eae1f2e4121e5eaa782a89
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 | 469 | |
| 470 | 470 | // handle unexpected errors in smarty somewhat more gracefully, even if no gettext is installed. |
| 471 | 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 | 477 | $KTInit->prependPath(KT_DIR . '/thirdparty/pear'); | ... | ... |