Page 1 of 1

missing text-constant in default-template

Posted: Sun Jul 29, 2007 4:00 pm
by stm999999999
in trackbacks.tpl (default-template) we have a text as a text and not as a text-constant:

Code: Select all

        <div class="serendipity_comment_source">
            <b>Weblog:</b> {$trackback.author|
I would suggest

Code: Select all

        <div class="serendipity_comment_source">
            <b>{$CONST.TRACKBACK_SOURCE}</b> {$trackback.author|@default:$CONST.ANONYMOUS}<br />
and for the lang-file of s9y

Code: Select all

@define('TRACKBACK_SOURCE','Weblog:');

Re: missing text-constant in default-template

Posted: Sat Aug 04, 2007 3:44 pm
by garvinhicking
Hi!

IMHO "weblog" is a cross-language term.

Best regards,
Garvin

Posted: Sat Aug 04, 2007 4:22 pm
by stm999999999
german/english could be the same here.

But what is about french, turkey, chinese, czech, tamil?

I think there should not be any hardcoded text-output in a multilangual software.

Posted: Sat Aug 04, 2007 4:44 pm
by garvinhicking
Hi!

But we also call it "Serendipity Weblog", and "Blog" is a term just like "CMS" or "PHP"...?
I think there should not be any hardcoded text-output in a multilangual software.
We could add it to the default theme, but that would leave many themes that base on it without a change. So I'm not sure it'S worth changing in this case.

Regards,
Garvin