site  contact  subhomenews

xdg_puppy 0.7.6-13

February 06, 2012 — BarryK
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.

Comments

pup_event_frontend_d


Re translating
Username: BarryK
"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.

re xdg_puppy
Username: BarryK
"I should have mentioned that rarsa's xdg_puppy PET already had /usr/share/desktop-directories, it is just that they were English only.


Tags: puppy