/dports/deskutils/calibre/calibre-src-5.34.0/src/pyj/ |
H A D | test_utils.pyj | 6 from utils import fmt_sidx, human_readable, rating_to_stars 11 assert_equal(rating_to_stars(3, True), '★⯨')
|
H A D | utils.pyj | 130 def rating_to_stars(value, allow_half_stars=False, star='★', half='⯨'):
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/metadata/book/ |
H A D | render.py | 12 from calibre.ebooks.metadata import fmt_sidx, rating_to_stars 148 star_string = rating_to_stars(val, disp.get('allow_half_stars', False))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/transforms/ |
H A D | jacket.py | 19 from calibre.ebooks.metadata import fmt_sidx, rating_to_stars 362 … args[dkey] = rating_to_stars(mi.get(key), m.get('display', {}).get('allow_half_stars', False))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/db/ |
H A D | fields.py | 17 from calibre.ebooks.metadata import title_sort, author_to_author_sort, rating_to_stars 107 self.category_formatter = lambda x: rating_to_stars(x, True) 109 self.category_formatter = rating_to_stars
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/ |
H A D | cover_flow.py | 21 from calibre.ebooks.metadata import rating_to_stars, authors_to_string 149 …return rating_to_stars(val, allow_half_stars=db.field_metadata[field]['display'].get('allow_half_s…
|
H A D | widgets2.py | 17 from calibre.ebooks.metadata import rating_to_stars 269 return rating_to_stars(num, is_half_star)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/srv/ |
H A D | opds.py | 19 from calibre.ebooks.metadata import authors_to_string, fmt_sidx, rating_to_stars 186 rating = rating_to_stars(mi.rating)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/library/ |
H A D | delegates.py | 16 from calibre.ebooks.metadata import rating_to_stars 192 return rating_to_stars(value, self.is_half_star)
|
H A D | alternate_views.py | 26 from calibre.ebooks.metadata import fmt_sidx, rating_to_stars 474 ans = rating_to_stars(val, fm['display'].get('allow_half_stars', False))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/metadata/ |
H A D | __init__.py | 468 def rating_to_stars(value, allow_half_stars=False, star='★', half='⯨'): function
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/pyj/book_list/ |
H A D | search.pyj | 12 from utils import rating_to_stars, safe_set_inner_html, is_ios 121 stars = rating_to_stars(3, True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/metadata/ |
H A D | single_download.py | 26 from calibre.ebooks.metadata import authors_to_string, rating_to_stars 267 parts.append('<div %s>%s</div>'%(style, rating_to_stars(int(2 * book.rating))))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/tag_browser/ |
H A D | view.py | 20 from calibre.ebooks.metadata import rating_to_stars 36 self.rating_pat = re.compile(r'[%s]' % rating_to_stars(3, True))
|
H A D | model.py | 20 from calibre.ebooks.metadata import rating_to_stars 1602 stars = rating_to_stars(3, True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/ |
H A D | formatter_functions.py | 1983 from calibre.ebooks.metadata import rating_to_stars 1984 return rating_to_stars(v, use_half_stars == '1')
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/uk/ |
H A D | template_lang.po | 486 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star " 490 msgstr "``rating_to_stars(використання_пів_зірок)`` — повертає оцінку як рядок з символів зірок (``…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/ru/ |
H A D | template_lang.po | 491 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star " 495 msgstr "``rating_to_stars(use_half_stars)`` -- Возвращает рейтинг в виде строки, состоящей из звезд…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/nl/ |
H A D | template_lang.po | 492 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star " 496 msgstr "``rating_to_stars(use_half_stars)`` -- Geeft de waardering terug als een string ster (``★``…
|
/dports/deskutils/calibre/calibre-src-5.34.0/manual/ |
H A D | template_lang.rst | 161 * ``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star (``★``) characters. T…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/es/ |
H A D | template_lang.po | 492 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star " 496 msgstr "``rating_to_stars(usar_media_estrella)`` -- Devuelve la calificación como caracteres de est…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/fr/ |
H A D | template_lang.po | 491 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star " 495 msgstr "``rating_to_stars(use_half_stars)`` -- Renvoie la note sous forme de chaîne de caractères é…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/he/ |
H A D | template_lang.po | 486 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star "
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/hi/ |
H A D | template_lang.po | 485 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star "
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/hu/ |
H A D | template_lang.po | 486 "``rating_to_stars(use_half_stars)`` -- Returns the rating as string of star "
|