Shorten buttons by removing repeated text

This commit is contained in:
Kovid Goyal 2017-05-28 00:12:22 +05:30
parent 9d1075e761
commit 7dbdc040d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -85,9 +85,9 @@ def on_fmt_click(ev):
parent.appendChild(E.div(
E.div(_('What would you like to do with the {} format?').format(fmt)),
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',
create_button(_('Download {}').format(fmt), 'cloud-download', action.bind(None, download_format)),
create_button(_('Download'), 'cloud-download', action.bind(None, download_format)),
)
))
)