Skip to content

Commit

Permalink
[jan] Make horde-translation work with released versions again.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 24, 2021
1 parent 1c63aeb commit caf556f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
14 changes: 8 additions & 6 deletions bin/horde-translation
Expand Up @@ -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);
}
Expand Down
12 changes: 12 additions & 0 deletions doc/changelog.yml
Expand Up @@ -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:
Expand Down

0 comments on commit caf556f

Please sign in to comment.