From: Vincent Vanwaelscappel Date: Mon, 24 Feb 2025 15:51:48 +0000 (+0100) Subject: #7355 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0913e36029e5b8c7d1c1ab419b3d5c1cce3dd60a;p=cubist_locale.git #7355 @1 --- diff --git a/src/Translate.php b/src/Translate.php index 895e2cf..af33428 100644 --- a/src/Translate.php +++ b/src/Translate.php @@ -54,6 +54,9 @@ class Translate $this->_paths = array_unique($this->_paths); foreach ($this->_paths as $sectionLabel => $path) { + if(!file_exists($path)) { + continue; + } if (!isset($this->_toTranslate[$sectionLabel])) { $this->_toTranslate[$sectionLabel] = [];