From: Joe Date: Fri, 24 Feb 2023 09:49:28 +0000 (+0100) Subject: Bug. add_domain function generates a big list of not found domain file errors. Fixed. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=3218c355d9455506febbd3a8a7d9bd61fc9a0a34 Bug. add_domain function generates a big list of not found domain file errors. Fixed. --- diff --git a/includes/lang/gettext.inc b/includes/lang/gettext.inc index 9f1a8381..1fb70a5d 100644 --- 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)