[yelp] Allow the application name to be translated



commit 904d57edc8d7d960b7d2af564645fb7c9c636af3
Author: liujing <liujing cmss chinamobile com>
Date:   Fri Jul 19 10:23:19 2019 +0800

    Allow the application name to be translated
    
    Fixes Chinese (and other languages') display of help.
    
    https://gitlab.gnome.org/GNOME/yelp/merge_requests/14

 src/yelp-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/yelp-application.c b/src/yelp-application.c
index 945b5176..18d79029 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -267,7 +267,7 @@ yelp_application_startup (GApplication *application)
     gchar *keyfile;
     YelpSettings *settings;
 
-    g_set_application_name (N_("Help"));
+    g_set_application_name (_("Help"));
 
     /* chain up */
     G_APPLICATION_CLASS (yelp_application_parent_class)->startup (application);


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