extragear/multimedia/amarok/src/meta
Jeff Mitchell
kde-dev at emailgoeshere.com
Sat Feb 16 13:46:02 CET 2008
On Saturday 16 February 2008, Maximilian Kossick wrote:
> +QString
> +Meta::prettyRating( int rating )
> +{
> + switch( rating )
> + {
> + case 2: return i18n( "Awful" );
> + case 3: return i18n( "Barely tolerable" );
> + case 4: return i18n( "Tolerable" );
> + case 5: return i18n( "Okay" );
> + case 6: return i18n( "Good" );
> + case 7: return i18n( "Very good" );
> + case 8: return i18n( "Excellent" );
> + case 9: return i18n( "Amazing" );
> + case 10: return i18n( "Favorite" );
> + case 0: default: return i18n( "Not rated" ); // assume weird
> values as not rated + }
> + return "if you can see this, then that's a bad sign.";
> +}
Is there a reason you left out "1"?
--Jeff
More information about the Amarok-devel
mailing list