diff options
author | momo-i <webmaster@momo-i.org> | 2011-02-03 14:03:16 +0900 |
---|---|---|
committer | momo-i <webmaster@momo-i.org> | 2011-02-03 14:03:16 +0900 |
commit | 9ce63661d1ce941dee468cec6fe197534a636f40 (patch) | |
tree | 2c89d117befdad5dfab8948979897a39d667db48 /lib/gettext.php | |
parent | 7ef24e84c6986a07be5144df4b67186f78f99d61 (diff) | |
download | ampache-9ce63661d1ce941dee468cec6fe197534a636f40.tar.gz ampache-9ce63661d1ce941dee468cec6fe197534a636f40.tar.bz2 ampache-9ce63661d1ce941dee468cec6fe197534a636f40.zip |
Fixed indent and add translation words
Diffstat (limited to 'lib/gettext.php')
-rw-r--r-- | lib/gettext.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/gettext.php b/lib/gettext.php index d4eb0224..fa96dfc3 100644 --- a/lib/gettext.php +++ b/lib/gettext.php @@ -34,6 +34,8 @@ /** * load_gettext * Sets up our local gettext settings. + * + * @return void */ function load_gettext() { /* If we have gettext */ @@ -65,6 +67,11 @@ function load_gettext() { * This function does the same as _ on the supplied * string, but also does a str_replace on the supplied * vars + * + * @param string $string + * @param string $subject + * @param string $replace + * @return string */ function __($string,$subject,$replace) { @@ -74,6 +81,12 @@ function __($string,$subject,$replace) { } // __ +/** + * gettext_noop + * + * @param string $string + * @return string + */ function gettext_noop($string) { return $string; } |