[gnome-robots] Fix missing translating of game type names



commit ad4fa9583cbb69ad0525cfcb94b567d71f9c4da0
Author: Mart Raudsepp <leio gentoo org>
Date:   Mon Mar 23 19:20:15 2020 +0200

    Fix missing translating of game type names

 src/gnome-robots.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index a9b4c36..57c1e0a 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -180,7 +180,7 @@ category_name_from_key (const gchar* key)
   for (i = 0; i < no_categories; i++)
   {
     if (g_strcmp0 (scorecats[i].key, key) == 0)
-      return scorecats[i].name;
+      return _(scorecats[i].name);
   }
   /*Return key as is if match not found*/
   return NULL;


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