[Xfce4-commits] [xfce/xfce4-settings] 01/01: display: Make more strings translateable

noreply at xfce.org noreply at xfce.org
Wed Sep 26 07:45:04 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit 5c0edef808da19e67a27bd60aadd8a9ea1e99c6c
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Sep 26 07:44:22 2018 +0200

    display: Make more strings translateable
---
 dialogs/display-settings/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index adfab67..e74e752 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -3483,7 +3483,7 @@ display_settings_show_minimal_dialog (GdkDisplay *display)
         gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (fake_button), TRUE);
 
         label = gtk_builder_get_object (builder, "label1");
-        only_display1_label = g_strdup_printf ("Only %s (1)", xfce_randr->friendly_name[0]);
+        only_display1_label = g_strdup_printf (_("Only %s (1)"), xfce_randr->friendly_name[0]);
         gtk_label_set_text (GTK_LABEL (label), only_display1_label);
         gtk_widget_set_tooltip_text (GTK_WIDGET (label), only_display1_label);
         g_free (only_display1_label);
@@ -3494,7 +3494,7 @@ display_settings_show_minimal_dialog (GdkDisplay *display)
         if (xfce_randr->noutput > 1)
         {
             label = gtk_builder_get_object (builder, "label4");
-            only_display2_label = g_strdup_printf ("Only %s (2)", xfce_randr->friendly_name[1]);
+            only_display2_label = g_strdup_printf (_("Only %s (2)"), xfce_randr->friendly_name[1]);
             gtk_label_set_text (GTK_LABEL (label), only_display2_label);
             gtk_widget_set_tooltip_text (GTK_WIDGET (label), only_display2_label);
             g_free (only_display2_label);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list