[gnome-calendar/wip/piotrdrag/g_set_application_name: 2/2] main: Mark g_set_application_name for translation



commit 46c63f42f0089502f7b287bb82e8bbae9d293ceb
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Feb 4 22:10:07 2018 +0100

    main: Mark g_set_application_name for translation
    
    According to [1], it should be marked for translation.
    
    [1] 
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-set-application-name

 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main.c b/src/main.c
index a3a0fc93..1c28f9a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,7 +33,7 @@ main (int   argc,
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
-  g_set_application_name ("Calendar");
+  g_set_application_name (_("Calendar"));
 
   app = gcal_application_new ();
 


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