~sajanravindran-deactivatedaccount/sahana-eden/defect-195

« back to all changes in this revision

Viewing changes to models/03_gis.py

  • Committer: Fran Boon
  • Date: 2011-03-29 22:38:41 UTC
  • Revision ID: fran@aidiq.com-20110329223841-x974rgep64v62nja
pre-merge commit: New Location Selector work-in-progress with associated fixes & minor enhancements

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                                             _target="top",
66
66
                                             _title=ADD_MARKER),
67
67
                                       DIV( _class="tooltip",
68
 
                                            _title="%s|%s" % (MARKER,
69
 
                                                              T("Defines the icon used for display of features on interactive map & KML exports. A Marker assigned to an individual Location is set if there is a need to override the Marker assigned to the Feature Class. If neither are defined, then the Default Marker is used.")))),
 
68
                                            _title="%s|%s|%s|%s" % (MARKER,
 
69
                                                                    T("Defines the icon used for display of features on interactive map & KML exports."),
 
70
                                                                    T("A Marker assigned to an individual Location is set if there is a need to override the Marker assigned to the Feature Class."),
 
71
                                                                    T("If neither are defined, then the Default Marker is used.")))),
70
72
                             ondelete = "RESTRICT"
71
73
                            )
72
74
 
220
222
table.wmsbrowser_url.label =  T("WMS Browser URL")
221
223
# Defined here since Component
222
224
table.lat.comment = DIV( _class="tooltip",
223
 
                         _title="%s|%s" % (T("Latitude"),
224
 
                                           T("Latitude is North-South (Up-Down). Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere.")))
 
225
                         _title="%s|%s|%s" % (T("Latitude"),
 
226
                                              T("Latitude is North-South (Up-Down)."),
 
227
                                              T("Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere.")))
225
228
table.lon.comment = DIV( _class="tooltip",
226
 
                         _title="%s|%s" % (T("Longitude"),
227
 
                                           T("Longitude is West - East (sideways). Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia.  Longitude is negative to the west, across the Atlantic and the Americas.")))
 
229
                         _title="%s|%s|%s" % (T("Longitude"),
 
230
                                              T("Longitude is West - East (sideways)."),
 
231
                                              T("Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia.  Longitude is negative to the west, across the Atlantic and the Americas.")))
228
232
table.zoom.comment = DIV( _class="tooltip",
229
233
                          _title="%s|%s" % (T("Zoom"),
230
234
                                            T("How much detail is seen. A high Zoom level means lot of detail, but not a wide area. A low Zoom level means seeing a wide area, but not a high level of detail.")))
521
525
CONVERSION_TOOL = T("Conversion Tool")
522
526
table.lat.comment = DIV(_class="tooltip",
523
527
                        _id="gis_location_lat_tooltip",
524
 
                        _title="%s|%s" % (T("Latitude & Longitude"),
525
 
                                          T("Longitude is West - East (sideways). Latitude is North-South (Up-Down). Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere. Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia.  Longitude is negative to the west, across the Atlantic and the Americas.  These need to be added in Decimal Degrees.")))
 
528
                        _title="%s|%s|%s|%s|%s|%s" % (T("Latitude & Longitude"),
 
529
                                                      T("Longitude is West - East (sideways)."),
 
530
                                                      T("Latitude is North-South (Up-Down)."),
 
531
                                                      T("Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere."),
 
532
                                                      T("Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia.  Longitude is negative to the west, across the Atlantic and the Americas."),
 
533
                                                      T("These need to be added in Decimal Degrees.")))
526
534
table.lon.comment = A(CONVERSION_TOOL,
527
535
                      _style="cursor:pointer;",
528
536
                      _title=T("You can use the Conversion Tool to convert from either GPS coordinates or Degrees/Minutes/Seconds."),