Bug 104018 - [PATCH] redhat-rhn-up2date.desktop is not automatically updated
Summary: [PATCH] redhat-rhn-up2date.desktop is not automatically updated
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: up2date
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
Depends On:
Blocks: 103999
TreeView+ depends on / blocked
Reported: 2003-09-09 00:37 UTC by Miloslav Trmac
Modified: 2007-04-18 16:57 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2004-01-23 15:45:45 UTC

Attachments (Terms of Use)
Patch to use intltool (39.15 KB, patch)
2003-09-11 01:05 UTC, Miloslav Trmac
no flags Details | Diff

Description Miloslav Trmac 2003-09-09 00:37:36 UTC
Description of problem:
There is no mechanism for automatically adding/updating
translations to the .desktop file.

Version-Release number of selected component (if applicable):

Comment 1 Miloslav Trmac 2003-09-11 01:05:50 UTC
Created attachment 94403 [details]
Patch to use intltool

Attached patch changes the build process to using intltool for message
extraction (including the .desktop.in file and the .glade files) and
automatically building the .desktop file using translations in the .po files.

The intltool package should be added as a build requirement.

po/advisorywin.gladestrings does not correspond to any glade file,
apparently the window is contained in gui.glade.

Also adds the equivalent of "make -C po update-po" to "make -C po all"
so that translations at elvis can be automatically updated without manual
running update-po.

Unused .desktop files (redhat-rhn-up2date-config.desktop, up2date*.desktop)
should be removed or generated using intltool like redhat-rhn-up2date.desktop

Comment 2 Adrian Likins 2003-09-15 21:09:09 UTC
cool, thanks. This should go into at least cambridge...

Comment 3 Adrian Likins 2004-01-20 22:23:26 UTC
patch applied for fedora/rawhide

Comment 4 Miloslav Trmac 2004-01-23 15:45:45 UTC
Thanks, looks fine; bug 114083 reports a missing buildrequires.

When you have some spare time, please grab updated translations from
elvis CVS, run (make -C po update-po) and commit the results back.

Note You need to log in before you can comment on or make changes to this bug.