[dev] Patch for Kronolith :: Events Category translation

Jan Schneider jan at horde.org
Tue Dec 30 11:59:49 PST 2003


Zitat von Joel Vandal <jvandal at infoteck.qc.ca>:

> Hi,
>
> With Kronolith, the Events Category aren't translated in my local, so
> I've check the code and found the problem (?)... but these patch solve
> it.
>
> Index: lib/Kronolith.php
> ===================================================================
> RCS file: /repository/kronolith/lib/Kronolith.php,v
> retrieving revision 1.166
> diff -r1.166 Kronolith.php
> 929c929
> <                 $categories[$key] = $val;
> ---
> >                 $categories[$key] = _($val);

Committed, thanks.

> Index: config/prefs.php.dist
> ===================================================================
> RCS file: /repository/kronolith/config/prefs.php.dist,v
> retrieving revision 1.43
> diff -r1.43 prefs.php.dist
> 194c194
> <     'value' => sprintf('1:%s|2:%s', _("Personal"), _("Business")),
> ---
> >     'value' => sprintf('1:%s|2:%s', "Personal", "Business"),

These have to stay there because the strings won't get catched by the
translation tools otherwise.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list