diff options
-rw-r--r-- | composer.json | 1 | ||||
-rw-r--r-- | src/common.php | 12 |
2 files changed, 2 insertions, 11 deletions
diff --git a/composer.json b/composer.json index b1e9836..1231552 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ }, "require": { "php": ">=5.3.0", + "phpmyadmin/motranslator": "~1.0", "ext-mbstring": "*" }, "require-dev": { diff --git a/src/common.php b/src/common.php index 3575c24..94b248c 100644 --- a/src/common.php +++ b/src/common.php @@ -7,15 +7,5 @@ */ if (!function_exists('__')) { - /** - * Translates the given string. - * - * @param string $str String to be translated. - * - * @return string - */ - function __($str) - { - return $str; - } + MoTranslator\Loader::load_functions(); } |