Minor changes: modify a few messages in dialogs to allow a better or more easy translation of these messages (too short messages cannot be safely translated).
Remove no more existing special.lib from template file kicad.pro
This commit is contained in:
parent
e63cafa62a
commit
fd907a413c
|
@ -57,21 +57,21 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
|
||||||
|
|
||||||
bSizerLeft->Add( bSizerVal, 0, wxEXPAND, 5 );
|
bSizerLeft->Add( bSizerVal, 0, wxEXPAND, 5 );
|
||||||
|
|
||||||
wxString m_LayerCtrlChoices[] = { _("Top"), _("Bottom") };
|
wxString m_LayerCtrlChoices[] = { _("Top side"), _("Bottom side") };
|
||||||
int m_LayerCtrlNChoices = sizeof( m_LayerCtrlChoices ) / sizeof( wxString );
|
int m_LayerCtrlNChoices = sizeof( m_LayerCtrlChoices ) / sizeof( wxString );
|
||||||
m_LayerCtrl = new wxRadioBox( m_PanelProperties, wxID_ANY, _("Side"), wxDefaultPosition, wxDefaultSize, m_LayerCtrlNChoices, m_LayerCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
m_LayerCtrl = new wxRadioBox( m_PanelProperties, wxID_ANY, _("Side"), wxDefaultPosition, wxDefaultSize, m_LayerCtrlNChoices, m_LayerCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
||||||
m_LayerCtrl->SetSelection( 0 );
|
m_LayerCtrl->SetSelection( 0 );
|
||||||
bSizerLeft->Add( m_LayerCtrl, 0, wxALL|wxEXPAND, 5 );
|
bSizerLeft->Add( m_LayerCtrl, 0, wxALL|wxEXPAND, 5 );
|
||||||
|
|
||||||
wxString m_OrientCtrlChoices[] = { _("Normal"), _("+90.0"), _("-90.0"), _("180.0"), _("User") };
|
wxString m_OrientCtrlChoices[] = { _("0.0"), _("+90.0"), _("-90.0"), _("180.0"), _("Other rotation") };
|
||||||
int m_OrientCtrlNChoices = sizeof( m_OrientCtrlChoices ) / sizeof( wxString );
|
int m_OrientCtrlNChoices = sizeof( m_OrientCtrlChoices ) / sizeof( wxString );
|
||||||
m_OrientCtrl = new wxRadioBox( m_PanelProperties, ID_LISTBOX_ORIENT_SELECT, _("Orientation"), wxDefaultPosition, wxDefaultSize, m_OrientCtrlNChoices, m_OrientCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
m_OrientCtrl = new wxRadioBox( m_PanelProperties, ID_LISTBOX_ORIENT_SELECT, _("Rotation"), wxDefaultPosition, wxDefaultSize, m_OrientCtrlNChoices, m_OrientCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
||||||
m_OrientCtrl->SetSelection( 0 );
|
m_OrientCtrl->SetSelection( 0 );
|
||||||
bSizerLeft->Add( m_OrientCtrl, 0, wxEXPAND|wxALL, 5 );
|
bSizerLeft->Add( m_OrientCtrl, 0, wxEXPAND|wxALL, 5 );
|
||||||
|
|
||||||
m_staticText4 = new wxStaticText( m_PanelProperties, wxID_ANY, _("User orientation (in 0.1 degrees):"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticTextRotation = new wxStaticText( m_PanelProperties, wxID_ANY, _("Rotation (in 0.1 degrees):"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_staticText4->Wrap( -1 );
|
m_staticTextRotation->Wrap( -1 );
|
||||||
bSizerLeft->Add( m_staticText4, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
bSizerLeft->Add( m_staticTextRotation, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
m_OrientValue = new wxTextCtrl( m_PanelProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
m_OrientValue = new wxTextCtrl( m_PanelProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_OrientValue->SetMaxLength( 0 );
|
m_OrientValue->SetMaxLength( 0 );
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">DIALOG_MODULE_BOARD_EDITOR_BASE</property>
|
<property name="name">DIALOG_MODULE_BOARD_EDITOR_BASE</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="size">499,630</property>
|
<property name="size">548,630</property>
|
||||||
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
||||||
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
|
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
|
||||||
<property name="title">Footprint Properties</property>
|
<property name="title">Footprint Properties</property>
|
||||||
|
@ -831,7 +831,7 @@
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
<property name="choices">"Top" "Bottom"</property>
|
<property name="choices">"Top side" "Bottom side"</property>
|
||||||
<property name="close_button">1</property>
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
@ -921,7 +921,7 @@
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
<property name="choices">"Normal" "+90.0" "-90.0" "180.0" "User"</property>
|
<property name="choices">"0.0" "+90.0" "-90.0" "180.0" "Other rotation"</property>
|
||||||
<property name="close_button">1</property>
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
@ -936,7 +936,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_LISTBOX_ORIENT_SELECT</property>
|
<property name="id">ID_LISTBOX_ORIENT_SELECT</property>
|
||||||
<property name="label">Orientation</property>
|
<property name="label">Rotation</property>
|
||||||
<property name="majorDimension">1</property>
|
<property name="majorDimension">1</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
|
@ -1025,7 +1025,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">User orientation (in 0.1 degrees):</property>
|
<property name="label">Rotation (in 0.1 degrees):</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -1033,7 +1033,7 @@
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_staticText4</property>
|
<property name="name">m_staticTextRotation</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
<property name="pane_size"></property>
|
<property name="pane_size"></property>
|
||||||
|
|
|
@ -65,7 +65,7 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
|
||||||
wxButton* m_button5;
|
wxButton* m_button5;
|
||||||
wxRadioBox* m_LayerCtrl;
|
wxRadioBox* m_LayerCtrl;
|
||||||
wxRadioBox* m_OrientCtrl;
|
wxRadioBox* m_OrientCtrl;
|
||||||
wxStaticText* m_staticText4;
|
wxStaticText* m_staticTextRotation;
|
||||||
wxTextCtrl* m_OrientValue;
|
wxTextCtrl* m_OrientValue;
|
||||||
wxStaticText* m_staticTextPos;
|
wxStaticText* m_staticTextPos;
|
||||||
wxStaticText* m_XPosLabel;
|
wxStaticText* m_XPosLabel;
|
||||||
|
@ -137,7 +137,7 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
|
||||||
public:
|
public:
|
||||||
wxStaticBoxSizer* m_Sizer3DValues;
|
wxStaticBoxSizer* m_Sizer3DValues;
|
||||||
|
|
||||||
DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Footprint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 499,630 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Footprint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 548,630 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||||
~DIALOG_MODULE_BOARD_EDITOR_BASE();
|
~DIALOG_MODULE_BOARD_EDITOR_BASE();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -130,7 +130,7 @@ TOOL_ACTION COMMON_ACTIONS::remove( "pcbnew.InteractiveEdit.remove",
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::properties( "pcbnew.InteractiveEdit.properties",
|
TOOL_ACTION COMMON_ACTIONS::properties( "pcbnew.InteractiveEdit.properties",
|
||||||
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_EDIT_ITEM ),
|
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_EDIT_ITEM ),
|
||||||
_( "Properties..." ), _( "Displays properties window" ), editor_xpm );
|
_( "Properties..." ), _( "Displays item properties dialog" ), editor_xpm );
|
||||||
|
|
||||||
|
|
||||||
// Drawing tool actions
|
// Drawing tool actions
|
||||||
|
|
|
@ -1,49 +1,10 @@
|
||||||
update=11/01/2015 18:31:38
|
update=22/05/2015 07:44:53
|
||||||
version=1
|
version=1
|
||||||
last_client=kicad
|
last_client=kicad
|
||||||
[general]
|
[general]
|
||||||
version=1
|
version=1
|
||||||
RootSch=
|
RootSch=
|
||||||
BoardNm=
|
BoardNm=
|
||||||
[eeschema]
|
|
||||||
version=1
|
|
||||||
LibDir=
|
|
||||||
NetFmtName=
|
|
||||||
RptD_X=0
|
|
||||||
RptD_Y=100
|
|
||||||
RptLab=1
|
|
||||||
LabSize=60
|
|
||||||
[eeschema/libraries]
|
|
||||||
LibName1=power
|
|
||||||
LibName2=device
|
|
||||||
LibName3=transistors
|
|
||||||
LibName4=conn
|
|
||||||
LibName5=linear
|
|
||||||
LibName6=regul
|
|
||||||
LibName7=74xx
|
|
||||||
LibName8=cmos4000
|
|
||||||
LibName9=adc-dac
|
|
||||||
LibName10=memory
|
|
||||||
LibName11=xilinx
|
|
||||||
LibName12=special
|
|
||||||
LibName13=microcontrollers
|
|
||||||
LibName14=dsp
|
|
||||||
LibName15=microchip
|
|
||||||
LibName16=analog_switches
|
|
||||||
LibName17=motorola
|
|
||||||
LibName18=texas
|
|
||||||
LibName19=intel
|
|
||||||
LibName20=audio
|
|
||||||
LibName21=interface
|
|
||||||
LibName22=digital-audio
|
|
||||||
LibName23=philips
|
|
||||||
LibName24=display
|
|
||||||
LibName25=cypress
|
|
||||||
LibName26=siliconi
|
|
||||||
LibName27=opto
|
|
||||||
LibName28=atmel
|
|
||||||
LibName29=contrib
|
|
||||||
LibName30=valves
|
|
||||||
[pcbnew]
|
[pcbnew]
|
||||||
version=1
|
version=1
|
||||||
LastNetListRead=
|
LastNetListRead=
|
||||||
|
@ -66,3 +27,36 @@ ModuleOutlineThickness=0.150000000000
|
||||||
[cvpcb]
|
[cvpcb]
|
||||||
version=1
|
version=1
|
||||||
NetIExt=net
|
NetIExt=net
|
||||||
|
[eeschema]
|
||||||
|
version=1
|
||||||
|
LibDir=
|
||||||
|
[eeschema/libraries]
|
||||||
|
LibName1=power
|
||||||
|
LibName2=device
|
||||||
|
LibName3=transistors
|
||||||
|
LibName4=conn
|
||||||
|
LibName5=linear
|
||||||
|
LibName6=regul
|
||||||
|
LibName7=74xx
|
||||||
|
LibName8=cmos4000
|
||||||
|
LibName9=adc-dac
|
||||||
|
LibName10=memory
|
||||||
|
LibName11=xilinx
|
||||||
|
LibName12=microcontrollers
|
||||||
|
LibName13=dsp
|
||||||
|
LibName14=microchip
|
||||||
|
LibName15=analog_switches
|
||||||
|
LibName16=motorola
|
||||||
|
LibName17=texas
|
||||||
|
LibName18=intel
|
||||||
|
LibName19=audio
|
||||||
|
LibName20=interface
|
||||||
|
LibName21=digital-audio
|
||||||
|
LibName22=philips
|
||||||
|
LibName23=display
|
||||||
|
LibName24=cypress
|
||||||
|
LibName25=siliconi
|
||||||
|
LibName26=opto
|
||||||
|
LibName27=atmel
|
||||||
|
LibName28=contrib
|
||||||
|
LibName29=valves
|
||||||
|
|
Loading…
Reference in New Issue