summaryrefslogtreecommitdiffstats
path: root/lib/gettext.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gettext.php')
-rw-r--r--lib/gettext.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gettext.php b/lib/gettext.php
index 6c88b057..c73ad501 100644
--- a/lib/gettext.php
+++ b/lib/gettext.php
@@ -20,10 +20,10 @@
*/
-/*!
- @function load_gettext
- @discussion sets the local
-*/
+/**
+ * load_gettext
+ * Sets up our local gettext settings.
+ */
function load_gettext() {
/* If we have gettext */
if (function_exists('bindtextdomain')) {
@@ -57,9 +57,9 @@ function load_gettext() {
*/
function __($string,$subject,$replace) {
- $translated = _($string);
- $result = str_replace($subject,$replace,$translated);
- return $result;
+ $translated = _($string);
+ $result = str_replace($subject,$replace,$translated);
+ return $result;
} // __