On Mon, Jan 29, 2007 at 11:22:06AM +0200, Eddy Petrișor wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory
> [Desktop Entry]
> Type=Directory
> Encoding=UTF-8
> Name=Apps
> Name[ar]=Apps
> Name[be]=Apps
> Name[bg]=Apps
> Name[bn]=Apps
> Name[bs]=Apps
> Name[ca]=Apps
...
> Name[ro]=Aplicaţii

This is bad: it should be localised in all locales:

Name[bs]=Aplikacije
Name[ca]=Aplicacions
Name[cs]=Aplikace
Name[da]=Programmer
Name[de]=Anwendungen

not solely in Romanian.

Did you tweak your system in any way ?

> Well, there is a small problem. Before issuing these commands the menu was
> localized, but after the update-menus command it returned to English.
> 
> [EMAIL PROTECTED] ~ $ ls -l /etc/menu-methods/
> total 48
> - -rwxr-xr-x 1 root root 1209 2006-12-09 03:10 gnome-panel-data
> - -rw-r--r-- 1 root root 1143 2006-12-09 03:10 gnome-vfolder-user
> - -rw-r--r-- 1 root root  242 2006-12-22 17:06 lang.h
> - -rw-r--r-- 1 root root   31 2006-12-22 17:06 menu.config
> - -rw-r--r-- 1 root root 3085 2006-12-22 17:06 menu.h
> - -rwxr-xr-x 1 root root 1392 2006-03-20 15:44 menu-xdg
> - -rw-r--r-- 1 root root  391 2006-12-22 17:06 README
> - -rw-r--r-- 1 root root 1248 2006-12-22 17:06 translate_menus
> - -rwxr-xr-x 1 root root 1111 2006-05-22 02:35 twm
> - -rwxr-xr-x 1 root root 1400 2006-03-20 15:44 xdg-desktop-entry-spec-apps
> - -rwxr-xr-x 1 root root 1381 2006-03-20 15:44 xdg-desktop-entry-spec-dirs
> - -rwxr-xr-x 1 root root 1326 2006-03-20 15:44 xdg-desktop-entry-spec-sessions
> [EMAIL PROTECTED] ~ $ su -c 'update-menus -v'
> Password:
> update-menus[1000]: Dpkg is not locking dpkg status area, good.
> update-menus[1000]: Reading installed packages list...
> update-menus[1000]: Reading menu-entry files in /etc/menu/.
> update-menus[1000]: 0 menu entries found (0 total).
> update-menus[1000]: Reading menu-entry files in /usr/lib/menu/.
> update-menus[1000]: 0 menu entries found (0 total).
> update-menus[1000]: Reading menu-entry files in /usr/share/menu/.
> update-menus[1000]: 171 menu entries found (171 total).
> update-menus[1000]: Reading menu-entry files in /usr/share/menu/default/.
> update-menus[1000]: file /usr/share/menu/default/ash line 2:
> Discarding entry requiring missing package ash.
> update-menus[1000]: 0 menu entries found (171 total).
> update-menus[1000]: Running menu-methods in /etc/menu-methods/.
> update-menus[1000]: Running method:
> /etc/menu-methods/xdg-desktop-entry-spec-sessions
> update-menus[1000]: Running method: 
> /etc/menu-methods/xdg-desktop-entry-spec-dirs
> update-menus[1000]: Running method: /etc/menu-methods/menu-xdg
> update-menus[1000]: Running method: /etc/menu-methods/twm
> update-menus[1000]: Running method: /etc/menu-methods/gnome-panel-data
> update-menus[1000]: Running method: 
> /etc/menu-methods/xdg-desktop-entry-spec-apps
> 
> > 
> >> I am also using GNOME in Etch on another system which at the moment
> >> shows the Debian menu localized, but I remember I've seen it "slip"
> >> before.
> >>
> >> I tried running update-menus both as root and as a regular user, but the
> >> menu wasn't updated (well, the translation didn't appear).
> > 
> > Please run update-menus --remove as a regular user.
> 
> This resulted in an error.
> 
> $ update-menus --remove
> Warning: script /etc/menu-methods/gnome-panel-data does not provide
> removemenu, menu not deleted

This is not an error, only a warning. This is reported as bug #358008.

Try to issue the command:
chmod a-x /etc/menu-methods/gnome-panel-data

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large blue swirl here. 

Reply via email to