Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_transfer_file.py @ 312:772c170b47a9
Python3 port:
/!\ Cagou now runs with Python 3.6+
Port has been done in the same way as for backend (check backend commit b2d067339de3
message for details).
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Aug 2019 19:14:22 +0200 |
parents | 1b835bcfa663 |
children | 4d660b252487 |
line wrap: on
line diff
--- a/cagou/plugins/plugin_transfer_file.py Mon Aug 05 11:21:54 2019 +0200 +++ b/cagou/plugins/plugin_transfer_file.py Tue Aug 13 19:14:22 2019 +0200 @@ -31,10 +31,10 @@ PLUGIN_INFO = { - "name": _(u"file"), + "name": _("file"), "main": "FileTransmitter", - "description": _(u"transmit a local file"), - "icon_medium": u"{media}/icons/muchoslava/png/fichier_50.png", + "description": _("transmit a local file"), + "icon_medium": "{media}/icons/muchoslava/png/fichier_50.png", } @@ -66,7 +66,7 @@ cancel_cb=partial(self.cancel_cb, self))) def _nativeFileChooser(self, *args, **kwargs): - title=_(u"Please select a file to upload") + title=_("Please select a file to upload") files = filechooser.open_file(title=title, path=self.default_path, multiple=False,