diff options
author | Olivier Humbert <trebmuh@tuxfamily.org> | 2020-08-14 15:17:21 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-30 15:59:28 +0200 |
commit | ceead10217d6fa26b746717be9fdbb219f6b7f36 (patch) | |
tree | cd9f347862d197c3ce3affd9794654f6a2abba79 /plugingui/filebrowser.cc | |
parent | db9daf141f1645149b45cc12a067ff61c7da9794 (diff) |
Add more _(...) to strings of the UI.
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r-- | plugingui/filebrowser.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc index 2dff5a4..59daab4 100644 --- a/plugingui/filebrowser.cc +++ b/plugingui/filebrowser.cc @@ -63,9 +63,9 @@ FileBrowser::FileBrowser(Widget* parent) above_root = false; #endif - setCaption("Open file..."); + setCaption(_("Open file...")); - lbl_path.setText("Path:"); + lbl_path.setText(_("Path:")); //lineedit.setReadOnly(true); CONNECT(&lineedit, enterPressedNotifier, this, &FileBrowser::handleKeyEvent); @@ -74,13 +74,13 @@ FileBrowser::FileBrowser(Widget* parent) CONNECT(this, fileSelectNotifier, this, &FileBrowser::select); CONNECT(eventHandler(), closeNotifier, this, &FileBrowser::cancel); - btn_sel.setText("Select"); + btn_sel.setText(_("Select")); CONNECT(&btn_sel, clickNotifier, this, &FileBrowser::selectButtonClicked); - btn_def.setText("Set default path"); + btn_def.setText(_("Set default path")); CONNECT(&btn_def, clickNotifier, this, &FileBrowser::setDefaultPath); - btn_esc.setText("Cancel"); + btn_esc.setText(_("Cancel")); CONNECT(&btn_esc, clickNotifier, this, &FileBrowser::cancelButtonClicked); changeDir(); |