[Tickets #14830] Re: horde-translation does not work anymore on code downloaded via pear
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Oct 5 23:47:11 UTC 2020
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14830
------------------------------------------------------------------------------
Ticket | 14830
Updated By | turix13 at gmail.com
Summary | horde-translation does not work anymore on code
| downloaded via pear
Queue | Horde Base
Version | 5.2.18
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
turix13 at gmail.com (2020-10-05 23:47) wrote:
> With the changes introducted between version 5.2.17 and 5.2.18, the
> /usr/bin/horde-translation script does not work properly when trying
> to generate new MO files from PO files edited locally after a
> release of the Horde package has been downloaded via pear.
>
> Around line 407 of horde-translation, in the strip_horde function,
> the 5.2.18 version introduces a reference to Horde_Yaml which the
> Horde pear package does not depend on. With Horde_Yaml installed,
> the strip_horde function still fails as there is no ".horde.yml"
> file in a pear downloaded Horde package.
>
> The code of the strip_horde function in the older version used
> str_replace to do the work, which worked fine in the case that there
> is no git checkout involved.
More information about the bugs
mailing list