diff --git a/bin/horde-translation b/bin/horde-translation index 0e050083b..ad872d3a7 100755 --- a/bin/horde-translation +++ b/bin/horde-translation @@ -407,12 +407,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/doc/changelog.yml b/doc/changelog.yml index 5cb70c65d..c2e219672 100644 --- a/doc/changelog.yml +++ b/doc/changelog.yml @@ -30,6 +30,18 @@ [mms] Add Cache Administration page. [mms] Add the 'time_format_mini' preference. [mjr] Display ActiveSync client lastSyncTime in user's timezone (Request #13200). +5.2.24: + api: 5.2.0 + state: + release: stable + api: stable + date: 2020-06-14 + license: + identifier: LGPL-2 + uri: http://www.horde.org/licenses/lgpl + notes: | + [jan] Make horde-translation work with released versions again. + |+ 5.2.23: api: 5.2.0 state: