[horde]unnamed MIME_DEFAULT_DESCRIPTION
Darius Matuliauskas
darius at lnk.lt
Wed Jul 10 23:50:15 PDT 2002
Cituojama Jan Schneider <jan at horde.org>:
> Zitat von Darius Matuliauskas <darius at lnk.lt>:
>
> > in horde/lib/MIME/Structure.php:16 there is an 'unnamed' string that is
> > not
> > gettexted. I tried to do _('unnamed') and then add this string to *.po,
> > but it
> > didn't get translated. Or, maybe define()'s are not translated at all?
>
> _("unnamed") should work. Did you run 'make' after changing the .po file?
I guess I had translated it in the wrong place (imp rather than horde). It now
works. Could anyone commit this?:
--- horde/lib/MIME/Structure.php Thu Jul 11 08:38:28 2002
+++ horde/lib/MIME/Structure.php.new Thu Jul 11 08:39:13 2002
@@ -13,7 +13,7 @@
define('MIME_DEFAULT_ENCODING', '7bit');
/** @constant MIME_DEFAULT_DESCRIPTION The description to use for parts with
none set. */
-define('MIME_DEFAULT_DESCRIPTION', 'unnamed');
+define('MIME_DEFAULT_DESCRIPTION', _("unnamed"));
/**
More information about the horde
mailing list