Line 3373 of mysite.module, change $link = t('content'); to $link = 'content';

I have no idea why $link to be used in the url is being sent to the translation function. I initially thought mysite was incompatible with my installation as I could not add any content. I only realised this problem when I switched my language back to english and it worked.

Comments

atuyo60’s picture

Ok, I just found out that was not the only translated link text, I am still having a problem with the links... anyone knows what are the other parts that should be changed to normal text?

agentrickard’s picture

Status: Active » Reviewed & tested by the community

This was an attempt to catch all the strings that were not wrapped in t(), and we goofed.

Also applies to line 3368: $link = t('edit'); should be $link = 'edit';

atuyo60’s picture

Status: Reviewed & tested by the community » Active

Oh and I wonder why the links to add each category in the option page just shows every single item? The links make no sense at all if every single item is loaded on one page

agentrickard’s picture

Status: Active » Reviewed & tested by the community

I do not understand what you mean.

You are talking about a separate issue, which should be opened as such. A screenshot would be helpful.

agentrickard’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.