summaryrefslogtreecommitdiff
path: root/plugingui/statusframecontent.cc
diff options
context:
space:
mode:
authorOlivier Humbert <trebmuh@tuxfamily.org>2020-08-13 17:52:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-08-30 15:59:27 +0200
commitdb9daf141f1645149b45cc12a067ff61c7da9794 (patch)
treec90088af52efd2549a5025db1e6a8753d749f7ba /plugingui/statusframecontent.cc
parente30988f7b85e1ba31cee325fe6a49bcfa78cfc4a (diff)
Add _(...) to most strings of the UI.
Diffstat (limited to 'plugingui/statusframecontent.cc')
-rw-r--r--plugingui/statusframecontent.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugingui/statusframecontent.cc b/plugingui/statusframecontent.cc
index 80e98b9..9c2efc3 100644
--- a/plugingui/statusframecontent.cc
+++ b/plugingui/statusframecontent.cc
@@ -26,6 +26,8 @@
*/
#include "statusframecontent.h"
+#include <translation.h>
+
namespace GUI
{
@@ -83,16 +85,16 @@ void StatusframeContent::updateDrumkitLoadStatus(LoadStatus load_status)
switch(load_status)
{
case LoadStatus::Idle:
- drumkit_load_status = "No Kit Loaded";
+ drumkit_load_status = _("No Kit Loaded");
break;
case LoadStatus::Loading:
- drumkit_load_status = "Loading...";
+ drumkit_load_status = _("Loading...");
break;
case LoadStatus::Done:
- drumkit_load_status = "Ready";
+ drumkit_load_status = _("Ready");
break;
case LoadStatus::Error:
- drumkit_load_status = "Error";
+ drumkit_load_status = _("Error");
break;
}
@@ -125,16 +127,16 @@ void StatusframeContent::updateMidimapLoadStatus(LoadStatus load_status)
switch(load_status)
{
case LoadStatus::Idle:
- midimap_load_status = "No Midimap Loaded";
+ midimap_load_status = _("No Midimap Loaded");
break;
case LoadStatus::Loading:
- midimap_load_status = "Loading...";
+ midimap_load_status = _("Loading...");
break;
case LoadStatus::Done:
- midimap_load_status = "Ready";
+ midimap_load_status = _("Ready");
break;
case LoadStatus::Error:
- midimap_load_status = "Error";
+ midimap_load_status = _("Error");
break;
}