[wp-polyglots] more...

Nikolay Bachiyski nbachiyski at developer.bg
Sat Jan 20 18:58:23 GMT 2007


2007/1/20, wp-polyglots at futourist.hu <wp-polyglots at futourist.hu>:
> Hello,
>
> As I see the plenty old "more..." string
> is keeping its "untranslatable" status :-)
> Its new position: wp-includes/post-template.php @ line 53 and 61

Have you filed a patch in trac? If you haven't - please do it and give
it milestone 2.2, I am afraid it is too late for 2.1.

Unfortunately functions cannot be applied to optional parameters, so
we cannot just say:

function the_content($more_link_text = __('(more...)'), ...

However we could do something else:

function the_content($more_link_text = null, ... {
    if (is_null($more_link_text)) {
        $more_link_text = __('(more...)');
    }
}

Have a glorious day,
Nikolay

>
> Regards,
> Tom
>
> --
> Makó Tamás
> http://futourist.hu/tom/
>


More information about the wp-polyglots mailing list