Revision 20334 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/Attributes.java
Attributes.java | ||
---|---|---|
153 | 153 |
* |
154 | 154 |
*/ |
155 | 155 |
public Attributes() { |
156 |
m_NameUnit = MapContext.NAMES[2];
|
|
156 |
m_NameUnit = PluginServices.getText(this,"Centimetros");
|
|
157 | 157 |
m_type = MediaSizeName.ISO_A4; |
158 | 158 |
m_isLandSel = true; |
159 | 159 |
setSizeinUnits(m_isLandSel); |
... | ... | |
739 | 739 |
public void setUnit(int sel) { |
740 | 740 |
m_selTypeUnit = sel; |
741 | 741 |
m_TypeUnit = CHANGE[sel]; |
742 |
m_NameUnit = MapContext.NAMES[sel];
|
|
742 |
m_NameUnit = MapContext.getDistanceNames()[sel];
|
|
743 | 743 |
m_numX = m_numY = new Double(UNIT[sel]); |
744 | 744 |
} |
745 | 745 |
|
Also available in: Unified diff