]> _ Git - cubist_locale.git/commitdiff
#7355 @1 master
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 24 Feb 2025 15:51:48 +0000 (16:51 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 24 Feb 2025 15:51:48 +0000 (16:51 +0100)
src/Translate.php

index 895e2cf839dcb103a7bf08dc4d3119046723dae1..af3342836b126d67020b0ca5752424bac64a26ad 100644 (file)
@@ -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] = [];