projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug. add_domain function generates a big list of not found domain file errors. Fixed.
[fa-stable.git]
/
includes
/
lang
/
gettext.inc
diff --git
a/includes/lang/gettext.inc
b/includes/lang/gettext.inc
index 9f1a8381739f3cd9203784cab32f234a0b2c0598..1fb70a5d4fb76c401c3084193dc698d1e00e4313 100644
(file)
--- a/
includes/lang/gettext.inc
+++ b/
includes/lang/gettext.inc
@@
-121,6
+121,8
@@
class gettext_native_support
*/
function add_domain($domain, $path=false, $version='')
{
+ if($domain == 'C')
+ return;
if ($path === false)
$path = $this->domain_path;
if ($path === false)