equal
deleted
inserted
replaced
48 ] = range(10) |
48 ] = range(10) |
49 |
49 |
50 |
50 |
51 def GetVariableTableColnames(location): |
51 def GetVariableTableColnames(location): |
52 _ = NoTranslate |
52 _ = NoTranslate |
53 if location: |
53 cols = ["#", |
54 return ["#", _("Name"), _("Class"), _("Type"), _("Location"), _("Initial Value"), _("Option"), _("Documentation")] |
54 _("Name"), |
55 return ["#", _("Name"), _("Class"), _("Type"), _("Initial Value"), _("Option"), _("Documentation")] |
55 _("Class"), |
|
56 _("Type"), |
|
57 _("Location"), |
|
58 _("Initial Value"), |
|
59 _("Option"), |
|
60 _("Documentation")] |
|
61 if not location: |
|
62 del cols[4] # remove 'Location' column |
|
63 return cols |
56 |
64 |
57 |
65 |
58 def GetOptions(constant=True, retain=True, non_retain=True): |
66 def GetOptions(constant=True, retain=True, non_retain=True): |
59 _ = NoTranslate |
67 _ = NoTranslate |
60 options = [""] |
68 options = [""] |