Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
1ee86d4a
Commit
1ee86d4a
authored
Feb 16, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanup and enhancements about hotkeys
parent
e1412214
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
320 additions
and
274 deletions
+320
-274
hotkeys_basic.cpp
common/hotkeys_basic.cpp
+38
-25
hotkeys.cpp
eeschema/hotkeys.cpp
+26
-6
hotkeys.h
eeschema/hotkeys.h
+1
-0
menubar.cpp
eeschema/menubar.cpp
+4
-11
tool_lib.cpp
eeschema/tool_lib.cpp
+6
-6
tool_sch.cpp
eeschema/tool_sch.cpp
+9
-7
tool_viewlib.cpp
eeschema/tool_viewlib.cpp
+4
-4
hotkeys_basic.h
include/hotkeys_basic.h
+45
-6
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+161
-170
hotkeys.cpp
pcbnew/hotkeys.cpp
+12
-0
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+3
-24
tool_modedit.cpp
pcbnew/tool_modedit.cpp
+4
-4
tool_pcb.cpp
pcbnew/tool_pcb.cpp
+7
-11
No files found.
common/hotkeys_basic.cpp
View file @
1ee86d4a
...
@@ -199,22 +199,22 @@ static struct hotkey_name_descr s_Hotkey_Name_List[] =
...
@@ -199,22 +199,22 @@ static struct hotkey_name_descr s_Hotkey_Name_List[] =
* return the key name from the key code
* return the key name from the key code
* Only some wxWidgets key values are handled for function key ( see
* Only some wxWidgets key values are handled for function key ( see
* s_Hotkey_Name_List[] )
* s_Hotkey_Name_List[] )
* @param
key
= key code (ascii value, or wxWidgets value for function keys)
* @param
aKeycode
= key code (ascii value, or wxWidgets value for function keys)
* @return the key name in a wxString
* @return the key name in a wxString
*/
*/
wxString
ReturnKeyNameFromKeyCode
(
int
k
eycode
)
wxString
ReturnKeyNameFromKeyCode
(
int
aK
eycode
)
{
{
wxString
keyname
,
modifier
,
fullkeyname
;
wxString
keyname
,
modifier
,
fullkeyname
;
int
ii
;
int
ii
;
if
(
(
k
eycode
&
GR_KB_CTRL
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_CTRL
)
!=
0
)
modifier
<<
wxT
(
"Ctrl+"
);
modifier
<<
wxT
(
"Ctrl+"
);
if
(
(
k
eycode
&
GR_KB_ALT
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_ALT
)
!=
0
)
modifier
<<
wxT
(
"Alt+"
);
modifier
<<
wxT
(
"Alt+"
);
if
(
(
k
eycode
&
GR_KB_SHIFT
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_SHIFT
)
!=
0
)
modifier
<<
wxT
(
"Shift+"
);
modifier
<<
wxT
(
"Shift+"
);
k
eycode
&=
~
(
GR_KB_CTRL
|
GR_KB_ALT
|
GR_KB_SHIFT
);
aK
eycode
&=
~
(
GR_KB_CTRL
|
GR_KB_ALT
|
GR_KB_SHIFT
);
for
(
ii
=
0
;
;
ii
++
)
for
(
ii
=
0
;
;
ii
++
)
{
{
if
(
s_Hotkey_Name_List
[
ii
].
m_KeyCode
==
0
)
if
(
s_Hotkey_Name_List
[
ii
].
m_KeyCode
==
0
)
...
@@ -222,7 +222,7 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
...
@@ -222,7 +222,7 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
keyname
=
wxT
(
"<unknown>"
);
keyname
=
wxT
(
"<unknown>"
);
break
;
break
;
}
}
if
(
s_Hotkey_Name_List
[
ii
].
m_KeyCode
==
k
eycode
)
if
(
s_Hotkey_Name_List
[
ii
].
m_KeyCode
==
aK
eycode
)
{
{
keyname
=
s_Hotkey_Name_List
[
ii
].
m_Name
;
keyname
=
s_Hotkey_Name_List
[
ii
].
m_Name
;
break
;
break
;
...
@@ -236,12 +236,15 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
...
@@ -236,12 +236,15 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
/** function AddHotkeyName
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* Add the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfo list of commands
* @param aText = a wxString. returns aText + key name
* @param CommandId = Command Id value
* @param aList = pointer to a Ki_HotkeyInfo list of commands
* @return text (key name) in a wxString if found or text without modification
* @param aCommandId = Command Id value
* @param aIsShortCut = true to add <tab><keyname> (active shortcuts in menus)
* = false to add <spaces><(keyname)>
* @return a wxString (aTest + key name) if key found or aText without modification
*/
*/
wxString
AddHotkeyName
(
const
wxString
&
aText
,
Ki_HotkeyInfo
**
aList
,
wxString
AddHotkeyName
(
const
wxString
&
aText
,
Ki_HotkeyInfo
**
aList
,
int
aCommandId
)
int
aCommandId
,
bool
aIsShortCut
)
{
{
wxString
msg
=
aText
;
wxString
msg
=
aText
;
wxString
keyname
;
wxString
keyname
;
...
@@ -249,21 +252,28 @@ wxString AddHotkeyName( const wxString& aText, Ki_HotkeyInfo** aList,
...
@@ -249,21 +252,28 @@ wxString AddHotkeyName( const wxString& aText, Ki_HotkeyInfo** aList,
keyname
=
ReturnKeyNameFromCommandId
(
aList
,
aCommandId
);
keyname
=
ReturnKeyNameFromCommandId
(
aList
,
aCommandId
);
if
(
!
keyname
.
IsEmpty
()
)
if
(
!
keyname
.
IsEmpty
()
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
{
if
(
aIsShortCut
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
else
msg
<<
wxT
(
" <"
)
<<
keyname
<<
wxT
(
">"
);
}
return
msg
;
return
msg
;
}
}
/** function AddHotkeyName
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* Add the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfoSectionDescriptor* DescrList of
* @param aText = a wxString. returns aText + key name
* commands
* @param aList = pointer to a Ki_HotkeyInfoSectionDescriptor DescrList of commands
* @param CommandId = Command Id value
* @param aCommandId = Command Id value
* @return text (key name) in a wxString if found or text without modification
* @param aIsShortCut = true to add <tab><keyname> (active shortcuts in menus)
* = false to add <spaces><(keyname)>
* @return a wxString (aTest + key name) if key found or aText without modification
*/
*/
wxString
AddHotkeyName
(
const
wxString
&
aText
,
wxString
AddHotkeyName
(
const
wxString
&
aText
,
struct
Ki_HotkeyInfoSectionDescriptor
*
aDescList
,
struct
Ki_HotkeyInfoSectionDescriptor
*
aDescList
,
int
aCommandId
)
int
aCommandId
,
bool
aIsShortCut
)
{
{
wxString
msg
=
aText
;
wxString
msg
=
aText
;
wxString
keyname
;
wxString
keyname
;
...
@@ -277,7 +287,10 @@ wxString AddHotkeyName( const wxString& aText,
...
@@ -277,7 +287,10 @@ wxString AddHotkeyName( const wxString& aText,
keyname
=
ReturnKeyNameFromCommandId
(
List
,
aCommandId
);
keyname
=
ReturnKeyNameFromCommandId
(
List
,
aCommandId
);
if
(
!
keyname
.
IsEmpty
()
)
if
(
!
keyname
.
IsEmpty
()
)
{
{
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
if
(
aIsShortCut
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
else
msg
<<
wxT
(
" <"
)
<<
keyname
<<
wxT
(
">"
);
break
;
break
;
}
}
}
}
...
@@ -289,18 +302,18 @@ wxString AddHotkeyName( const wxString& aText,
...
@@ -289,18 +302,18 @@ wxString AddHotkeyName( const wxString& aText,
/** function ReturnKeyNameFromCommandId
/** function ReturnKeyNameFromCommandId
* return the key name from the Command id value ( m_Idcommand member value)
* return the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfo list of commands
* @param
a
List = pointer to a Ki_HotkeyInfo list of commands
* @param CommandId = Command Id value
* @param
a
CommandId = Command Id value
* @return the key name in a wxString
* @return the key name in a wxString
*/
*/
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
List
,
int
CommandId
)
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
aList
,
int
a
CommandId
)
{
{
wxString
keyname
;
wxString
keyname
;
for
(
;
*
List
!=
NULL
;
List
++
)
for
(
;
*
aList
!=
NULL
;
a
List
++
)
{
{
Ki_HotkeyInfo
*
hk_decr
=
*
List
;
Ki_HotkeyInfo
*
hk_decr
=
*
a
List
;
if
(
hk_decr
->
m_Idcommand
==
CommandId
)
if
(
hk_decr
->
m_Idcommand
==
a
CommandId
)
{
{
keyname
=
ReturnKeyNameFromKeyCode
(
hk_decr
->
m_KeyCode
);
keyname
=
ReturnKeyNameFromKeyCode
(
hk_decr
->
m_KeyCode
);
break
;
break
;
...
...
eeschema/hotkeys.cpp
View file @
1ee86d4a
...
@@ -52,13 +52,20 @@
...
@@ -52,13 +52,20 @@
*/
*/
/* Fit on Screen */
/* Fit on Screen */
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Fit on Screen"
),
HK_ZOOM_AUTO
,
#if !defined( __WXMAC__ )
WXK_HOME
);
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Fit on Screen"
),
HK_ZOOM_AUTO
,
WXK_HOME
);
#else
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Zoom Auto"
),
HK_ZOOM_AUTO
,
GR_KB_CTRL
+
'0'
);
#endif
static
Ki_HotkeyInfo
HkZoomCenter
(
wxT
(
"Zoom Center"
),
HK_ZOOM_CENTER
,
WXK_F4
);
static
Ki_HotkeyInfo
HkZoomCenter
(
wxT
(
"Zoom Center"
),
HK_ZOOM_CENTER
,
/* Refresh Screen */
WXK_F4
);
#if !defined( __WXMAC__ )
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
WXK_F3
);
WXK_F3
);
#else
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
GR_KB_CTRL
+
'R'
);
#endif
/* Zoom In */
/* Zoom In */
#if !defined( __WXMAC__ )
#if !defined( __WXMAC__ )
...
@@ -127,6 +134,9 @@ static Ki_HotkeyInfo HkMove2Drag( wxT( "Switch move block to drag block" ),
...
@@ -127,6 +134,9 @@ static Ki_HotkeyInfo HkMove2Drag( wxT( "Switch move block to drag block" ),
static
Ki_HotkeyInfo
HkInsert
(
wxT
(
"Repeat Last Item"
),
HK_REPEAT_LAST
,
static
Ki_HotkeyInfo
HkInsert
(
wxT
(
"Repeat Last Item"
),
HK_REPEAT_LAST
,
WXK_INSERT
);
WXK_INSERT
);
static
Ki_HotkeyInfo
HkDelete
(
wxT
(
"Delete Item"
),
HK_DELETE
,
WXK_DELETE
);
static
Ki_HotkeyInfo
HkDelete
(
wxT
(
"Delete Item"
),
HK_DELETE
,
WXK_DELETE
);
static
Ki_HotkeyInfo
HkFindItem
(
wxT
(
"Find Item"
),
HK_FIND_ITEM
,
'F'
+
GR_KB_CTRL
);
static
Ki_HotkeyInfo
HkNextSearch
(
wxT
(
"Next Search"
),
HK_NEXT_SEARCH
,
static
Ki_HotkeyInfo
HkNextSearch
(
wxT
(
"Next Search"
),
HK_NEXT_SEARCH
,
WXK_F5
);
WXK_F5
);
...
@@ -156,6 +166,7 @@ Ki_HotkeyInfo* s_Common_Hotkey_List[] =
...
@@ -156,6 +166,7 @@ Ki_HotkeyInfo* s_Common_Hotkey_List[] =
// List of hotkey descriptors for schematic
// List of hotkey descriptors for schematic
Ki_HotkeyInfo
*
s_Schematic_Hotkey_List
[]
=
Ki_HotkeyInfo
*
s_Schematic_Hotkey_List
[]
=
{
{
&
HkFindItem
,
&
HkNextSearch
,
&
HkNextSearch
,
&
HkDelete
,
&
HkDelete
,
&
HkInsert
,
&
HkInsert
,
...
@@ -325,6 +336,15 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
...
@@ -325,6 +336,15 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
RepeatDrawItem
(
DC
);
RepeatDrawItem
(
DC
);
break
;
break
;
case
HK_FIND_ITEM
:
if
(
!
ItemInEdit
)
{
wxCommandEvent
evt
;
evt
.
SetId
(
ID_FIND_ITEMS
);
Process_Special_Functions
(
evt
);
}
break
;
case
HK_NEXT_SEARCH
:
case
HK_NEXT_SEARCH
:
if
(
!
ItemInEdit
)
if
(
!
ItemInEdit
)
{
{
...
...
eeschema/hotkeys.h
View file @
1ee86d4a
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
// for shared hotkeys id
// for shared hotkeys id
enum
hotkey_id_commnand
{
enum
hotkey_id_commnand
{
HK_NEXT_SEARCH
=
HK_COMMON_END
,
HK_NEXT_SEARCH
=
HK_COMMON_END
,
HK_FIND_ITEM
,
HK_DELETE
,
HK_DELETE
,
HK_REPEAT_LAST
,
HK_REPEAT_LAST
,
HK_EDIT_PIN
,
HK_EDIT_PIN
,
...
...
eeschema/menubar.cpp
View file @
1ee86d4a
...
@@ -79,7 +79,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -79,7 +79,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
/* Save as... */
/* Save as... */
item
=
new
wxMenuItem
(
filesMenu
,
ID_SAVE_ONE_SHEET_AS
,
item
=
new
wxMenuItem
(
filesMenu
,
ID_SAVE_ONE_SHEET_AS
,
_
(
"Save Current Sheet &as
\t
Shift+Ctrl+S
"
),
_
(
"Save Current Sheet &as"
),
_
(
"Save current schematic sheet as..."
)
);
_
(
"Save current schematic sheet as..."
)
);
item
->
SetBitmap
(
save_as_xpm
);
item
->
SetBitmap
(
save_as_xpm
);
filesMenu
->
Append
(
item
);
filesMenu
->
Append
(
item
);
...
@@ -88,7 +88,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -88,7 +88,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
filesMenu
->
AppendSeparator
();
filesMenu
->
AppendSeparator
();
/* Print */
/* Print */
item
=
new
wxMenuItem
(
filesMenu
,
wxID_PRINT
,
_
(
"P&rint
\t
Ctrl+P
"
),
item
=
new
wxMenuItem
(
filesMenu
,
wxID_PRINT
,
_
(
"P&rint"
),
_
(
"Print schematic"
)
);
_
(
"Print schematic"
)
);
item
->
SetBitmap
(
print_button
);
item
->
SetBitmap
(
print_button
);
filesMenu
->
Append
(
item
);
filesMenu
->
Append
(
item
);
...
@@ -181,7 +181,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -181,7 +181,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
editMenu
->
AppendSeparator
();
editMenu
->
AppendSeparator
();
/* Find */
/* Find */
item
=
new
wxMenuItem
(
editMenu
,
ID_FIND_ITEMS
,
_
(
"&Find
\t
Ctrl+F"
),
text
=
AddHotkeyName
(
_
(
"&Find"
),
s_Schematic_Hokeys_Descr
,
HK_FIND_ITEM
);
item
=
new
wxMenuItem
(
editMenu
,
ID_FIND_ITEMS
,
text
,
_
(
"Find components and texts"
),
wxITEM_NORMAL
);
_
(
"Find components and texts"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
find_xpm
);
item
->
SetBitmap
(
find_xpm
);
editMenu
->
Append
(
item
);
editMenu
->
Append
(
item
);
...
@@ -229,12 +230,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -229,12 +230,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
viewMenu
->
Append
(
item
);
viewMenu
->
Append
(
item
);
/* Fit on screen */
/* Fit on screen */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Schematic_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
);
#else
text
=
_
(
"Fit on Screen
\t
Ctrl+0"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
_
(
"Fit the schematic sheet on the screen"
),
_
(
"Fit the schematic sheet on the screen"
),
...
@@ -245,12 +242,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -245,12 +242,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
viewMenu
->
AppendSeparator
();
viewMenu
->
AppendSeparator
();
/* Redraw view */
/* Redraw view */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Schematic_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
);
#else
text
=
_
(
"Redraw
\t
Ctrl+R"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
_
(
"Redraw the schematic view"
),
_
(
"Redraw the schematic view"
),
...
...
eeschema/tool_lib.cpp
View file @
1ee86d4a
...
@@ -133,11 +133,11 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
...
@@ -133,11 +133,11 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Undo last command"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Undo last command"
),
s_Schematic_Hokeys_Descr
,
HK_UNDO
);
HK_UNDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
wxBitmap
(
undo_xpm
),
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
wxBitmap
(
undo_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Redo the last command"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redo the last command"
),
s_Schematic_Hokeys_Descr
,
HK_REDO
);
HK_REDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_REDO
,
wxEmptyString
,
wxBitmap
(
redo_xpm
),
m_HToolBar
->
AddTool
(
wxID_REDO
,
wxEmptyString
,
wxBitmap
(
redo_xpm
),
msg
);
msg
);
...
@@ -156,20 +156,20 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
...
@@ -156,20 +156,20 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
_
(
"Test for duplicate pins and off grid pins"
)
);
_
(
"Test for duplicate pins and off grid pins"
)
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_IN
);
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_OUT
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Libedit_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_AUTO
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
eeschema/tool_sch.cpp
View file @
1ee86d4a
...
@@ -66,12 +66,12 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
...
@@ -66,12 +66,12 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Undo last edition"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Undo last edition"
),
s_Schematic_Hokeys_Descr
,
HK_UNDO
);
HK_UNDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
wxBitmap
(
undo_xpm
),
msg
);
wxBitmap
(
undo_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redo the last undo command"
),
msg
=
AddHotkeyName
(
_
(
"Redo the last undo command"
),
s_Schematic_Hokeys_Descr
,
HK_REDO
);
s_Schematic_Hokeys_Descr
,
HK_REDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_REDO
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
wxID_REDO
,
wxEmptyString
,
wxBitmap
(
redo_xpm
),
msg
);
wxBitmap
(
redo_xpm
),
msg
);
...
@@ -87,28 +87,30 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
...
@@ -87,28 +87,30 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
_
(
"Run pcbnew"
)
);
_
(
"Run pcbnew"
)
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_IN
);
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Schematic_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
msg
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Find components and texts"
),
s_Schematic_Hokeys_Descr
,
HK_FIND_ITEM
,
false
);
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
_
(
"Find components and texts"
)
);
msg
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddTool
(
ID_GET_NETLIST
,
wxEmptyString
,
wxBitmap
(
netlist_xpm
),
m_HToolBar
->
AddTool
(
ID_GET_NETLIST
,
wxEmptyString
,
wxBitmap
(
netlist_xpm
),
...
...
eeschema/tool_viewlib.cpp
View file @
1ee86d4a
...
@@ -48,22 +48,22 @@ void WinEDA_ViewlibFrame::ReCreateHToolbar()
...
@@ -48,22 +48,22 @@ void WinEDA_ViewlibFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Viewlib_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_IN
);
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Viewlib_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Viewlib_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Viewlib_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
include/hotkeys_basic.h
View file @
1ee86d4a
...
@@ -64,12 +64,51 @@ extern int g_ConfigFileLocationChoice;
...
@@ -64,12 +64,51 @@ extern int g_ConfigFileLocationChoice;
wxString
ReturnHotkeyConfigFilePath
(
int
choice
);
wxString
ReturnHotkeyConfigFilePath
(
int
choice
);
void
AddHotkeyConfigMenu
(
wxMenu
*
menu
);
void
AddHotkeyConfigMenu
(
wxMenu
*
menu
);
void
HandleHotkeyConfigMenuSelection
(
WinEDA_DrawFrame
*
frame
,
int
id
);
void
HandleHotkeyConfigMenuSelection
(
WinEDA_DrawFrame
*
frame
,
int
id
);
wxString
ReturnKeyNameFromKeyCode
(
int
keycode
);
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
List
,
int
CommandId
);
/** function ReturnKeyNameFromKeyCode
wxString
AddHotkeyName
(
const
wxString
&
text
,
Ki_HotkeyInfo
**
List
,
int
CommandId
);
* return the key name from the key code
wxString
AddHotkeyName
(
const
wxString
&
text
,
* Only some wxWidgets key values are handled for function key ( see
struct
Ki_HotkeyInfoSectionDescriptor
*
DescrList
,
* s_Hotkey_Name_List[] )
int
CommandId
);
* @param aKeycode = key code (ascii value, or wxWidgets value for function keys)
* @return the key name in a wxString
*/
wxString
ReturnKeyNameFromKeyCode
(
int
aKeycode
);
/** function ReturnKeyNameFromCommandId
* return the key name from the Command id value ( m_Idcommand member value)
* @param aList = pointer to a Ki_HotkeyInfo list of commands
* @param aCommandId = Command Id value
* @return the key name in a wxString
*/
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
aList
,
int
aCommandId
);
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* @param aText = a wxString. returns aText + key name
* @param aList = pointer to a Ki_HotkeyInfo list of commands
* @param aCommandId = Command Id value
* @param aIsShortCut = true to add <tab><keyname> (active shortcuts in menus)
* = false to add <spaces><(keyname)>
* @return a wxString (aTest + key name) if key found or aText without modification
*/
wxString
AddHotkeyName
(
const
wxString
&
aText
,
Ki_HotkeyInfo
**
aList
,
int
aCommandId
,
bool
aIsShortCut
=
true
);
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* @param aText = a wxString. returns aText + key name
* @param aList = pointer to a Ki_HotkeyInfoSectionDescriptor DescrList of commands
* @param aCommandId = Command Id value
* @param aIsShortCut = true to add <tab><keyname> (active shortcuts in menus)
* = false to add <spaces><(keyname)>
* @return a wxString (aTest + key name) if key found or aText without modification
*/
wxString
AddHotkeyName
(
const
wxString
&
aText
,
struct
Ki_HotkeyInfoSectionDescriptor
*
aDescrList
,
int
aCommandId
,
bool
aIsShortCut
=
true
);
void
DisplayHotkeyList
(
WinEDA_DrawFrame
*
frame
,
void
DisplayHotkeyList
(
WinEDA_DrawFrame
*
frame
,
struct
Ki_HotkeyInfoSectionDescriptor
*
List
);
struct
Ki_HotkeyInfoSectionDescriptor
*
List
);
Ki_HotkeyInfo
*
GetDescriptorFromHotkey
(
int
key
,
Ki_HotkeyInfo
**
List
);
Ki_HotkeyInfo
*
GetDescriptorFromHotkey
(
int
key
,
Ki_HotkeyInfo
**
List
);
...
...
internat/fr/kicad.mo
View file @
1ee86d4a
No preview for this file type
internat/fr/kicad.po
View file @
1ee86d4a
...
@@ -2,8 +2,8 @@ msgid ""
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: kicad\n"
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-02-1
5 08:46
+0100\n"
"POT-Creation-Date: 2010-02-1
6 11:02
+0100\n"
"PO-Revision-Date: 2010-02-1
5 09:19
+0100\n"
"PO-Revision-Date: 2010-02-1
6 11:04
+0100\n"
"Last-Translator: \n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.0\n"
...
@@ -744,12 +744,12 @@ msgstr "X Pos"
...
@@ -744,12 +744,12 @@ msgstr "X Pos"
msgid "Y pos"
msgid "Y pos"
msgstr "Y pos"
msgstr "Y pos"
#: pcbnew/hotkeys.cpp:
595
#: pcbnew/hotkeys.cpp:
607
#, c-format
#, c-format
msgid "Footprint %s found, but locked"
msgid "Footprint %s found, but locked"
msgstr "Module %s trouvé, mais verrouillé"
msgstr "Module %s trouvé, mais verrouillé"
#: pcbnew/hotkeys.cpp:
789
#: pcbnew/hotkeys.cpp:
801
msgid "Delete module?"
msgid "Delete module?"
msgstr "Effacer Module?"
msgstr "Effacer Module?"
...
@@ -5942,8 +5942,8 @@ msgid "Supplier and ref"
...
@@ -5942,8 +5942,8 @@ msgid "Supplier and ref"
msgstr "Fournisseur et réf."
msgstr "Fournisseur et réf."
#: pcbnew/menubar_pcbframe.cpp:39
#: pcbnew/menubar_pcbframe.cpp:39
msgid "&New
\tCtrl+N
"
msgid "&New"
msgstr "&Nouveau
\tCtrl+N
"
msgstr "&Nouveau"
#: pcbnew/menubar_pcbframe.cpp:40
#: pcbnew/menubar_pcbframe.cpp:40
msgid "Clear current board and initialize a new one"
msgid "Clear current board and initialize a new one"
...
@@ -5982,8 +5982,8 @@ msgid "Save current board"
...
@@ -5982,8 +5982,8 @@ msgid "Save current board"
msgstr "Sauver le C.I. actuel"
msgstr "Sauver le C.I. actuel"
#: pcbnew/menubar_pcbframe.cpp:76
#: pcbnew/menubar_pcbframe.cpp:76
msgid "Save as...
\tShift+Ctrl+S
"
msgid "Save as..."
msgstr "Sauver sous...
\tCtrl S
"
msgstr "Sauver sous..."
#: pcbnew/menubar_pcbframe.cpp:77
#: pcbnew/menubar_pcbframe.cpp:77
msgid "Save the current board as.."
msgid "Save the current board as.."
...
@@ -6094,8 +6094,8 @@ msgid "Export board"
...
@@ -6094,8 +6094,8 @@ msgid "Export board"
msgstr "Exporter le C.I."
msgstr "Exporter le C.I."
#: pcbnew/menubar_pcbframe.cpp:189
#: pcbnew/menubar_pcbframe.cpp:189
msgid "&Print
\tCtrl+P
"
msgid "&Print"
msgstr "
Imprime&r\tCtrl+O
"
msgstr "
&Imprimer
"
#: pcbnew/menubar_pcbframe.cpp:190
#: pcbnew/menubar_pcbframe.cpp:190
msgid "Print pcb board"
msgid "Print pcb board"
...
@@ -6149,230 +6149,209 @@ msgstr "&Quitter"
...
@@ -6149,230 +6149,209 @@ msgstr "&Quitter"
msgid "Quit PCBNew"
msgid "Quit PCBNew"
msgstr "Quitter PCBnew"
msgstr "Quitter PCBnew"
#: pcbnew/menubar_pcbframe.cpp:24
4
#: pcbnew/menubar_pcbframe.cpp:24
3
msgid "Undo"
msgid "Undo"
msgstr "Undo"
msgstr "Undo"
#: pcbnew/menubar_pcbframe.cpp:246
#: pcbnew/menubar_pcbframe.cpp:250
#, fuzzy
msgid "Undo\tCtrl+Z"
msgstr "&Ouvrir\tCtrl+O"
#: pcbnew/menubar_pcbframe.cpp:255
msgid "Redo"
msgid "Redo"
msgstr "Redo"
msgstr "Redo"
#: pcbnew/menubar_pcbframe.cpp:257
#: pcbnew/menubar_pcbframe.cpp:260
msgid "Redo\tShift+Ctrl+Z"
msgstr ""
#: pcbnew/menubar_pcbframe.cpp:269
msgid "&Find"
msgid "&Find"
msgstr "&Chercher"
msgstr "&Chercher"
#: pcbnew/menubar_pcbframe.cpp:271
#: pcbnew/menubar_pcbframe.cpp:262
msgid "Find\tCtrl+F"
msgstr "Chercher\tCtrl+F"
#: pcbnew/menubar_pcbframe.cpp:275
msgid "Find components and text in current loaded board"
msgid "Find components and text in current loaded board"
msgstr "Recherche de composants et textes sur le circuit"
msgstr "Recherche de composants et textes sur le circuit"
#: pcbnew/menubar_pcbframe.cpp:2
84
#: pcbnew/menubar_pcbframe.cpp:2
71
msgid "Global &Deletions"
msgid "Global &Deletions"
msgstr "Effacements &Généraux"
msgstr "Effacements &Généraux"
#: pcbnew/menubar_pcbframe.cpp:2
85
#: pcbnew/menubar_pcbframe.cpp:2
72
msgid "Delete tracks, modules, texts... on board"
msgid "Delete tracks, modules, texts... on board"
msgstr "Effacer pistes, modules, textes... sur le C.I."
msgstr "Effacer pistes, modules, textes... sur le C.I."
#: pcbnew/menubar_pcbframe.cpp:2
91
#: pcbnew/menubar_pcbframe.cpp:2
78
msgid "&Cleanup Tracks and Vias"
msgid "&Cleanup Tracks and Vias"
msgstr "&Nettoyer Pistes et Vias"
msgstr "&Nettoyer Pistes et Vias"
#: pcbnew/menubar_pcbframe.cpp:2
92
#: pcbnew/menubar_pcbframe.cpp:2
79
msgid "Clean stubs, vias, delete break points, or connect dangling tracks to pads and vias"
msgid "Clean stubs, vias, delete break points, or connect dangling tracks to pads and vias"
msgstr "Nettoyer bouts de pistes, vias, points inutiles, ou connecter extrémités de pistes mal connectées au centre de pads ou vias"
msgstr "Nettoyer bouts de pistes, vias, points inutiles, ou connecter extrémités de pistes mal connectées au centre de pads ou vias"
#: pcbnew/menubar_pcbframe.cpp:2
98
#: pcbnew/menubar_pcbframe.cpp:2
85
msgid "&Swap Layers"
msgid "&Swap Layers"
msgstr "&Permutte Couches"
msgstr "&Permutte Couches"
#: pcbnew/menubar_pcbframe.cpp:2
99
#: pcbnew/menubar_pcbframe.cpp:2
86
msgid "Swap tracks on copper layers or drawings on others layers"
msgid "Swap tracks on copper layers or drawings on others layers"
msgstr "Permutation de couches"
msgstr "Permutation de couches"
#: pcbnew/menubar_pcbframe.cpp:3
21
#: pcbnew/menubar_pcbframe.cpp:3
08
#: pcbnew/menubar_pcbframe.cpp:3
22
#: pcbnew/menubar_pcbframe.cpp:3
09
msgid "Zoom In"
msgid "Zoom In"
msgstr "Zoom +"
msgstr "Zoom +"
#: pcbnew/menubar_pcbframe.cpp:3
29
#: pcbnew/menubar_pcbframe.cpp:3
16
msgid "Zoom Out"
msgid "Zoom Out"
msgstr "Zoom -"
msgstr "Zoom -"
#: pcbnew/menubar_pcbframe.cpp:3
36
#: pcbnew/menubar_pcbframe.cpp:3
22
msgid "Fit on Screen"
msgid "Fit on Screen"
msgstr "Ajuster à l'Ecran "
msgstr "Ajuster à l'Ecran "
#: pcbnew/menubar_pcbframe.cpp:339
#: pcbnew/menubar_pcbframe.cpp:326
msgid "Fit on Screen\tCtrl+0"
msgstr ""
#: pcbnew/menubar_pcbframe.cpp:343
msgid "Zoom to fit the board on the screen"
msgid "Zoom to fit the board on the screen"
msgstr "Zoom pour ajuster le circuit impriméà l'écran"
msgstr "Zoom pour ajuster le circuit impriméà l'écran"
#: pcbnew/menubar_pcbframe.cpp:3
52
#: pcbnew/menubar_pcbframe.cpp:3
34
msgid "Redraw"
msgid "Redraw"
msgstr "Redessin de l'écran"
msgstr "Redessin de l'écran"
#: pcbnew/menubar_pcbframe.cpp:355
#: pcbnew/menubar_pcbframe.cpp:338
msgid "Redraw\tCtrl+R"
msgstr "Redessiner\tCtrl+R"
#: pcbnew/menubar_pcbframe.cpp:359
msgid "Redraw the screen of the board"
msgid "Redraw the screen of the board"
msgstr "Redessiner l'écran du circuit imprimé"
msgstr "Redessiner l'écran du circuit imprimé"
#: pcbnew/menubar_pcbframe.cpp:3
68
#: pcbnew/menubar_pcbframe.cpp:3
47
msgid "&List Nets"
msgid "&List Nets"
msgstr "Liste Equipots"
msgstr "Liste Equipots"
#: pcbnew/menubar_pcbframe.cpp:3
69
#: pcbnew/menubar_pcbframe.cpp:3
48
msgid "View a list of nets with names and id's"
msgid "View a list of nets with names and id's"
msgstr "Lister les équipotentielles (noms et numéros d'identification)"
msgstr "Lister les équipotentielles (noms et numéros d'identification)"
#: pcbnew/menubar_pcbframe.cpp:3
88
#: pcbnew/menubar_pcbframe.cpp:3
67
msgid "&Library"
msgid "&Library"
msgstr "&Librairie"
msgstr "&Librairie"
#: pcbnew/menubar_pcbframe.cpp:3
89
#: pcbnew/menubar_pcbframe.cpp:3
68
msgid "Setting libraries, directories and others..."
msgid "Setting libraries, directories and others..."
msgstr "Sélectionner les librairies, répertoires et autres"
msgstr "Sélectionner les librairies, répertoires et autres"
#: pcbnew/menubar_pcbframe.cpp:3
97
#: pcbnew/menubar_pcbframe.cpp:3
76
#: pcbnew/dialog_general_options.cpp:251
#: pcbnew/dialog_general_options.cpp:251
msgid "Hide &Layers Manager"
msgid "Hide &Layers Manager"
msgstr "Cacher le &Gestionnaire de Couches"
msgstr "Cacher le &Gestionnaire de Couches"
#: pcbnew/menubar_pcbframe.cpp:
403
#: pcbnew/menubar_pcbframe.cpp:
382
msgid "&General"
msgid "&General"
msgstr "&Général "
msgstr "&Général "
#: pcbnew/menubar_pcbframe.cpp:
404
#: pcbnew/menubar_pcbframe.cpp:
383
msgid "Select general options for PCBnew"
msgid "Select general options for PCBnew"
msgstr " Sélection options générales pour PCBNEW"
msgstr " Sélection options générales pour PCBNEW"
#: pcbnew/menubar_pcbframe.cpp:
410
#: pcbnew/menubar_pcbframe.cpp:
389
msgid "&Display"
msgid "&Display"
msgstr "&Affichage"
msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:
411
#: pcbnew/menubar_pcbframe.cpp:
390
msgid "Select how items (pads, tracks texts ... ) are displayed"
msgid "Select how items (pads, tracks texts ... ) are displayed"
msgstr "Sélectionner comment les éléments (pads, pistes, textes ...) sont affichés"
msgstr "Sélectionner comment les éléments (pads, pistes, textes ...) sont affichés"
#: pcbnew/menubar_pcbframe.cpp:
420
#: pcbnew/menubar_pcbframe.cpp:
399
msgid "Adjust user grid dimensions"
msgid "Adjust user grid dimensions"
msgstr "Ajuster taille grille utilisateur"
msgstr "Ajuster taille grille utilisateur"
#: pcbnew/menubar_pcbframe.cpp:4
26
#: pcbnew/menubar_pcbframe.cpp:4
05
msgid "Texts and Drawings"
msgid "Texts and Drawings"
msgstr "Textes et Tracés"
msgstr "Textes et Tracés"
#: pcbnew/menubar_pcbframe.cpp:4
27
#: pcbnew/menubar_pcbframe.cpp:4
06
msgid "Adjust dimensions for texts and drawings"
msgid "Adjust dimensions for texts and drawings"
msgstr "Ajuster dimensions pour textes et graphiques"
msgstr "Ajuster dimensions pour textes et graphiques"
#: pcbnew/menubar_pcbframe.cpp:4
33
#: pcbnew/menubar_pcbframe.cpp:4
12
msgid "Adjust default pad characteristics"
msgid "Adjust default pad characteristics"
msgstr "Ajuster les caractéristiques par défaut des pads"
msgstr "Ajuster les caractéristiques par défaut des pads"
#: pcbnew/menubar_pcbframe.cpp:4
39
#: pcbnew/menubar_pcbframe.cpp:4
18
msgid "Pads Mask Clearance"
msgid "Pads Mask Clearance"
msgstr "Marge Masque des Pads"
msgstr "Marge Masque des Pads"
#: pcbnew/menubar_pcbframe.cpp:4
40
#: pcbnew/menubar_pcbframe.cpp:4
19
msgid "Adjust the global clearance between pads and the solder resist mask"
msgid "Adjust the global clearance between pads and the solder resist mask"
msgstr "Ajuster la marge globale entre pads et le masque de vernis épargne"
msgstr "Ajuster la marge globale entre pads et le masque de vernis épargne"
#: pcbnew/menubar_pcbframe.cpp:4
47
#: pcbnew/menubar_pcbframe.cpp:4
26
msgid "&Save"
msgid "&Save"
msgstr "&Sauver"
msgstr "&Sauver"
#: pcbnew/menubar_pcbframe.cpp:4
48
#: pcbnew/menubar_pcbframe.cpp:4
27
msgid "Save dimension preferences"
msgid "Save dimension preferences"
msgstr "Sauver les préférences de dimension"
msgstr "Sauver les préférences de dimension"
#: pcbnew/menubar_pcbframe.cpp:4
54
#: pcbnew/menubar_pcbframe.cpp:4
33
msgid "Di&mensions"
msgid "Di&mensions"
msgstr "Di&mensions"
msgstr "Di&mensions"
#: pcbnew/menubar_pcbframe.cpp:4
55
#: pcbnew/menubar_pcbframe.cpp:4
34
msgid "Global dimensions preferences"
msgid "Global dimensions preferences"
msgstr "Préférences générales de dimensions"
msgstr "Préférences générales de dimensions"
#: pcbnew/menubar_pcbframe.cpp:4
68
#: pcbnew/menubar_pcbframe.cpp:4
47
msgid "&Save Preferences"
msgid "&Save Preferences"
msgstr "&Sauver Préférences"
msgstr "&Sauver Préférences"
#: pcbnew/menubar_pcbframe.cpp:4
69
#: pcbnew/menubar_pcbframe.cpp:4
48
msgid "Save application preferences"
msgid "Save application preferences"
msgstr "Sauver les préférences de l'application"
msgstr "Sauver les préférences de l'application"
#: pcbnew/menubar_pcbframe.cpp:4
74
#: pcbnew/menubar_pcbframe.cpp:4
53
msgid "&Read Preferences"
msgid "&Read Preferences"
msgstr "&Lire Préférences"
msgstr "&Lire Préférences"
#: pcbnew/menubar_pcbframe.cpp:4
75
#: pcbnew/menubar_pcbframe.cpp:4
54
msgid "Read application preferences"
msgid "Read application preferences"
msgstr "Lire les préférences de l'application"
msgstr "Lire les préférences de l'application"
#: pcbnew/menubar_pcbframe.cpp:4
87
#: pcbnew/menubar_pcbframe.cpp:4
66
msgid "Design Rules"
msgid "Design Rules"
msgstr "Règles de Conception"
msgstr "Règles de Conception"
#: pcbnew/menubar_pcbframe.cpp:4
88
#: pcbnew/menubar_pcbframe.cpp:4
67
msgid "Open the design rules editor"
msgid "Open the design rules editor"
msgstr "Ouvrir la fenêtre de dialogue de l'éditeur de règles de conception"
msgstr "Ouvrir la fenêtre de dialogue de l'éditeur de règles de conception"
#: pcbnew/menubar_pcbframe.cpp:4
93
#: pcbnew/menubar_pcbframe.cpp:4
72
msgid "&Layers Setup"
msgid "&Layers Setup"
msgstr "&Options Couches"
msgstr "&Options Couches"
#: pcbnew/menubar_pcbframe.cpp:4
94
#: pcbnew/menubar_pcbframe.cpp:4
73
msgid "Enable and set layer properties"
msgid "Enable and set layer properties"
msgstr "Activer les couches et ajuster leur propriétés"
msgstr "Activer les couches et ajuster leur propriétés"
#: pcbnew/menubar_pcbframe.cpp:
504
#: pcbnew/menubar_pcbframe.cpp:
483
msgid "Open the PCBnew manual"
msgid "Open the PCBnew manual"
msgstr "Ouvrir la documentation de PCPnew"
msgstr "Ouvrir la documentation de PCPnew"
#: pcbnew/menubar_pcbframe.cpp:
512
#: pcbnew/menubar_pcbframe.cpp:
491
msgid "&About"
msgid "&About"
msgstr "&Au Sujet de"
msgstr "&Au Sujet de"
#: pcbnew/menubar_pcbframe.cpp:
513
#: pcbnew/menubar_pcbframe.cpp:
492
msgid "About PCBnew printed circuit board designer"
msgid "About PCBnew printed circuit board designer"
msgstr "Au Sujet de PCBnew outil de conception de C.I."
msgstr "Au Sujet de PCBnew outil de conception de C.I."
#: pcbnew/menubar_pcbframe.cpp:5
22
#: pcbnew/menubar_pcbframe.cpp:5
01
msgid "&File"
msgid "&File"
msgstr "&Fichiers"
msgstr "&Fichiers"
#: pcbnew/menubar_pcbframe.cpp:5
23
#: pcbnew/menubar_pcbframe.cpp:5
02
msgid "&Edit"
msgid "&Edit"
msgstr "&Editer"
msgstr "&Editer"
#: pcbnew/menubar_pcbframe.cpp:5
24
#: pcbnew/menubar_pcbframe.cpp:5
03
msgid "&View"
msgid "&View"
msgstr "&Affichage"
msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:5
25
#: pcbnew/menubar_pcbframe.cpp:5
04
msgid "&Preferences"
msgid "&Preferences"
msgstr "&Préférences"
msgstr "&Préférences"
#: pcbnew/menubar_pcbframe.cpp:5
26
#: pcbnew/menubar_pcbframe.cpp:5
05
msgid "&Design Rules"
msgid "&Design Rules"
msgstr "&Règles de Conception"
msgstr "&Règles de Conception"
...
@@ -8249,11 +8228,11 @@ msgstr "&Fermer"
...
@@ -8249,11 +8228,11 @@ msgstr "&Fermer"
msgid "&Accept Offset"
msgid "&Accept Offset"
msgstr "&Accepter Offset"
msgstr "&Accepter Offset"
#: eeschema/hotkeys.cpp:3
4
4
#: eeschema/hotkeys.cpp:3
6
4
msgid "Add Component"
msgid "Add Component"
msgstr "Ajout Composant"
msgstr "Ajout Composant"
#: eeschema/hotkeys.cpp:3
6
9
#: eeschema/hotkeys.cpp:3
8
9
msgid "Add Wire"
msgid "Add Wire"
msgstr "Ajouter Fils"
msgstr "Ajouter Fils"
...
@@ -8410,12 +8389,12 @@ msgid "Place a bus"
...
@@ -8410,12 +8389,12 @@ msgid "Place a bus"
msgstr "Placer un bus"
msgstr "Placer un bus"
#: eeschema/tool_sch.cpp:175
#: eeschema/tool_sch.cpp:175
#: eeschema/menubar.cpp:2
96
#: eeschema/menubar.cpp:2
89
msgid "Place a wire to bus entry"
msgid "Place a wire to bus entry"
msgstr "Placer une Entrée de Bus (type fil vers bus)"
msgstr "Placer une Entrée de Bus (type fil vers bus)"
#: eeschema/tool_sch.cpp:179
#: eeschema/tool_sch.cpp:179
#: eeschema/menubar.cpp:
303
#: eeschema/menubar.cpp:
296
msgid "Place a bus to bus entry"
msgid "Place a bus to bus entry"
msgstr "Placer une Entrée de Bus (type bus vers bus)"
msgstr "Placer une Entrée de Bus (type bus vers bus)"
...
@@ -8424,7 +8403,7 @@ msgid "Place no connect flag"
...
@@ -8424,7 +8403,7 @@ msgid "Place no connect flag"
msgstr "Placer symbole de non connexion"
msgstr "Placer symbole de non connexion"
#: eeschema/tool_sch.cpp:188
#: eeschema/tool_sch.cpp:188
#: eeschema/menubar.cpp:3
15
#: eeschema/menubar.cpp:3
08
msgid "Place net name"
msgid "Place net name"
msgstr "Place nom de net"
msgstr "Place nom de net"
...
@@ -8441,7 +8420,7 @@ msgid "Place a junction"
...
@@ -8441,7 +8420,7 @@ msgid "Place a junction"
msgstr "Placer une jonction"
msgstr "Placer une jonction"
#: eeschema/tool_sch.cpp:202
#: eeschema/tool_sch.cpp:202
#: eeschema/menubar.cpp:33
8
#: eeschema/menubar.cpp:33
1
msgid "Place a hierarchical label. This label will be seen as a pin sheet in the sheet symbol"
msgid "Place a hierarchical label. This label will be seen as a pin sheet in the sheet symbol"
msgstr "Placer un label hiérachique. Ce label sera vu comme une pin dans la feuille mère symbole"
msgstr "Placer un label hiérachique. Ce label sera vu comme une pin dans la feuille mère symbole"
...
@@ -8855,6 +8834,10 @@ msgstr "Miroir Bloc ||"
...
@@ -8855,6 +8834,10 @@ msgstr "Miroir Bloc ||"
msgid "Copy to Clipboard"
msgid "Copy to Clipboard"
msgstr "Copie dans Presse papier"
msgstr "Copie dans Presse papier"
#: eeschema/menubar.cpp:44
msgid "&New\tCtrl+N"
msgstr "&Nouveau\tCtrl+N"
#: eeschema/menubar.cpp:52
#: eeschema/menubar.cpp:52
msgid "Open an existing schematic project"
msgid "Open an existing schematic project"
msgstr "Ouvrir un projet schématique existant"
msgstr "Ouvrir un projet schématique existant"
...
@@ -8880,17 +8863,16 @@ msgid "Save only current schematic sheet"
...
@@ -8880,17 +8863,16 @@ msgid "Save only current schematic sheet"
msgstr "Sauver seulement la feuille active"
msgstr "Sauver seulement la feuille active"
#: eeschema/menubar.cpp:82
#: eeschema/menubar.cpp:82
msgid "Save Current Sheet &as
\tShift+Ctrl+S
"
msgid "Save Current Sheet &as"
msgstr "Sauver
Feuille Courante &sous\tShift+Ctrl+S
"
msgstr "Sauver
la Feuille &Courante sous
"
#: eeschema/menubar.cpp:83
#: eeschema/menubar.cpp:83
msgid "Save current schematic sheet as..."
msgid "Save current schematic sheet as..."
msgstr "Sauver la feuille active sous ..."
msgstr "Sauver la feuille active sous ..."
#: eeschema/menubar.cpp:91
#: eeschema/menubar.cpp:91
#, fuzzy
msgid "P&rint"
msgid "P&rint\tCtrl+P"
msgstr "Imp&rimer"
msgstr "&Ouvrir\tCtrl+O"
#: eeschema/menubar.cpp:99
#: eeschema/menubar.cpp:99
msgid "Plot PostScript"
msgid "Plot PostScript"
...
@@ -8940,175 +8922,171 @@ msgstr "Tracer les feuilles schématiques en format HPGL, POSTSCRIPT ou SVG"
...
@@ -8940,175 +8922,171 @@ msgstr "Tracer les feuilles schématiques en format HPGL, POSTSCRIPT ou SVG"
msgid "Quit EESchema"
msgid "Quit EESchema"
msgstr "Quitter EESchema"
msgstr "Quitter EESchema"
#: eeschema/menubar.cpp:184
#: eeschema/menubar.cpp:194
msgid "&Find\tCtrl+F"
msgstr "&Chercher\tCtrl+F"
#: eeschema/menubar.cpp:193
msgid "Backannotate"
msgid "Backannotate"
msgstr "Rétro Annotation"
msgstr "Rétro Annotation"
#: eeschema/menubar.cpp:19
4
#: eeschema/menubar.cpp:19
5
msgid "Back annotated footprint fields"
msgid "Back annotated footprint fields"
msgstr "Rétroannotation des champs modules"
msgstr "Rétroannotation des champs modules"
#: eeschema/menubar.cpp:2
40
#: eeschema/menubar.cpp:2
37
msgid "Fit the schematic sheet on the screen"
msgid "Fit the schematic sheet on the screen"
msgstr "Ajuster la feuille de schéma à l'écran"
msgstr "Ajuster la feuille de schéma à l'écran"
#: eeschema/menubar.cpp:2
56
#: eeschema/menubar.cpp:2
49
msgid "Redraw the schematic view"
msgid "Redraw the schematic view"
msgstr "Redessin de l'écran"
msgstr "Redessin de l'écran"
#: eeschema/menubar.cpp:2
70
#: eeschema/menubar.cpp:2
63
msgid "&Component"
msgid "&Component"
msgstr "&Composant"
msgstr "&Composant"
#: eeschema/menubar.cpp:2
71
#: eeschema/menubar.cpp:2
64
msgid "Place the component"
msgid "Place the component"
msgstr "Placer le Composant"
msgstr "Placer le Composant"
#: eeschema/menubar.cpp:2
76
#: eeschema/menubar.cpp:2
69
msgid "&Power port"
msgid "&Power port"
msgstr "Power Symbole"
msgstr "Power Symbole"
#: eeschema/menubar.cpp:27
7
#: eeschema/menubar.cpp:27
0
msgid "Place the power port"
msgid "Place the power port"
msgstr "Placer le Symbole Power"
msgstr "Placer le Symbole Power"
#: eeschema/menubar.cpp:2
82
#: eeschema/menubar.cpp:2
75
msgid "&Wire"
msgid "&Wire"
msgstr "&Fil"
msgstr "&Fil"
#: eeschema/menubar.cpp:2
83
#: eeschema/menubar.cpp:2
76
msgid "Place the wire"
msgid "Place the wire"
msgstr "Place fil"
msgstr "Place fil"
#: eeschema/menubar.cpp:28
8
#: eeschema/menubar.cpp:28
1
msgid "&Bus"
msgid "&Bus"
msgstr "&Bus"
msgstr "&Bus"
#: eeschema/menubar.cpp:28
9
#: eeschema/menubar.cpp:28
2
msgid "Place bus"
msgid "Place bus"
msgstr "Place bus"
msgstr "Place bus"
#: eeschema/menubar.cpp:2
95
#: eeschema/menubar.cpp:2
88
msgid "W&ire to bus entry"
msgid "W&ire to bus entry"
msgstr "Entrées de bus (type fil vers bus)"
msgstr "Entrées de bus (type fil vers bus)"
#: eeschema/menubar.cpp:
302
#: eeschema/menubar.cpp:
295
msgid "B&us to bus entry"
msgid "B&us to bus entry"
msgstr "Entrées de bus (type bus vers bus)"
msgstr "Entrées de bus (type bus vers bus)"
#: eeschema/menubar.cpp:30
8
#: eeschema/menubar.cpp:30
1
msgid "No connect flag"
msgid "No connect flag"
msgstr "Symbole de Non Connexion"
msgstr "Symbole de Non Connexion"
#: eeschema/menubar.cpp:30
9
#: eeschema/menubar.cpp:30
2
msgid "Place a no connect flag"
msgid "Place a no connect flag"
msgstr "Placer un Symbole de Non Connexion"
msgstr "Placer un Symbole de Non Connexion"
#: eeschema/menubar.cpp:3
14
#: eeschema/menubar.cpp:3
07
msgid "Net name"
msgid "Net name"
msgstr "Net Name"
msgstr "Net Name"
#: eeschema/menubar.cpp:3
20
#: eeschema/menubar.cpp:3
13
msgid "Global label"
msgid "Global label"
msgstr "Label Global"
msgstr "Label Global"
#: eeschema/menubar.cpp:3
21
#: eeschema/menubar.cpp:3
14
msgid "Place a global label. Warning: all global labels with the same name are connected in whole hierarchy"
msgid "Place a global label. Warning: all global labels with the same name are connected in whole hierarchy"
msgstr "Placer un label global. Attention: tous les labels globaux avec le même nom sont connectés dans toute la hiérarchie"
msgstr "Placer un label global. Attention: tous les labels globaux avec le même nom sont connectés dans toute la hiérarchie"
#: eeschema/menubar.cpp:32
7
#: eeschema/menubar.cpp:32
0
msgid "Junction"
msgid "Junction"
msgstr "Jonction"
msgstr "Jonction"
#: eeschema/menubar.cpp:32
8
#: eeschema/menubar.cpp:32
1
msgid "Place junction"
msgid "Place junction"
msgstr "Place jonction"
msgstr "Place jonction"
#: eeschema/menubar.cpp:33
7
#: eeschema/menubar.cpp:33
0
msgid "Hierarchical label"
msgid "Hierarchical label"
msgstr "Label Hiérarchique"
msgstr "Label Hiérarchique"
#: eeschema/menubar.cpp:3
45
#: eeschema/menubar.cpp:3
38
msgid "Hierarchical sheet"
msgid "Hierarchical sheet"
msgstr "Feuille Hiérrachique"
msgstr "Feuille Hiérrachique"
#: eeschema/menubar.cpp:3
46
#: eeschema/menubar.cpp:3
39
msgid "Create a hierarchical sheet"
msgid "Create a hierarchical sheet"
msgstr "Créer une Feuille Hiérachique"
msgstr "Créer une Feuille Hiérachique"
#: eeschema/menubar.cpp:3
52
#: eeschema/menubar.cpp:3
45
msgid "Import Hierarchical Label"
msgid "Import Hierarchical Label"
msgstr "Importer Label Hiérarchique"
msgstr "Importer Label Hiérarchique"
#: eeschema/menubar.cpp:3
53
#: eeschema/menubar.cpp:3
46
msgid "Place a pin sheet created by importing a hierarchical label from sheet"
msgid "Place a pin sheet created by importing a hierarchical label from sheet"
msgstr "Placer une pin hiérarchique créée par importation d'un label hiérarchique de la feuille"
msgstr "Placer une pin hiérarchique créée par importation d'un label hiérarchique de la feuille"
#: eeschema/menubar.cpp:3
60
#: eeschema/menubar.cpp:3
53
msgid "Add Hierarchical Pin to Sheet"
msgid "Add Hierarchical Pin to Sheet"
msgstr "Ajouter Pins de Hiérarchie dans feuille"
msgstr "Ajouter Pins de Hiérarchie dans feuille"
#: eeschema/menubar.cpp:3
61
#: eeschema/menubar.cpp:3
54
msgid "Place a hierarchical pin to sheet"
msgid "Place a hierarchical pin to sheet"
msgstr "Addition de pins de hiérarchie dans les feuilles symboles de hiérarchie"
msgstr "Addition de pins de hiérarchie dans les feuilles symboles de hiérarchie"
#: eeschema/menubar.cpp:3
71
#: eeschema/menubar.cpp:3
64
msgid "Graphic line or polygon"
msgid "Graphic line or polygon"
msgstr "Ligne ou polygone graphique"
msgstr "Ligne ou polygone graphique"
#: eeschema/menubar.cpp:3
72
#: eeschema/menubar.cpp:3
65
msgid "Place graphic lines or polygons"
msgid "Place graphic lines or polygons"
msgstr "Placer lignes ou polygones graphiques"
msgstr "Placer lignes ou polygones graphiques"
#: eeschema/menubar.cpp:37
9
#: eeschema/menubar.cpp:37
2
msgid "Graphic text"
msgid "Graphic text"
msgstr "Texte graphique"
msgstr "Texte graphique"
#: eeschema/menubar.cpp:3
80
#: eeschema/menubar.cpp:3
73
msgid "Place graphic text for comment"
msgid "Place graphic text for comment"
msgstr "Placer textes graphiques en commentaire."
msgstr "Placer textes graphiques en commentaire."
#: eeschema/menubar.cpp:3
94
#: eeschema/menubar.cpp:3
87
msgid "Library preferences"
msgid "Library preferences"
msgstr "Préférences pour Librairie"
msgstr "Préférences pour Librairie"
#: eeschema/menubar.cpp:39
9
#: eeschema/menubar.cpp:39
2
msgid "&Colors"
msgid "&Colors"
msgstr "&Couleurs"
msgstr "&Couleurs"
#: eeschema/menubar.cpp:
400
#: eeschema/menubar.cpp:
393
msgid "Color preferences"
msgid "Color preferences"
msgstr "Préférences de couleurs"
msgstr "Préférences de couleurs"
#: eeschema/menubar.cpp:
405
#: eeschema/menubar.cpp:
398
msgid "&Options"
msgid "&Options"
msgstr "&Options"
msgstr "&Options"
#: eeschema/menubar.cpp:
406
#: eeschema/menubar.cpp:
399
msgid "Eeschema general options and preferences"
msgid "Eeschema general options and preferences"
msgstr "Options et préférences générales de Eeschema"
msgstr "Options et préférences générales de Eeschema"
#: eeschema/menubar.cpp:4
20
#: eeschema/menubar.cpp:4
13
msgid "&Save preferences"
msgid "&Save preferences"
msgstr "&Sauver Préférences"
msgstr "&Sauver Préférences"
#: eeschema/menubar.cpp:4
26
#: eeschema/menubar.cpp:4
19
msgid "&Read preferences"
msgid "&Read preferences"
msgstr "&Lire Préférences"
msgstr "&Lire Préférences"
#: eeschema/menubar.cpp:43
8
#: eeschema/menubar.cpp:43
1
msgid "Open the eeschema manual"
msgid "Open the eeschema manual"
msgstr "Ouvrir la documentation de eeschema"
msgstr "Ouvrir la documentation de eeschema"
#: eeschema/menubar.cpp:4
46
#: eeschema/menubar.cpp:4
39
msgid "About eeschema schematic designer"
msgid "About eeschema schematic designer"
msgstr "Au sujet de Eeschema (outil de conception schématique)"
msgstr "Au sujet de Eeschema (outil de conception schématique)"
#: eeschema/menubar.cpp:45
9
#: eeschema/menubar.cpp:45
2
msgid "&Place"
msgid "&Place"
msgstr "&Placer"
msgstr "&Placer"
...
@@ -9869,11 +9847,11 @@ msgstr "Conflit en librairie <%s>"
...
@@ -9869,11 +9847,11 @@ msgstr "Conflit en librairie <%s>"
#: eeschema/class_library.cpp:274
#: eeschema/class_library.cpp:274
#, c-format
#, c-format
msgid "and appears in alias list of current component <%s>."
msgid "and appears in alias list of current component <%s>."
msgstr ""
msgstr "
et apparait sur la liste d'alias du composant courant <%s>.
"
#: eeschema/class_library.cpp:277
#: eeschema/class_library.cpp:277
msgid "All old aliases will be removed. Continue ?"
msgid "All old aliases will be removed. Continue ?"
msgstr ""
msgstr "
Tous les anciens alias vont être supprimés. Continuer ?
"
#: eeschema/class_library.cpp:531
#: eeschema/class_library.cpp:531
msgid "The component library file name is not set."
msgid "The component library file name is not set."
...
@@ -10350,67 +10328,67 @@ msgstr ""
...
@@ -10350,67 +10328,67 @@ msgstr ""
"(Comme sm* pour autoriser tous les noms d'empreintes commençant par sm)."
"(Comme sm* pour autoriser tous les noms d'empreintes commençant par sm)."
#: eeschema/dialog_edit_component_in_lib_base.cpp:228
#: eeschema/dialog_edit_component_in_lib_base.cpp:228
#: eeschema/edit_component_in_lib.cpp:4
7
6
#: eeschema/edit_component_in_lib.cpp:4
1
6
msgid "Footprint Filter"
msgid "Footprint Filter"
msgstr "Filtrage Modules"
msgstr "Filtrage Modules"
#: eeschema/edit_component_in_lib.cpp:
14
5
#: eeschema/edit_component_in_lib.cpp:
8
5
#, c-format
#, c-format
msgid "Alias <%s> not found for component <%s> in library <%s>."
msgid "Alias <%s> not found for component <%s> in library <%s>."
msgstr "Alias <%s> non trouvé pour le component <%s> en librairie <%s>."
msgstr "Alias <%s> non trouvé pour le component <%s> en librairie <%s>."
#: eeschema/edit_component_in_lib.cpp:
15
0
#: eeschema/edit_component_in_lib.cpp:
9
0
msgid "Component Library Error"
msgid "Component Library Error"
msgstr "Erreur en Librairie de Composanr"
msgstr "Erreur en Librairie de Composanr"
#: eeschema/edit_component_in_lib.cpp:2
6
6
#: eeschema/edit_component_in_lib.cpp:2
0
6
#: eeschema/edit_component_in_lib.cpp:
33
6
#: eeschema/edit_component_in_lib.cpp:
27
6
#, c-format
#, c-format
msgid "Alias <%s> cannot be removed while it is being edited!"
msgid "Alias <%s> cannot be removed while it is being edited!"
msgstr "L'alias <%s> ne peut être supprimé tant qu'il est en cours d'édition!"
msgstr "L'alias <%s> ne peut être supprimé tant qu'il est en cours d'édition!"
#: eeschema/edit_component_in_lib.cpp:2
7
5
#: eeschema/edit_component_in_lib.cpp:2
1
5
msgid "Remove all aliases from list?"
msgid "Remove all aliases from list?"
msgstr "Supprimer tous les alias de la liste?"
msgstr "Supprimer tous les alias de la liste?"
#: eeschema/edit_component_in_lib.cpp:
30
0
#: eeschema/edit_component_in_lib.cpp:
24
0
msgid "New alias:"
msgid "New alias:"
msgstr "Nouvel alias"
msgstr "Nouvel alias"
#: eeschema/edit_component_in_lib.cpp:
30
1
#: eeschema/edit_component_in_lib.cpp:
24
1
msgid "Component Alias"
msgid "Component Alias"
msgstr "Alias de Composant"
msgstr "Alias de Composant"
#: eeschema/edit_component_in_lib.cpp:
31
1
#: eeschema/edit_component_in_lib.cpp:
25
1
#, c-format
#, c-format
msgid "Alias or component name <%s> already exists in library <%s>."
msgid "Alias or component name <%s> already exists in library <%s>."
msgstr "Alias ou nom de composant <%s> déjà existant en librairie <%s>."
msgstr "Alias ou nom de composant <%s> déjà existant en librairie <%s>."
#: eeschema/edit_component_in_lib.cpp:3
6
5
#: eeschema/edit_component_in_lib.cpp:3
0
5
msgid "Delete extra parts from component?"
msgid "Delete extra parts from component?"
msgstr "Supprimer les parts supplémentaires du composant?"
msgstr "Supprimer les parts supplémentaires du composant?"
#: eeschema/edit_component_in_lib.cpp:3
8
6
#: eeschema/edit_component_in_lib.cpp:3
2
6
msgid "Add new pins for alternate body style ( DeMorgan ) to component?"
msgid "Add new pins for alternate body style ( DeMorgan ) to component?"
msgstr "Ajouter les nouvelles pins pour la forme alternative (DeMorgan) au composant?"
msgstr "Ajouter les nouvelles pins pour la forme alternative (DeMorgan) au composant?"
#: eeschema/edit_component_in_lib.cpp:3
9
3
#: eeschema/edit_component_in_lib.cpp:3
3
3
msgid "Delete alternate body style (DeMorgan) draw items from component?"
msgid "Delete alternate body style (DeMorgan) draw items from component?"
msgstr "Supprimer les éléments de la représentation alternative (DeMorgan) du composant?"
msgstr "Supprimer les éléments de la représentation alternative (DeMorgan) du composant?"
#: eeschema/edit_component_in_lib.cpp:
41
7
#: eeschema/edit_component_in_lib.cpp:
35
7
msgid "Doc Files"
msgid "Doc Files"
msgstr "Fichiers de Doc"
msgstr "Fichiers de Doc"
#: eeschema/edit_component_in_lib.cpp:
45
3
#: eeschema/edit_component_in_lib.cpp:
39
3
msgid "Ok to Delete FootprintFilter LIST"
msgid "Ok to Delete FootprintFilter LIST"
msgstr "Ok pour effacer la LISTE des filtres de modules"
msgstr "Ok pour effacer la LISTE des filtres de modules"
#: eeschema/edit_component_in_lib.cpp:4
7
6
#: eeschema/edit_component_in_lib.cpp:4
1
6
msgid "Add Footprint Filter"
msgid "Add Footprint Filter"
msgstr "Ajouter Filtre Modules"
msgstr "Ajouter Filtre Modules"
#: eeschema/edit_component_in_lib.cpp:4
8
9
#: eeschema/edit_component_in_lib.cpp:4
2
9
#, c-format
#, c-format
msgid "Foot print filter <%s> is already defined."
msgid "Foot print filter <%s> is already defined."
msgstr "Filtre de module <%s> déjà défini."
msgstr "Filtre de module <%s> déjà défini."
...
@@ -10489,15 +10467,15 @@ msgstr "&Nom de la feuille:"
...
@@ -10489,15 +10467,15 @@ msgstr "&Nom de la feuille:"
msgid "&Text size:"
msgid "&Text size:"
msgstr "&Taille du texte:"
msgstr "&Taille du texte:"
#: eeschema/dialog_edit_component_in_lib.cpp:5
1
#: eeschema/dialog_edit_component_in_lib.cpp:5
2
msgid "Library Component Properties"
msgid "Library Component Properties"
msgstr "Propriétés du Composant Librairie"
msgstr "Propriétés du Composant Librairie"
#: eeschema/dialog_edit_component_in_lib.cpp:5
5
#: eeschema/dialog_edit_component_in_lib.cpp:5
6
msgid "Properties for "
msgid "Properties for "
msgstr "Propriétés pour "
msgstr "Propriétés pour "
#: eeschema/dialog_edit_component_in_lib.cpp:
59
#: eeschema/dialog_edit_component_in_lib.cpp:
60
msgid " (alias of "
msgid " (alias of "
msgstr " (alias de "
msgstr " (alias de "
...
@@ -11986,10 +11964,6 @@ msgstr "Sauver Couches sous..."
...
@@ -11986,10 +11964,6 @@ msgstr "Sauver Couches sous..."
msgid "Save current layers as.."
msgid "Save current layers as.."
msgstr "Sauver couches courantes sous.."
msgstr "Sauver couches courantes sous.."
#: gerbview/tool_gerber.cpp:67
msgid "P&rint"
msgstr "Imp&rimer"
#: gerbview/tool_gerber.cpp:67
#: gerbview/tool_gerber.cpp:67
msgid "Print gerber"
msgid "Print gerber"
msgstr "Imprimer gerber"
msgstr "Imprimer gerber"
...
@@ -12184,7 +12158,7 @@ msgstr "DCodes"
...
@@ -12184,7 +12158,7 @@ msgstr "DCodes"
#: gerbview/class_gerbview_layer_widget.cpp:65
#: gerbview/class_gerbview_layer_widget.cpp:65
msgid "Show DCodes identification"
msgid "Show DCodes identification"
msgstr ""
msgstr "
Afficher numéros de D-Code
"
#: gerbview/class_gerbview_layer_widget.cpp:118
#: gerbview/class_gerbview_layer_widget.cpp:118
msgid "Show All Layers"
msgid "Show All Layers"
...
@@ -13054,6 +13028,27 @@ msgstr "Options d'Affichage"
...
@@ -13054,6 +13028,27 @@ msgstr "Options d'Affichage"
msgid "Page Settings"
msgid "Page Settings"
msgstr "Ajustage opt Page"
msgstr "Ajustage opt Page"
#~ msgid "Save as...\tShift+Ctrl+S"
#~ msgstr "Sauver sous...\tCtrl S"
#~ msgid "&Print\tCtrl+P"
#~ msgstr "Imprime&r\tCtrl+P"
#~ msgid "Save Current Sheet &as\tShift+Ctrl+S"
#~ msgstr "Sauver Feuille Courante &sous\tShift+Ctrl+S"
#, fuzzy
#~ msgid "P&rint\tCtrl+P"
#~ msgstr "&Ouvrir\tCtrl+O"
#~ msgid "&Find\tCtrl+F"
#~ msgstr "&Chercher\tCtrl+F"
#, fuzzy
#~ msgid "Undo\tCtrl+Z"
#~ msgstr "&Ouvrir\tCtrl+O"
#~ msgid "Find\tCtrl+F"
#~ msgstr "Chercher\tCtrl+F"
#~ msgid "Redraw\tCtrl+R"
#~ msgstr "Redessiner\tCtrl+R"
#, fuzzy
#, fuzzy
#~ msgid "Zoom In\tCtrl++"
#~ msgid "Zoom In\tCtrl++"
#~ msgstr "Zoom +"
#~ msgstr "Zoom +"
...
@@ -13249,10 +13244,6 @@ msgstr "Ajustage opt Page"
...
@@ -13249,10 +13244,6 @@ msgstr "Ajustage opt Page"
#~ msgstr "&Chercher"
#~ msgstr "&Chercher"
#~ msgid "&Tracks"
#~ msgid "&Tracks"
#~ msgstr "&Pistes"
#~ msgstr "&Pistes"
#~ msgid "&New"
#~ msgstr "&Nouveau"
#~ msgid "Save as..."
#~ msgstr "Sauver sous..."
#~ msgid "Show board in the 3D viewer"
#~ msgid "Show board in the 3D viewer"
#~ msgstr "Visualisation du circuit en 3D"
#~ msgstr "Visualisation du circuit en 3D"
#~ msgid "Show No Copper Layers"
#~ msgid "Show No Copper Layers"
...
...
pcbnew/hotkeys.cpp
View file @
1ee86d4a
...
@@ -87,9 +87,21 @@ static Ki_HotkeyInfo HkDelete( wxT( "Delete Track or Footprint" ), HK_DELETE,
...
@@ -87,9 +87,21 @@ static Ki_HotkeyInfo HkDelete( wxT( "Delete Track or Footprint" ), HK_DELETE,
static
Ki_HotkeyInfo
HkResetLocalCoord
(
wxT
(
"Reset local coord."
),
static
Ki_HotkeyInfo
HkResetLocalCoord
(
wxT
(
"Reset local coord."
),
HK_RESET_LOCAL_COORD
,
' '
);
HK_RESET_LOCAL_COORD
,
' '
);
/* Fit on Screen */
#if !defined( __WXMAC__ )
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Zoom Auto"
),
HK_ZOOM_AUTO
,
WXK_HOME
);
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Zoom Auto"
),
HK_ZOOM_AUTO
,
WXK_HOME
);
#else
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Zoom Auto"
),
HK_ZOOM_AUTO
,
GR_KB_CTRL
+
'0'
);
#endif
static
Ki_HotkeyInfo
HkZoomCenter
(
wxT
(
"Zoom Center"
),
HK_ZOOM_CENTER
,
WXK_F4
);
static
Ki_HotkeyInfo
HkZoomCenter
(
wxT
(
"Zoom Center"
),
HK_ZOOM_CENTER
,
WXK_F4
);
/* Refresh Screen */
#if !defined( __WXMAC__ )
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
WXK_F3
);
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
WXK_F3
);
#else
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
GR_KB_CTRL
+
'R'
);
#endif
/* Zoom In */
/* Zoom In */
#if !defined( __WXMAC__ )
#if !defined( __WXMAC__ )
...
...
pcbnew/menubar_pcbframe.cpp
View file @
1ee86d4a
...
@@ -36,7 +36,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -36,7 +36,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
wxMenu
*
filesMenu
=
new
wxMenu
;
wxMenu
*
filesMenu
=
new
wxMenu
;
/* New Board */
/* New Board */
item
=
new
wxMenuItem
(
filesMenu
,
ID_NEW_BOARD
,
_
(
"&New
\t
Ctrl+N
"
),
item
=
new
wxMenuItem
(
filesMenu
,
ID_NEW_BOARD
,
_
(
"&New"
),
_
(
"Clear current board and initialize a new one"
)
);
_
(
"Clear current board and initialize a new one"
)
);
item
->
SetBitmap
(
new_xpm
);
item
->
SetBitmap
(
new_xpm
);
filesMenu
->
Append
(
item
);
filesMenu
->
Append
(
item
);
...
@@ -73,7 +73,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -73,7 +73,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Save As */
/* Save As */
item
=
new
wxMenuItem
(
filesMenu
,
ID_SAVE_BOARD_AS
,
item
=
new
wxMenuItem
(
filesMenu
,
ID_SAVE_BOARD_AS
,
_
(
"Save as...
\t
Shift+Ctrl+S
"
),
_
(
"Save as..."
),
_
(
"Save the current board as.."
)
);
_
(
"Save the current board as.."
)
);
item
->
SetBitmap
(
save_as_xpm
);
item
->
SetBitmap
(
save_as_xpm
);
filesMenu
->
Append
(
item
);
filesMenu
->
Append
(
item
);
...
@@ -186,7 +186,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -186,7 +186,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
filesMenu
->
AppendSeparator
();
filesMenu
->
AppendSeparator
();
/* Print */
/* Print */
item
=
new
wxMenuItem
(
filesMenu
,
ID_GEN_PRINT
,
_
(
"&Print
\t
Ctrl+P
"
),
item
=
new
wxMenuItem
(
filesMenu
,
ID_GEN_PRINT
,
_
(
"&Print"
),
_
(
"Print pcb board"
)
);
_
(
"Print pcb board"
)
);
item
->
SetBitmap
(
print_button
);
item
->
SetBitmap
(
print_button
);
filesMenu
->
Append
(
item
);
filesMenu
->
Append
(
item
);
...
@@ -240,22 +240,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -240,22 +240,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
wxMenu
*
editMenu
=
new
wxMenu
;
wxMenu
*
editMenu
=
new
wxMenu
;
/* Undo */
/* Undo */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Undo"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_UNDO
);
text
=
AddHotkeyName
(
_
(
"Undo"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_UNDO
);
#else
text
=
_
(
"Undo
\t
Ctrl+Z"
);
#endif
item
=
new
wxMenuItem
(
editMenu
,
wxID_UNDO
,
text
,
item
=
new
wxMenuItem
(
editMenu
,
wxID_UNDO
,
text
,
_
(
"Undo last edition"
),
wxITEM_NORMAL
);
_
(
"Undo last edition"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
undo_xpm
);
item
->
SetBitmap
(
undo_xpm
);
editMenu
->
Append
(
item
);
editMenu
->
Append
(
item
);
/* Redo */
/* Redo */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Redo"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_REDO
);
text
=
AddHotkeyName
(
_
(
"Redo"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_REDO
);
#else
text
=
_
(
"Redo
\t
Shift+Ctrl+Z"
);
#endif
item
=
new
wxMenuItem
(
editMenu
,
wxID_REDO
,
text
,
item
=
new
wxMenuItem
(
editMenu
,
wxID_REDO
,
text
,
_
(
"Redo the last undo command"
),
wxITEM_NORMAL
);
_
(
"Redo the last undo command"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
redo_xpm
);
item
->
SetBitmap
(
redo_xpm
);
...
@@ -265,12 +257,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -265,12 +257,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
editMenu
->
AppendSeparator
();
editMenu
->
AppendSeparator
();
/* Find */
/* Find */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"&Find"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_FIND_ITEM
);
text
=
AddHotkeyName
(
_
(
"&Find"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_FIND_ITEM
);
#else
text
=
_
(
"Find
\t
Ctrl+F"
);
#endif
item
=
new
wxMenuItem
(
editMenu
,
ID_FIND_ITEMS
,
text
,
item
=
new
wxMenuItem
(
editMenu
,
ID_FIND_ITEMS
,
text
,
_
(
"Find components and text in current loaded board"
)
);
_
(
"Find components and text in current loaded board"
)
);
item
->
SetBitmap
(
find_xpm
);
item
->
SetBitmap
(
find_xpm
);
...
@@ -332,12 +319,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -332,12 +319,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
viewMenu
->
Append
(
item
);
viewMenu
->
Append
(
item
);
/* Fit on Screen */
/* Fit on Screen */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Pcbnew_Editor_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
);
#else
text
=
_
(
"Fit on Screen
\t
Ctrl+0"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
_
(
"Zoom to fit the board on the screen"
),
_
(
"Zoom to fit the board on the screen"
),
...
@@ -348,12 +331,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -348,12 +331,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
viewMenu
->
AppendSeparator
();
viewMenu
->
AppendSeparator
();
/* Redraw view */
/* Redraw view */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Pcbnew_Editor_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
);
#else
text
=
_
(
"Redraw
\t
Ctrl+R"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
_
(
"Redraw the screen of the board"
),
_
(
"Redraw the screen of the board"
),
...
...
pcbnew/tool_modedit.cpp
View file @
1ee86d4a
...
@@ -101,22 +101,22 @@ void WinEDA_ModuleEditFrame::ReCreateHToolbar()
...
@@ -101,22 +101,22 @@ void WinEDA_ModuleEditFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Module_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_IN
);
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Module_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Module_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Module_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
pcbnew/tool_pcb.cpp
View file @
1ee86d4a
...
@@ -236,29 +236,29 @@ void WinEDA_PcbFrame::ReCreateHToolbar()
...
@@ -236,29 +236,29 @@ void WinEDA_PcbFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_IN
);
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
wxBitmap
(
zoom_auto_xpm
),
msg
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Find components and texts"
),
msg
=
AddHotkeyName
(
_
(
"Find components and texts"
),
s_Board_Editor_Hokeys_Descr
,
s_Board_Editor_Hokeys_Descr
,
HK_FIND_ITEM
);
HK_FIND_ITEM
,
false
);
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
msg
);
msg
);
...
@@ -740,14 +740,10 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
...
@@ -740,14 +740,10 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
if
(
g_TabOneLayerMask
[
layer
]
&
layer_mask
)
if
(
g_TabOneLayerMask
[
layer
]
&
layer_mask
)
{
{
wxString
msg
=
GetBoard
()
->
GetLayerName
(
layer
);
wxString
msg
=
GetBoard
()
->
GetLayerName
(
layer
);
msg
<<
wxT
(
" "
);
msg
=
AddHotkeyName
(
msg
,
s_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
msg
,
s_Board_Editor_Hokeys_Descr
,
HK_SwitchLayer
[
layer
]
);
HK_SwitchLayer
[
layer
]
,
false
);
/* we are using tabs in AddHotkeyName message.
* this is not handled by m_SelLayerBox.
* so we replace them by 3 spaces
*/
msg
.
Replace
(
wxT
(
"
\t
"
),
wxT
(
" "
)
);
m_SelLayerBox
->
Append
(
msg
);
m_SelLayerBox
->
Append
(
msg
);
//D(printf("appending layername=%s, ndx=%d, layer=%d\n", CONV_TO_UTF8(msg), listNdx, layer );)
//D(printf("appending layername=%s, ndx=%d, layer=%d\n", CONV_TO_UTF8(msg), listNdx, layer );)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment