diff options
author | Olivier Humbert <trebmuh@tuxfamily.org> | 2020-08-13 17:52:34 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-30 15:59:27 +0200 |
commit | db9daf141f1645149b45cc12a067ff61c7da9794 (patch) | |
tree | c90088af52efd2549a5025db1e6a8753d749f7ba /plugingui/drumkitframecontent.cc | |
parent | e30988f7b85e1ba31cee325fe6a49bcfa78cfc4a (diff) |
Add _(...) to most strings of the UI.
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r-- | plugingui/drumkitframecontent.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugingui/drumkitframecontent.cc b/plugingui/drumkitframecontent.cc index 0850ac1..7dd2234 100644 --- a/plugingui/drumkitframecontent.cc +++ b/plugingui/drumkitframecontent.cc @@ -31,6 +31,8 @@ #include "label.h" #include "pluginconfig.h" +#include <translation.h> + namespace GUI { @@ -44,7 +46,7 @@ BrowseFile::BrowseFile(Widget* parent) layout.addItem(&lineedit); layout.addItem(&browse_button); - browse_button.setText("Browse..."); + browse_button.setText(_("Browse...")); } void BrowseFile::resize(std::size_t width, std::size_t height) @@ -91,8 +93,8 @@ DrumkitframeContent::DrumkitframeContent(Widget* parent, { layout.setHAlignment(HAlignment::left); - drumkit_caption.setText("Drumkit file:"); - midimap_caption.setText("Midimap file:"); + drumkit_caption.setText(_("Drumkit file:")); + midimap_caption.setText(_("Midimap file:")); layout.addItem(&drumkit_caption); layout.addItem(&drumkit_file); |