projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5077f4b
)
Bug. add_domain function generates a big list of not found domain file errors. Fixed.
author
Joe
<joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 09:49:28 +0000
(10:49 +0100)
committer
Joe
<joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 09:49:28 +0000
(10:49 +0100)
includes/lang/gettext.inc
patch
|
blob
|
history
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)