/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/join.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/join.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1542 by bh, Fri Aug 1 16:13:49 2003 UTC revision 1572 by bh, Mon Aug 11 10:20:08 2003 UTC
# Line 177  class JoinDialog(wxDialog): Line 177  class JoinDialog(wxDialog):
177              needed_rows = self.layer.ShapeStore().Table().NumRows()              needed_rows = self.layer.ShapeStore().Table().NumRows()
178              joined_rows = joined_table.NumRows()              joined_rows = joined_table.NumRows()
179              if needed_rows != joined_rows:              if needed_rows != joined_rows:
180                  msg = _("The joined table has %(joined)d rows but "                  msg = _("The joined table has %(joined)d rows but"
181                          "it must have %(needed)d rows"                          " it must have %(needed)d rows"
182                          "to be used with the selected layer") \                          " to be used with the selected layer") \
183                          % {"joined": joined_rows,                          % {"joined": joined_rows,
184                             "needed": needed_rows}                             "needed": needed_rows}
185                  dlg = wxMessageDialog(None, msg, _('Join Failed'),                  dlg = wxMessageDialog(None, msg, _('Join Failed'),

Legend:
Removed from v.1542  
changed lines
  Added in v.1572

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26