Menu item "Gtk-CRITICAL" messages

Jon Lapham lapham at extracta.com.br
Sat May 31 12:59:15 CDT 2003


Derek Atkins wrote:
> Instead of just looking for the translation, you can try
> running gnucash in your own language and seeing what the actual
> menu says.  For example, you can see what the "View" menu is
> "Visualizar"...  Then you can look around to find the actual
> string "_Visualizar".  Might be easier to see how it's being
> translated in reality than seeing how it might be translated.
> 

Okay, sure, good idea.  Trying it now... works perfectly, no more 
warning messages.  So, in this specific case, I simply changed the 
gnucash pt_BR.po to use "_Visualizar" as a translation for "_View" 
(instead of _Ver or _Veja).

But, I am trying to come up with a process for doing this 
systematically.  How would I *know* (if you hadn't told me) that the 
problem lies with the menu item "_View"?

The backtrace I put in my previous email:

 > #5  0x407292e5 in gnc_mdi_tweak_menus (mc=0x825adb0) at 
gnc-mdi-utils.c:574
 > #6  0x40729d13 in gnc_mdi_child_changed_cb (mdi=0x8266fd8, 
prev_child=0x0,
 >      data=0x8265fd8) at gnc-mdi-utils.c:861

refers to line 574 of gnc-mdi-utils.c which refers to

 > widget = gnc_mdi_child_find_menu_item(mc, "_View/_Toolbar");

"_View/_Toolbar" doesn't exist anywhere in gnucash/po/gnucash.pot

-- 
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
  Jon Lapham  <lapham at extracta.com.br>          Rio de Janeiro, Brasil
  Work: Extracta Moléculas Naturais SA     http://www.extracta.com.br/
  Web: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------




More information about the gnucash-devel mailing list