Skip to contentSkip to conversation

bt_tunable: Translate Good, Bad, Unknown

PATCH In review Wieland Hoffmann 2 participants 2 messages Dec 23, 2013

lore
Share & tools
lore

Wieland Hoffmann

author
#0 lore raw

PATCH 1/1 bt_tunable: Translate Good, Bad, Unknown

Signed-off-by Wieland Hoffmann <themineo(a)gmail.com>
---
 src/tuning/bluetooth.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/tuning/bluetooth.cpp +1 -1
index e0bdf12..2b34277 100644
@@ -43,7 +43,7 @@
 #include "../lib.h"
 #include "bluetooth.h"
 
-bt_tunable::bt_tunable(void) : tunable("", 1.0, "Good", "Bad", "Unknown")
+bt_tunable::bt_tunable(void) : tunable("", 1.0, _("Good"), _("Bad"), _("Unknown"))
 {
 	sprintf(desc, _("Bluetooth device interface status"));
 	strcpy(toggle_bad, "/usr/sbin/hciconfig hci0 up &> /dev/null &");
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 22 lines
Signed-off-by Wieland Hoffmann <themineo(a)gmail.com>
---
 src/tuning/bluetooth.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/tuning/bluetooth.cpp +1 -1
index e0bdf12..2b34277 100644
@@ -43,7 +43,7 @@
 #include "../lib.h"
 #include "bluetooth.h"
 
-bt_tunable::bt_tunable(void) : tunable("", 1.0, "Good", "Bad", "Unknown")
+bt_tunable::bt_tunable(void) : tunable("", 1.0, _("Good"), _("Bad"),
 _("Unknown"))
 {
 	sprintf(desc, _("Bluetooth device interface status"));

strcpy(toggle_bad, "/usr/sbin/hciconfig hci0 up &> /dev/null &");
--
1.8.4.2

Quoted 5 lines

_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop

Hi Wieland,

Thank you for your patch. I just applied it.

Thank you,
Alexandra.