diff --git a/bin/horde-translation b/bin/horde-translation index 3df07f4f8..13c297f7f 100755 --- a/bin/horde-translation +++ b/bin/horde-translation @@ -404,12 +404,14 @@ class Horde_Translation_Script if (is_array($file)) { return array_map(array($this, 'strip_horde'), $file); } - $info = Horde_Yaml::loadFile($file . '/.horde.yml'); - switch ($info['type']) { - case 'application': - return $info['id']; - case 'library': - return 'Horde_' . $info['id']; + if (file_exists($file . '/.horde.yml')) { + $info = Horde_Yaml::loadFile($file . '/.horde.yml'); + switch ($info['type']) { + case 'application': + return $info['id']; + case 'library': + return 'Horde_' . $info['id']; + } } return basename($file); } diff --git a/docs/changelog.yml b/docs/changelog.yml index af533ec0e..239d5d81f 100644 --- a/docs/changelog.yml +++ b/docs/changelog.yml @@ -39,8 +39,9 @@ license: identifier: LGPL-2 uri: http://www.horde.org/licenses/lgpl - notes: |+ - + notes: | + [jan] Make horde-translation work with released versions again. + |+ 5.2.23: api: 5.2.0 state: