[telegnome] Don't translate properties



commit 33f313519752296b17e09e79ae50389c62c3fbc9
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Feb 4 12:28:16 2016 +0100

    Don't translate properties
    
    They are not visible in the UI.

 src/channel.c |   10 +++++-----
 src/gui.c     |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/channel.c b/src/channel.c
index 09edd2d..bec4956 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -209,35 +209,35 @@ tg_channel_class_init (TgChannelClass *klass)
     g_object_class_install_property
        (gobject_class, PROP_NAME,
         g_param_spec_string ("name",
-                             _("Name"), _("Name"),
+                             "Name", "Name",
                              NULL,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
     g_object_class_install_property
        (gobject_class, PROP_DESC,
         g_param_spec_string ("description",
-                             _("Description"), _("Description"),
+                             "Description", "Description",
                              NULL,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
     g_object_class_install_property
        (gobject_class, PROP_PAGE_URL,
         g_param_spec_string ("page-url",
-                             _("Page URL"), _("Page URL"),
+                             "Page URL", "Page URL",
                              NULL,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
     g_object_class_install_property
        (gobject_class, PROP_SUBPAGE_URL,
         g_param_spec_string ("subpage-url",
-                             _("Subpage URL"), _("Subpage URL"),
+                             "Subpage URL", "Subpage URL",
                              NULL,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
     g_object_class_install_property
        (gobject_class, PROP_COUNTRY,
         g_param_spec_string ("country",
-                             _("Country"), _("Country"),
+                             "Country", "Country",
                              NULL,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 }
diff --git a/src/gui.c b/src/gui.c
index 8750c4b..85e9047 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -633,8 +633,8 @@ tg_gui_class_init (TgGuiClass *klass)
     g_object_class_install_property
        (gobject_class, PROP_PAGING_INTERVAL,
         g_param_spec_int ("paging-interval",
-                          _("Paging interval"),
-                          _("Specifies the interval for the auto-pager, in milliseconds."),
+                          "Paging interval",
+                          "Specifies the interval for the auto-pager, in milliseconds.",
                           1000, 60000, 12000,
                           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 


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