1 |
|
2003-04-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
First stab at internationalized messages: |
4 |
|
|
5 |
|
* Thuban/__init__.py (_): Implement the translation function for |
6 |
|
real using the python gettext module. |
7 |
|
|
8 |
|
* Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't |
9 |
|
translate empty strings. |
10 |
|
|
11 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
12 |
|
Add a missing space to a warning message |
13 |
|
|
14 |
|
* po/README: New. Notes about the management of the translation |
15 |
|
files. |
16 |
|
|
17 |
|
* po/Makefile: New. Makefile to help manage the translation files. |
18 |
|
|
19 |
|
* po/es.po: New. Spanish translation by Daniel Calvelo Aros |
20 |
|
|
21 |
|
* MANIFEST.in: Include the *.mo files in Resources/Locale and the |
22 |
|
translations and support files in po/ |
23 |
|
|
24 |
|
* setup.py (data_files): Add the *.mo files to the data_files too |
25 |
|
|
26 |
|
* README: Add note about the translations when building from CVS |
27 |
|
|
28 |
|
2003-04-14 Jonathan Coles <[email protected]> |
29 |
|
|
30 |
|
* Thuban/UI/dock.py: Fixes some window resizing problems most |
31 |
|
noticable under windows. Always assume the button bitmaps will |
32 |
|
be there. Code clean up. |
33 |
|
(DockabelWindow.Dock, DockableWindow.UnDock): Force all the |
34 |
|
images for the dock/undock button to the same images. |
35 |
|
Work around for RTbug #1801. |
36 |
|
|
37 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should |
38 |
|
be allowed to grow within the sizer. Fixes a bug under Windows |
39 |
|
where the toolbar wasn't being drawn. |
40 |
|
|
41 |
|
2003-04-14 Frank Koormann <[email protected]> |
42 |
|
|
43 |
|
* Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm: |
44 |
|
Updated design to try to make the button functionality more |
45 |
|
transparent. |
46 |
|
|
47 |
|
2003-04-14 Jonathan Coles <[email protected]> |
48 |
|
|
49 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to |
50 |
|
finalize the intialization of the panel. |
51 |
|
|
52 |
|
* Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the |
53 |
|
creation of the panel. Should be the last thing called in the |
54 |
|
initializer of a subclass. |
55 |
|
|
56 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively |
57 |
|
set the current selections in the combo boxes. This is needed |
58 |
|
under Windows. |
59 |
|
|
60 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add a top |
61 |
|
level panel to the dialog so that the background colors are |
62 |
|
consistent under Windows. |
63 |
|
|
64 |
|
2003-04-11 Jonathan Coles <[email protected]> |
65 |
|
|
66 |
|
* Thuban/UI/classgen.py: Change color ramps to start at white |
67 |
|
not black. |
68 |
|
|
69 |
|
* Thuban/UI/legend.py: Enable/disable the legend buttons when |
70 |
|
the legend changes. Fixes RTbug #1793. |
71 |
|
|
72 |
|
* test/test_classification.py: Added test for copying of |
73 |
|
classifications. |
74 |
|
|
75 |
|
2003-04-11 Jonathan Coles <[email protected]> |
76 |
|
|
77 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
78 |
|
such as bitmaps. |
79 |
|
|
80 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
81 |
|
added images to the move buttons, added 'reverse' button. |
82 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
83 |
|
(GreyRamp): New. Generates a ramp from white to black. |
84 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
85 |
|
|
86 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
87 |
|
ID_PROPERTY_*. |
88 |
|
(Classifier.__init__): Minor changes to the layout. |
89 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
90 |
|
title and update the dialog's title and the layer's title. |
91 |
|
|
92 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
93 |
|
|
94 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
95 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
96 |
|
if the layer's title changes. |
97 |
|
|
98 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
99 |
|
to open a dialog to rename the map. |
100 |
|
(MainWindow): Use new resource class to import bitmaps. |
101 |
|
|
102 |
|
2003-04-11 Jonathan Coles <[email protected]> |
103 |
|
|
104 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
105 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
106 |
|
Resources/Bitmaps/group_use_none.xpm, |
107 |
|
Resources/Bitmaps/group_use_not.xpm, |
108 |
|
Resources/Bitmaps/hide_layer.xpm, |
109 |
|
Resources/Bitmaps/layer_properties.xpm, |
110 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
111 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
112 |
|
New. |
113 |
|
|
114 |
|
2003-04-10 Jonathan Coles <[email protected]> |
115 |
|
|
116 |
|
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
117 |
|
Should pass group to ClassGroup constructor. |
118 |
|
|
119 |
|
2003-04-10 Jonathan Coles <[email protected]> |
120 |
|
|
121 |
|
* Thuban/Model/classification.py: (ClassGroup): Move all the common |
122 |
|
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__) |
123 |
|
here. Implement SetVisible(), IsVisible(). |
124 |
|
(ClassGroup.__init__): Add group parameter which acts as a copy |
125 |
|
constructor. |
126 |
|
|
127 |
|
* Thuban/UI/classifier.py (ClassTable): Add a new column for the |
128 |
|
"Visible" check boxes. |
129 |
|
(Classifier): Rename the buttons and refactor the code to match |
130 |
|
the new labels. |
131 |
|
|
132 |
|
* Thuban/UI/legend.py: Classify button is now called "Properties". |
133 |
|
Refactored the code to change variable names. |
134 |
|
(LegendTree.__FillTreeLayer): Only list a group if it is visible. |
135 |
|
|
136 |
|
* Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to |
137 |
|
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties |
138 |
|
renamed to MainWindow.LayerEditProperties. |
139 |
|
(MainWindow.ToggleLegend): Don't include map name in legend title. |
140 |
|
(MainWindow.SetMap): Added the map name to the window title. |
141 |
|
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill, |
142 |
|
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed. |
143 |
|
Functionality is found in the layer properties dialog. |
144 |
|
|
145 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
146 |
|
draw visible groups. |
147 |
|
|
148 |
2003-04-09 Jonathan Coles <[email protected]> |
2003-04-09 Jonathan Coles <[email protected]> |
149 |
|
|
150 |
* Thuban/UI/classgen.py: Modifications to allow simple |
* Thuban/UI/classgen.py: Modifications to allow simple |