Package: gworldclock
Version: 1.4.4-10
Severity: minor
Tags: patch

Dear Maintainer,

current GTK application needs to use gtk_action_group_set_translation_domain ()
for menu to be translated. Attached patch is to add the function to main.c .

Regards,
Takeshi Hamasaki

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (700, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.30tuxonice (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ja_JP.UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
--- a/main.c
+++ b/main.c
@@ -376,6 +376,7 @@
 
   /* set up menu */
   action_group = gtk_action_group_new ("UIActions");
+  gtk_action_group_set_translation_domain (action_group, PACKAGE_NAME);
   gtk_action_group_add_actions (action_group, entries, G_N_ELEMENTS (entries), 
clocklist);  
   gtk_action_group_add_toggle_actions (action_group, toggle_entries, 
G_N_ELEMENTS (toggle_entries), clocklist);
   g_object_set_data(G_OBJECT(clocklist), ACTIONS, action_group);

Reply via email to