1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

Fix untranslated phrase.

This commit is contained in:
Jonathan Harris 2015-09-03 17:17:10 +01:00
parent 3de7d8fb37
commit af440b290d
2 changed files with 3 additions and 2 deletions

@ -127,6 +127,7 @@ Acknowledgements
* Thanks to [Andargor](https://github.com/Andargor) for the idea of using the “Companion” interface in [edce-client](https://github.com/Andargor/edce-client). * Thanks to [Andargor](https://github.com/Andargor) for the idea of using the “Companion” interface in [edce-client](https://github.com/Andargor/edce-client).
* Uses [Sparkle](https://github.com/sparkle-project/Sparkle) by [Andy Matuschak](http://andymatuschak.org/) and the [Sparkle Project](https://github.com/sparkle-project). * Uses [Sparkle](https://github.com/sparkle-project/Sparkle) by [Andy Matuschak](http://andymatuschak.org/) and the [Sparkle Project](https://github.com/sparkle-project).
* Uses [WinSparkle](https://github.com/vslavik/winsparkle/wiki) by [Václav Slavík](https://github.com/vslavik). * Uses [WinSparkle](https://github.com/vslavik/winsparkle/wiki) by [Václav Slavík](https://github.com/vslavik).
* Uses [POEditor](https://poeditor.com/) for translation management.
License License
------- -------

@ -135,7 +135,7 @@ class PreferencesDialog(tk.Toplevel):
def outbrowse(self): def outbrowse(self):
if platform != 'win32': if platform != 'win32':
d = tkFileDialog.askdirectory(parent=self, initialdir=self.outdir.get(), title='Output folder', mustexist=tk.TRUE) d = tkFileDialog.askdirectory(parent=self, initialdir=self.outdir.get(), title=_('File location:'), mustexist=tk.TRUE)
else: else:
def browsecallback(hwnd, uMsg, lParam, lpData): def browsecallback(hwnd, uMsg, lParam, lpData):
# set initial folder # set initial folder
@ -144,7 +144,7 @@ class PreferencesDialog(tk.Toplevel):
return 0 return 0
browseInfo = BROWSEINFO() browseInfo = BROWSEINFO()
browseInfo.lpszTitle = 'Output folder' browseInfo.lpszTitle = _('File location:')
browseInfo.ulFlags = BIF_RETURNONLYFSDIRS|BIF_USENEWUI browseInfo.ulFlags = BIF_RETURNONLYFSDIRS|BIF_USENEWUI
browseInfo.lpfn = BrowseCallbackProc(browsecallback) browseInfo.lpfn = BrowseCallbackProc(browsecallback)
browseInfo.lParam = self.outdir.get() browseInfo.lParam = self.outdir.get()