static String getDefaultFiveStarsDescription(final float rating) {
        final Application app = CgeoApplication.getInstance();
        switch (Math.round(rating * 2f)) {
            case 2:
                return app.getString(R.string.log_stars_1_description);
            case 3:
                return app.getString(R.string.log_stars_15_description);
            case 4:
                return app.getString(R.string.log_stars_2_description);
            case 5:
                return app.getString(R.string.log_stars_25_description);
            case 6:
                return app.getString(R.string.log_stars_3_description);
            case 7:
                return app.getString(R.string.log_stars_35_description);
            case 8:
                return app.getString(R.string.log_stars_4_description);
            case 9:
                return app.getString(R.string.log_stars_45_description);
            case 10:
                return app.getString(R.string.log_stars_5_description);
            default:
                return app.getString(R.string.log_no_rating);
        }
    }
Connector interface to implement for ability to vote for caches.
main/src/main/java/cgeo/geocaching/connector/capability/IVotingCapability.java