Directions In Architectural Redesign

Tobias Burnus tobias.burnus at physik.fu-berlin.de
Fri Jan 23 13:31:18 UTC 2004


Hellom

On Fri, Jan 23, 2004 at 01:17:11PM +0000, Gervase Markham wrote:
> >What I would like to see is the reduction of hardwired strings which are
> >inserted as comment like 'This bug has been marked as duplicate of ...'
> >etc. I would prefer to have those in a different form in the database
> >than as comment. This allows for (a) localization of the output string
> >and (b) such texts could be put into e.g. in a box and thus made be more
> >visible.
> Indeed. All such text should be in templates. The actual example you 
> give should probably go away, in favour of displaying the dupe number 
> next to the resolution.
Well, at least in one direction it works: 'Solution: DUPLICATE of bug
xxx', but it would be nice to have a list: 'Bugs marked as duplicate: ...
(show buglist)'.
But for the bug which is marked as duplicate, a box containing
  [ This bug has been marked a duplicate of bug xxx (current title) ]
followed by the comments why, or having such a box for attachments
would still be nice.
 
> >>Less hardcoding - customised statuses/resolutions, easier to add
> >>customised fields.
> >The problem with those strings is how this can be localized best.
> We probably want to be using numbers internally for each status and 
> resolution, and translating them to strings at display time:
> [% status_descs.$status %]
Hmm, if we manage to get this working well and easily maintainable with
custom resultions/status, why not.

Tobias



More information about the developers mailing list