PDA

View Full Version : User rating = N/A


atasteofchaos
10-28-2009, 12:15 PM
Hey guys,

If no one has rated a review then it shows N/A%.

I'd like to change this to 0% but the only place I can find where it is, is when I search and find the phrase from AdminCP => Languages & Phrases => Search in phrases.

There, it shows {2} for the part where the number or N/A should go.

Any ideas where this is editable?

Thanks,

atasteofchaos
10-28-2009, 12:43 PM
Similarly:

I'm trying to edit a phrase that is this:

Varname: $vbphrase[GARS_author_rating]
Text: Author rating

I put in a translation of this:

Author Rating: {1}%

And it came out as:

Author Rating: %1$s%%


{1} was meant to be the author rating percentage as it is in my above post.

I don't quite understand how all this works.

Morgan
11-03-2009, 04:00 PM
The GARS_author_rating phrase is "Author rating" originally so you cannot add in {1} as there is nothing to substitute; it is just text. Please see http://www.thevbgeek.com/showthread.php?t=5269 for some ideas.