summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-07-21 21:10:34 +0200
committerlukefromdc <[email protected]>2019-07-25 06:59:20 +0000
commit089ff0c2edb81856d0c4849412beab864e7115de (patch)
tree14dcf9c7d048f8c84a49b0922044950adf29f7b2 /plugins
parent12ef1a821ebb63853b2d2e80f2559feca98bf7dc (diff)
downloadmate-settings-daemon-089ff0c2edb81856d0c4849412beab864e7115de.tar.bz2
mate-settings-daemon-089ff0c2edb81856d0c4849412beab864e7115de.tar.xz
xrandr plugin: i18n dropdown menu
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 496348e..61d0e3b 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -2179,12 +2179,12 @@ add_enable_option_for_output (MsdXrandrManager *manager, MateRROutputInfo *outpu
item = gtk_check_menu_item_new();
if (mate_rr_output_info_is_active (output)){
- gtk_menu_item_set_label (GTK_MENU_ITEM(item), "ON");
- gtk_widget_set_tooltip_text(item, "Turn this monitor off");
+ gtk_menu_item_set_label (GTK_MENU_ITEM(item), _("ON"));
+ gtk_widget_set_tooltip_text(item, _("Turn this monitor off"));
}
else {
- gtk_menu_item_set_label (GTK_MENU_ITEM(item), "OFF");
- gtk_widget_set_tooltip_text(item ,"Turn this monitor on");
+ gtk_menu_item_set_label (GTK_MENU_ITEM(item), _("OFF"));
+ gtk_widget_set_tooltip_text(item, _("Turn this monitor on"));
}
gtk_widget_show_all (item);
@@ -2244,8 +2244,8 @@ add_menu_items_for_clone (MsdXrandrManager *manager)
GtkWidget *item;
gulong activate_id;
- item = gtk_check_menu_item_new_with_label("Same output all monitors");
- gtk_widget_set_tooltip_text(item, "Mirror same output to all monitors and turn them on");
+ item = gtk_check_menu_item_new_with_label(_("Same output all monitors"));
+ gtk_widget_set_tooltip_text(item, _("Mirror same output to all monitors and turn them on"));
gtk_widget_show_all (item);
gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
activate_id = g_signal_connect (item, "activate",
@@ -2292,7 +2292,7 @@ status_icon_popup_menu (MsdXrandrManager *manager, guint button, guint32 timesta
item = gtk_menu_item_new();
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
image = gtk_image_new_from_icon_name ("preferences-system", GTK_ICON_SIZE_MENU);
- label = gtk_label_new_with_mnemonic("_Configure Display Settingsā€¦");
+ label = gtk_label_new_with_mnemonic(_("_Configure Display Settingsā€¦"));
/*Load the icon unless the user has icons in menus turned off*/
icon_settings = g_settings_new ("org.mate.interface");
if (g_settings_get_boolean (icon_settings, "menus-have-icons")){
@@ -2302,7 +2302,7 @@ status_icon_popup_menu (MsdXrandrManager *manager, guint button, guint32 timesta
}
gtk_container_add (GTK_CONTAINER (box), label);
gtk_container_add (GTK_CONTAINER (item), box);
- gtk_widget_set_tooltip_text(item, "Open the display configuration dialog (all settings)");
+ gtk_widget_set_tooltip_text(item, _("Open the display configuration dialog (all settings)"));
g_signal_connect (item, "activate",
G_CALLBACK (popup_menu_configure_display_cb), manager);
gtk_widget_show_all (item);