The ~timo-jyrinki/example-content/folder_i18n branch changes the
Examples link into an examples.desktop file, which is of type Link and
points to the folder. It uses gettext to get translations on-the-fly
from langpacks, therefore fixing the bug #45489 for the case of after-
installation for every Ubuntu user's home folder. The link on the Live-
CD desktop probably comes from elsewhere.

At the same time, some of the content was moved around. The python usage
here is a bit of an overkill, but it was the way I (thought I) knew how
to make this work. The only hack needed was for installing the .desktop
file under /etc while still using cdbs defaults otherwise.

It's lintian clean and tested with pbuilder, and seems to work fine. I'm
attaching a screenshot to the bug report of a situation where the
examples.desktop is installed in /etc/skel (without translations), .mo
files are in locale directories, a new user has been created and it has
been logged in for the first time.

I didn't use Icon=Folder, since it's actually after the ordinary folders
and the icon in my opinion confused the user. So it's just the default
link icon, which I'd prefer over also a folder icon with a link arrow on
it since it looks wrong in the alphabetical order if it looks like a
folder but is after other folders in the list.

-- 
"Examples" folder link on Live CD desktop cannot be translated
https://bugs.launchpad.net/bugs/45489
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to