[gnome-control-center] power: Translate the "When the Power Button is pressed" drop-down



commit afc0a1b142bca3d80547dce201df024a07df326c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 24 14:08:51 2016 +0100

    power: Translate the "When the Power Button is pressed" drop-down
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764115

 panels/power/cc-power-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 2ebfd20..e631e0b 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2030,7 +2030,7 @@ populate_power_button_model (GtkTreeModel *model)
     {
       gtk_list_store_insert_with_values (GTK_LIST_STORE (model),
                                          NULL, -1,
-                                         0, actions[i].name,
+                                         0, _(actions[i].name),
                                          1, actions[i].value,
                                          -1);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]