The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   User rating = N/A (http://www.thevbgeek.com/showthread.php?t=5386)

atasteofchaos 10-28-2009 12:15 PM

User rating = N/A
 
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:

Quote:

Varname: $vbphrase[GARS_author_rating]
Text: Author rating
I put in a translation of this:

Quote:

Author Rating: {1}%
And it came out as:

Quote:

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.


All times are GMT. The time now is 11:01 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.