[Qgis-developer] Re: [Qgis-community-team] Context sensitive help id generator

Milena Nowotarska do.milenki at gmail.com
Tue Nov 17 06:33:20 EST 2009


Hi Gary, All,

Thank you for the script..
what about a little revolution in context help management though?

As a girl (and girls doesn't like numbers) I was thinking about renaming
context help files to the name of a particular .ui file it is connected to.
That would require changes in code calling this help file, byt maybe it is
worth it.

Having such names it would be easier to manage context help and to say which
files are missing at first glance in both directories. No need to create a
database what belongs where ;)

Having a human-like name of the context help files might encourage the
translators to improve help files when they find something unclear. They
will just know at once which dialog should be opened to check if the help is
still validate - we are changing the GUI frequently after all.

What do you think about it?
Milena

2009/11/17 Gary Sherman <sherman at mrcc.com>

> All,
> Having heard nothing from my previous email as to a preference for
> dealing with this issue, I created and committed a Python script to
> generate unique IDs for use in the context sensitive help system.
>
> A context id is generated from the class it is associated with (eg.
> QgsAbout).
>
> Please note that this is a change in the way IDs are generated
> (previous method used a Java-only solution) so existing IDs can be
> reproduced using the new script. The existing IDs can remain as
> is---they do not need to be changed unless a conflict occurs with a
> newly generated ID (I don't anticipate this happening).
>
> The script is in the QGIS source tree in SVN: ./scripts/context_help_id.py
>
> -gary
> --
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> Gary Sherman
> Chair, QGIS Project Steering Committee
> -Desktop GIS Book:
>  *http://desktopgisbook.com
> -Spatial Hosting:
>  *http://mrcc.com/hosting
> "We work virtually everywhere"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> _______________________________________________
> Qgis-community-team mailing list
> Qgis-community-team at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-community-team
>



-- 
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091117/1d3ff026/attachment-0001.html


More information about the Qgis-developer mailing list