i copied this code directly from MetaBundle<br><br><div class="gmail_quote">On Feb 16, 2008 1:46 PM, Jeff Mitchell <<a href="mailto:kde-dev@emailgoeshere.com" target="_blank">kde-dev@emailgoeshere.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Saturday 16 February 2008, Maximilian Kossick wrote:<br>> +QString<br>> +Meta::prettyRating( int rating )<br>> +{<br>> + switch( rating )<br>> + {<br>> + case 2: return i18n( "Awful" );<br>
> + case 3: return i18n( "Barely tolerable" );<br>> + case 4: return i18n( "Tolerable" );<br>> + case 5: return i18n( "Okay" );<br>> + case 6: return i18n( "Good" );<br>
> + case 7: return i18n( "Very good" );<br>> + case 8: return i18n( "Excellent" );<br>> + case 9: return i18n( "Amazing" );<br>> + case 10: return i18n( "Favorite" );<br>
> + case 0: default: return i18n( "Not rated" ); // assume weird<br>> values as not rated + }<br>> + return "if you can see this, then that's a bad sign.";<br>> +}<br><br>
</div>
Is there a reason you left out "1"?<br><font color="#888888"><br>--Jeff<br></font></blockquote></div><br>