Description of problem:
The desktop menu entry for redhat-switchmail is not translated, as reported in #79218.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install es_ES locale
2. Login to desktop
English menu item
I could not find the desktop item for translation on elvis .
Hmm, it's on elvis.
Could you please check it out and add the spanish translation for desktio file.
Christian, could you please add it in desktop file and send me the diff, if you
cannot check it out from CVS. thanks
A better way of solving this for each and every language would be to use
intltool as mentioned in bug 83464.
Christian, it's too late to do that, but will be done for next release.
It would be good if you could send me the translated desktop file please. So i
can close this bug ;-)
I don't have the Spanish translation...
Created attachment 93282 [details]
Patch to use intltool instead of pygettext, adding desktop file i18n
This patch reworks the redhat-switch-mail i18n to use intltool instead of
pygettext for creating the .pot file, and merging translations to
* *.desktop is a generated file, in sources replaced by *.desktop.in.
* po/POTFILES* are generated files now
* po/redhat-switchmail.pot has been renamed to po/redhat-switch-mail.pot
* intltool should be added to BuildRequires
* The original two translations in the .desktop file have been REMOVED;
they should be merged back (or created anew) in their respective .po files.
* As a demonstration, an updated Czech translation is included
Additionaly, the patch updates switchmail.sh to look for the right file.
The redhat-switch-mail-0.5.20-1 has now this patch, which uses intltool. Many
thanks to Miloslav Trmac!
There are still some untranlated in po files. It would be nice if someone could
translate them please. Thanks