mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Shorten buttons by removing repeated text
This commit is contained in:
parent
9d1075e761
commit
7dbdc040d9
@ -85,9 +85,9 @@ def on_fmt_click(ev):
|
|||||||
parent.appendChild(E.div(
|
parent.appendChild(E.div(
|
||||||
E.div(_('What would you like to do with the {} format?').format(fmt)),
|
E.div(_('What would you like to do with the {} format?').format(fmt)),
|
||||||
E.div(class_='button-box',
|
E.div(class_='button-box',
|
||||||
create_button(_('Read {}').format(fmt), 'book', action.bind(None, read_format)),
|
create_button(_('Read'), 'book', action.bind(None, read_format)),
|
||||||
'\xa0',
|
'\xa0',
|
||||||
create_button(_('Download {}').format(fmt), 'cloud-download', action.bind(None, download_format)),
|
create_button(_('Download'), 'cloud-download', action.bind(None, download_format)),
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user