mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
6054525b63
commit
74a2957693
@ -359,7 +359,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
|||||||
def filename_button_clicked(self):
|
def filename_button_clicked(self):
|
||||||
try:
|
try:
|
||||||
path = choose_files(self, 'choose_category_icon',
|
path = choose_files(self, 'choose_category_icon',
|
||||||
_('Select Icon'), filters=[
|
_('Select icon'), filters=[
|
||||||
('Images', ['png', 'gif', 'jpg', 'jpeg'])],
|
('Images', ['png', 'gif', 'jpg', 'jpeg'])],
|
||||||
all_files=False, select_only_single_file=True)
|
all_files=False, select_only_single_file=True)
|
||||||
if path:
|
if path:
|
||||||
|
@ -517,7 +517,7 @@ class RuleEditor(QDialog): # {{{
|
|||||||
def filename_button_clicked(self):
|
def filename_button_clicked(self):
|
||||||
try:
|
try:
|
||||||
path = choose_files(self, 'choose_category_icon',
|
path = choose_files(self, 'choose_category_icon',
|
||||||
_('Select Icon'), filters=[
|
_('Select icon'), filters=[
|
||||||
(_('Images'), ['png', 'gif', 'jpg', 'jpeg'])],
|
(_('Images'), ['png', 'gif', 'jpg', 'jpeg'])],
|
||||||
all_files=False, select_only_single_file=True)
|
all_files=False, select_only_single_file=True)
|
||||||
if path:
|
if path:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user