Bug. add_domain function generates a big list of not found domain file errors. Fixed.
authorJoe <joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 09:49:28 +0000 (10:49 +0100)
committerJoe <joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 09:49:28 +0000 (10:49 +0100)
includes/lang/gettext.inc

index 9f1a8381739f3cd9203784cab32f234a0b2c0598..1fb70a5d4fb76c401c3084193dc698d1e00e4313 100644 (file)
@@ -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)