From ceead10217d6fa26b746717be9fdbb219f6b7f36 Mon Sep 17 00:00:00 2001 From: Olivier Humbert Date: Fri, 14 Aug 2020 15:17:21 +0200 Subject: Add more _(...) to strings of the UI. --- plugingui/filebrowser.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugingui/filebrowser.cc') 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(); -- cgit v1.2.3