xdg_puppy 0.7.6-13

xdg_puppy is a PET used in all puppies. It defines the structure of the XDG menu. It was forum member rarsa who originally created this PET, and rarsa wrote some utilities in C for translating the XDG specifications into actual menu files for some of our window and tray managers such as JWM and IceWm.

The PET contains folder /usr/share/desktop-directories, which has files that define the menu hierarchy, that is the top-level categories and subcategories. Early in 2011, shinobar added translations to these files, so that the top-level and sub-level titles in the menu will display in the appropriate language. Shinobar created a PET, puppy-desktop-20110101.pet, see Forum thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=63533

The PET also does have some other stuff, but I have taken just the /usr/share/desktop-directories and put it into xdg_puppy-0.7.6-13-p4.pet, which will now be the PET used for all future Woof builds. Here it is, in the 'common' repo (15KB):
http://distro.ibiblio.org/quirky/pet_packages-common/xdg_puppy-0.7.6-13-p4.pet

What this means for future Puppy builds is that now the entire JWM (or IceWM or whatever) menu will be translated. Well almost, there are some menu titles in .jwmrc that still need to be translated -- shinobar worked out a system for that too, that's on the to-do list.

MoManager has creation/editing of menu entries, the next thing I am going to do is add creation/editing of the categories/sub-titles as specified in /usr/share/desktop-directories.


Posted on 6 Feb 2012, 21:20


Comments:

Posted on 7 Feb 2012, 6:52 by rodin.s
pup_event_frontend_d
Russian translation is almost ready. It has 73 mo-files. I have made a pet, but I want to do some testing. So far I have found that lines 152 and 381 of pup_event_frontend_d need 'second gettext' (two <Label> in one line).


Posted on 7 Feb 2012, 21:14 by BarryK
Re translating
rodin.s,
I should have posted to hold off for a few days, as I am still revising the scripts.

Anyway, if any text strings are changed you can fix those.

One thing that I was thinking of doing is replace most of the xmessage lines to use pupdialog instead.
Which will require some changes to the text strings.



Posted on 7 Feb 2012, 21:17 by BarryK
re xdg_puppy
I should have mentioned that rarsa's xdg_puppy PET already had /usr/share/desktop-directories, it is just that they were English only.