Skip to content

Commit

Permalink
Merge pull request Image-Py#133 from qixinbo/master
Browse files Browse the repository at this point in the history
correct file name filter and translation
  • Loading branch information
yxdragon authored Jul 17, 2020
2 parents 4831fd7 + 135e1ea commit ac70c35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions imagepy/lang/Chinese/plugins/Plugins.dic
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
New::新建

New Filter::新建Filter

New Simple::新建Simple
Expand Down
2 changes: 1 addition & 1 deletion imagepy/menus/File/save_plg.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def load(self, ips):

class WindowCapture(dataio.ImageWriter):
title = 'Save With Mark'
filt = 'PNG'
filt = ['PNG']

def run(self, ips, imgs, para = None):
self.app.get_img_win().canvas.save_buffer(para['path'])
Expand Down
2 changes: 1 addition & 1 deletion imagepy/menus/Table/Table IO/tableio_plgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def show(data, title):
class OpenCSV(dataio.Reader):
title = 'CSV Open'
tag = 'tab'
filt = 'csv'
filt = ['csv']

class SaveCSV(dataio.TableWriter):
title = 'CSV Save'
Expand Down

0 comments on commit ac70c35

Please sign in to comment.