I still can't dance

gkapoor - February 23, 2009 - 22:59
Project:String Overrides
Version:6.x-1.7
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Not sure what I'm doing wrong. I tried following the 4 steps installation but it doesn't seems to be changing the specified string.

As per example, I tried changing "My Account" to "My Profile" and even after clearing and disabling the cache, it didn't change.

Thanks,

#1

Rob Loach - February 24, 2009 - 03:08

I believe you're looking for "My account", note the small "a" ;-) .

#2

gkapoor - February 24, 2009 - 06:40

I had menu changed to Account so it's "My Account" and even I tried changing other strings for e.g.

"The %post has been updated." to "The %post has been updated by String override."

It's same problem, nothing gets updated.

Thanks,

#3

Rob Loach - February 24, 2009 - 09:01

If you changed it, then that's not the default value that's passed through the t() function to String Overrides. I can't really help you if I don't know what you changed. If you reset the menu item to the default, and then change it with "My account", it will work, because that's what's passed through String Overrides.

#4

poloparis - February 26, 2009 - 19:53

Same here, i'm trying to change the word "Submitted" in the teasers, tried both 6.x-1.7 and 6.x-1.x-dev, but "Submitted" is still there. I suppose i could change the node.tpl.php

#5

Rob Loach - February 26, 2009 - 23:22

"Submitted"? Where's that showing up? It requires the full string......... "Invalid categories submitted."? "Submitted by !username on @datetime."? "Submitted by !username on @datetime"? It won't work for single words.

#6

ercb - March 9, 2009 - 09:32

You do have to look out for spaces. It didn't work for me until i noticed there were spaces in de t() I wanted to overide. In my case I wanted to change:

t('Posted ') one space
t(' by ') two spaces, one before and after by

Hope this helps...

Great module... THANX

#7

poloparis - March 10, 2009 - 12:33

Brilliant. Thank you Rob for your answer, obviously I hadn't grasped the way it worked.

 
 

Drupal is a registered trademark of Dries Buytaert.