Page 1 of 1

Hi!First

Posted: 11 Mar 2008, 22:03
by jmeyerdo
Hi!

First of all: Thank you very much for your really great Joomla-Addons!

I noticed yesterday that you are using the language-constant USERNAME for your Guestbook. The same constant is used by Joomla itself.
So the translation for the Guestbook is "author" and for Joomla is it "username". So for me the text of the login-box changes when visiting the Guestbook.
Perhaps you can change this in later versions.

Kind regards,
Jens

Hi, please, where di

Posted: 11 Mar 2008, 23:01
by Jan
Hi, please, where did you find that the translation for username is author?

Jan

Hi!From

Posted: 12 Mar 2008, 09:22
by jmeyerdo
Hi!

From my German language file:

USERNAME=Author

As I can see the constant USERNAME is used for the author of a guestbook-entry. For non-registered guests this is not the username, isn't it?!

Kind regards, Jens

Hi, sorry I didn

Posted: 12 Mar 2008, 12:57
by Jan
Hi, sorry I didn't do the german language file, in en-GB there is:
USERNAME=Username...

so please change it to your own (Username)

Hi!No -

Posted: 12 Mar 2008, 13:01
by jmeyerdo
Hi!

No - it is not a problem with the translation. Of course I can change the translation to "Username" (= Benutzername). But this translation is not correct with entries from non-registered users. In this case "author" is the better translation.

The problem in fact is, that Joomla (and other components like CommunityBuilder) already uses the constant USERNAME. But IMHO this is not the correct constant/translation for the sender/author/writer of a guestbook-entry.

Kind regards, Jens

But Phoca Guestbook

Posted: 12 Mar 2008, 15:11
by Jan
But Phoca Guestbook doesn't use it in the frontend, so you can delete it, Phoca Guestbook uses JText::_('Name');, so the login box should be independent on Phoca Guestbook JText::_('Name');

So if you delete the USERNAME=Username, you get in your login box USERNAME=Username and in Phoca Guestbook Name=Name

Jan
// in the next versions, USERNAME will be deleted from language file and USERNAME used in admin will be renamed into NAME... (which is used now in front)

Aaah, this worked fo

Posted: 12 Mar 2008, 15:15
by jmeyerdo
Aaah, this worked for me!
Sorry, I did not notice that this constant is not/no longer used by the guestbook.

Thanks again for your efforts and your support,
kind regards!
Jens

Posted: 12 Mar 2008, 15:15
by Jan