From af440b290d48a917eed578820f5d9c84baf876e9 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 3 Sep 2015 17:17:10 +0100 Subject: [PATCH] Fix untranslated phrase. --- README.md | 1 + prefs.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 637238cf..28de57e6 100644 --- a/README.md +++ b/README.md @@ -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). * 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 [POEditor](https://poeditor.com/) for translation management. License ------- diff --git a/prefs.py b/prefs.py index 1c184731..fa13d48a 100644 --- a/prefs.py +++ b/prefs.py @@ -135,7 +135,7 @@ class PreferencesDialog(tk.Toplevel): def outbrowse(self): 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: def browsecallback(hwnd, uMsg, lParam, lpData): # set initial folder @@ -144,7 +144,7 @@ class PreferencesDialog(tk.Toplevel): return 0 browseInfo = BROWSEINFO() - browseInfo.lpszTitle = 'Output folder' + browseInfo.lpszTitle = _('File location:') browseInfo.ulFlags = BIF_RETURNONLYFSDIRS|BIF_USENEWUI browseInfo.lpfn = BrowseCallbackProc(browsecallback) browseInfo.lParam = self.outdir.get()