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[] =
* return the key name from the key code
* Only some wxWidgets key values are handled for function key ( see
* 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
*/
wxString
ReturnKeyNameFromKeyCode
(
int
k
eycode
)
wxString
ReturnKeyNameFromKeyCode
(
int
aK
eycode
)
{
wxString
keyname
,
modifier
,
fullkeyname
;
int
ii
;
if
(
(
k
eycode
&
GR_KB_CTRL
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_CTRL
)
!=
0
)
modifier
<<
wxT
(
"Ctrl+"
);
if
(
(
k
eycode
&
GR_KB_ALT
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_ALT
)
!=
0
)
modifier
<<
wxT
(
"Alt+"
);
if
(
(
k
eycode
&
GR_KB_SHIFT
)
!=
0
)
if
(
(
aK
eycode
&
GR_KB_SHIFT
)
!=
0
)
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
++
)
{
if
(
s_Hotkey_Name_List
[
ii
].
m_KeyCode
==
0
)
...
...
@@ -222,7 +222,7 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
keyname
=
wxT
(
"<unknown>"
);
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
;
break
;
...
...
@@ -236,12 +236,15 @@ wxString ReturnKeyNameFromKeyCode( int keycode )
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfo list of commands
* @param CommandId = Command Id value
* @return text (key name) in a wxString if found or text without modification
* @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
)
int
aCommandId
,
bool
aIsShortCut
)
{
wxString
msg
=
aText
;
wxString
keyname
;
...
...
@@ -249,21 +252,28 @@ wxString AddHotkeyName( const wxString& aText, Ki_HotkeyInfo** aList,
keyname
=
ReturnKeyNameFromCommandId
(
aList
,
aCommandId
);
if
(
!
keyname
.
IsEmpty
()
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
{
if
(
aIsShortCut
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
else
msg
<<
wxT
(
" <"
)
<<
keyname
<<
wxT
(
">"
);
}
return
msg
;
}
/** function AddHotkeyName
* Add the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfoSectionDescriptor* DescrList of
* commands
* @param CommandId = Command Id value
* @return text (key name) in a wxString if found or text without modification
* @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
*
aDescList
,
int
aCommandId
)
int
aCommandId
,
bool
aIsShortCut
)
{
wxString
msg
=
aText
;
wxString
keyname
;
...
...
@@ -277,7 +287,10 @@ wxString AddHotkeyName( const wxString& aText,
keyname
=
ReturnKeyNameFromCommandId
(
List
,
aCommandId
);
if
(
!
keyname
.
IsEmpty
()
)
{
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
if
(
aIsShortCut
)
msg
<<
wxT
(
"
\t
"
)
<<
keyname
;
else
msg
<<
wxT
(
" <"
)
<<
keyname
<<
wxT
(
">"
);
break
;
}
}
...
...
@@ -289,18 +302,18 @@ wxString AddHotkeyName( const wxString& aText,
/** function ReturnKeyNameFromCommandId
* return the key name from the Command id value ( m_Idcommand member value)
* @param List = pointer to a Ki_HotkeyInfo list of commands
* @param CommandId = Command Id value
* @param
a
List = pointer to a Ki_HotkeyInfo list of commands
* @param
a
CommandId = Command Id value
* @return the key name in a wxString
*/
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
List
,
int
CommandId
)
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
aList
,
int
a
CommandId
)
{
wxString
keyname
;
for
(
;
*
List
!=
NULL
;
List
++
)
for
(
;
*
aList
!=
NULL
;
a
List
++
)
{
Ki_HotkeyInfo
*
hk_decr
=
*
List
;
if
(
hk_decr
->
m_Idcommand
==
CommandId
)
Ki_HotkeyInfo
*
hk_decr
=
*
a
List
;
if
(
hk_decr
->
m_Idcommand
==
a
CommandId
)
{
keyname
=
ReturnKeyNameFromKeyCode
(
hk_decr
->
m_KeyCode
);
break
;
...
...
eeschema/hotkeys.cpp
View file @
1ee86d4a
...
...
@@ -52,13 +52,20 @@
*/
/* Fit on Screen */
static
Ki_HotkeyInfo
HkZoomAuto
(
wxT
(
"Fit on Screen"
),
HK_ZOOM_AUTO
,
WXK_HOME
);
#if !defined( __WXMAC__ )
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
,
WXK_F4
);
static
Ki_HotkeyInfo
HkZoomRedraw
(
wxT
(
"Zoom Redraw"
),
HK_ZOOM_REDRAW
,
WXK_F3
);
/* Refresh Screen */
#if !defined( __WXMAC__ )
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 */
#if !defined( __WXMAC__ )
...
...
@@ -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
,
WXK_INSERT
);
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
,
WXK_F5
);
...
...
@@ -156,6 +166,7 @@ Ki_HotkeyInfo* s_Common_Hotkey_List[] =
// List of hotkey descriptors for schematic
Ki_HotkeyInfo
*
s_Schematic_Hotkey_List
[]
=
{
&
HkFindItem
,
&
HkNextSearch
,
&
HkDelete
,
&
HkInsert
,
...
...
@@ -325,6 +336,15 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
RepeatDrawItem
(
DC
);
break
;
case
HK_FIND_ITEM
:
if
(
!
ItemInEdit
)
{
wxCommandEvent
evt
;
evt
.
SetId
(
ID_FIND_ITEMS
);
Process_Special_Functions
(
evt
);
}
break
;
case
HK_NEXT_SEARCH
:
if
(
!
ItemInEdit
)
{
...
...
eeschema/hotkeys.h
View file @
1ee86d4a
...
...
@@ -11,6 +11,7 @@
// for shared hotkeys id
enum
hotkey_id_commnand
{
HK_NEXT_SEARCH
=
HK_COMMON_END
,
HK_FIND_ITEM
,
HK_DELETE
,
HK_REPEAT_LAST
,
HK_EDIT_PIN
,
...
...
eeschema/menubar.cpp
View file @
1ee86d4a
...
...
@@ -79,7 +79,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
/* Save 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..."
)
);
item
->
SetBitmap
(
save_as_xpm
);
filesMenu
->
Append
(
item
);
...
...
@@ -88,7 +88,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
filesMenu
->
AppendSeparator
();
/* Print */
item
=
new
wxMenuItem
(
filesMenu
,
wxID_PRINT
,
_
(
"P&rint
\t
Ctrl+P
"
),
item
=
new
wxMenuItem
(
filesMenu
,
wxID_PRINT
,
_
(
"P&rint"
),
_
(
"Print schematic"
)
);
item
->
SetBitmap
(
print_button
);
filesMenu
->
Append
(
item
);
...
...
@@ -181,7 +181,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
editMenu
->
AppendSeparator
();
/* 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
);
item
->
SetBitmap
(
find_xpm
);
editMenu
->
Append
(
item
);
...
...
@@ -229,12 +230,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
viewMenu
->
Append
(
item
);
/* Fit on screen */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_AUTO
);
#else
text
=
_
(
"Fit on Screen
\t
Ctrl+0"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
_
(
"Fit the schematic sheet on the screen"
),
...
...
@@ -245,12 +242,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
viewMenu
->
AppendSeparator
();
/* Redraw view */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
#else
text
=
_
(
"Redraw
\t
Ctrl+R"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
_
(
"Redraw the schematic view"
),
...
...
eeschema/tool_lib.cpp
View file @
1ee86d4a
...
...
@@ -133,11 +133,11 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Undo last command"
),
s_Schematic_Hokeys_Descr
,
HK_UNDO
);
HK_UNDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
wxBitmap
(
undo_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redo the last command"
),
s_Schematic_Hokeys_Descr
,
HK_REDO
);
HK_REDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_REDO
,
wxEmptyString
,
wxBitmap
(
redo_xpm
),
msg
);
...
...
@@ -156,20 +156,20 @@ void WinEDA_LibeditFrame::ReCreateHToolbar()
_
(
"Test for duplicate pins and off grid pins"
)
);
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
),
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
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Libedit_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
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
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
eeschema/tool_sch.cpp
View file @
1ee86d4a
...
...
@@ -66,12 +66,12 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Undo last edition"
),
s_Schematic_Hokeys_Descr
,
HK_UNDO
);
HK_UNDO
,
false
);
m_HToolBar
->
AddTool
(
wxID_UNDO
,
wxEmptyString
,
wxBitmap
(
undo_xpm
),
msg
);
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
,
wxBitmap
(
redo_xpm
),
msg
);
...
...
@@ -87,28 +87,30 @@ void WinEDA_SchematicFrame::ReCreateHToolbar()
_
(
"Run pcbnew"
)
);
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
),
msg
);
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
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Schematic_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
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
),
msg
);
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
),
_
(
"Find components and texts"
)
);
msg
);
m_HToolBar
->
AddSeparator
();
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()
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_IN
);
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Viewlib_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
include/hotkeys_basic.h
View file @
1ee86d4a
...
...
@@ -64,12 +64,51 @@ extern int g_ConfigFileLocationChoice;
wxString
ReturnHotkeyConfigFilePath
(
int
choice
);
void
AddHotkeyConfigMenu
(
wxMenu
*
menu
);
void
HandleHotkeyConfigMenuSelection
(
WinEDA_DrawFrame
*
frame
,
int
id
);
wxString
ReturnKeyNameFromKeyCode
(
int
keycode
);
wxString
ReturnKeyNameFromCommandId
(
Ki_HotkeyInfo
**
List
,
int
CommandId
);
wxString
AddHotkeyName
(
const
wxString
&
text
,
Ki_HotkeyInfo
**
List
,
int
CommandId
);
wxString
AddHotkeyName
(
const
wxString
&
text
,
struct
Ki_HotkeyInfoSectionDescriptor
*
DescrList
,
int
CommandId
);
/** function ReturnKeyNameFromKeyCode
* return the key name from the key code
* Only some wxWidgets key values are handled for function key ( see
* s_Hotkey_Name_List[] )
* @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
,
struct
Ki_HotkeyInfoSectionDescriptor
*
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 ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-02-1
5 08:46
+0100\n"
"PO-Revision-Date: 2010-02-1
5 09:19
+0100\n"
"POT-Creation-Date: 2010-02-1
6 11:02
+0100\n"
"PO-Revision-Date: 2010-02-1
6 11:04
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -744,12 +744,12 @@ msgstr "X Pos"
msgid "Y pos"
msgstr "Y pos"
#: pcbnew/hotkeys.cpp:
595
#: pcbnew/hotkeys.cpp:
607
#, c-format
msgid "Footprint %s found, but locked"
msgstr "Module %s trouvé, mais verrouillé"
#: pcbnew/hotkeys.cpp:
789
#: pcbnew/hotkeys.cpp:
801
msgid "Delete module?"
msgstr "Effacer Module?"
...
...
@@ -5942,8 +5942,8 @@ msgid "Supplier and ref"
msgstr "Fournisseur et réf."
#: pcbnew/menubar_pcbframe.cpp:39
msgid "&New
\tCtrl+N
"
msgstr "&Nouveau
\tCtrl+N
"
msgid "&New"
msgstr "&Nouveau"
#: pcbnew/menubar_pcbframe.cpp:40
msgid "Clear current board and initialize a new one"
...
...
@@ -5982,8 +5982,8 @@ msgid "Save current board"
msgstr "Sauver le C.I. actuel"
#: pcbnew/menubar_pcbframe.cpp:76
msgid "Save as...
\tShift+Ctrl+S
"
msgstr "Sauver sous...
\tCtrl S
"
msgid "Save as..."
msgstr "Sauver sous..."
#: pcbnew/menubar_pcbframe.cpp:77
msgid "Save the current board as.."
...
...
@@ -6094,8 +6094,8 @@ msgid "Export board"
msgstr "Exporter le C.I."
#: pcbnew/menubar_pcbframe.cpp:189
msgid "&Print
\tCtrl+P
"
msgstr "
Imprime&r\tCtrl+O
"
msgid "&Print"
msgstr "
&Imprimer
"
#: pcbnew/menubar_pcbframe.cpp:190
msgid "Print pcb board"
...
...
@@ -6149,230 +6149,209 @@ msgstr "&Quitter"
msgid "Quit PCBNew"
msgstr "Quitter PCBnew"
#: pcbnew/menubar_pcbframe.cpp:24
4
#: pcbnew/menubar_pcbframe.cpp:24
3
msgid "Undo"
msgstr "Undo"
#: pcbnew/menubar_pcbframe.cpp:246
#, fuzzy
msgid "Undo\tCtrl+Z"
msgstr "&Ouvrir\tCtrl+O"
#: pcbnew/menubar_pcbframe.cpp:255
#: pcbnew/menubar_pcbframe.cpp:250
msgid "Redo"
msgstr "Redo"
#: pcbnew/menubar_pcbframe.cpp:257
msgid "Redo\tShift+Ctrl+Z"
msgstr ""
#: pcbnew/menubar_pcbframe.cpp:269
#: pcbnew/menubar_pcbframe.cpp:260
msgid "&Find"
msgstr "&Chercher"
#: pcbnew/menubar_pcbframe.cpp:271
msgid "Find\tCtrl+F"
msgstr "Chercher\tCtrl+F"
#: pcbnew/menubar_pcbframe.cpp:275
#: pcbnew/menubar_pcbframe.cpp:262
msgid "Find components and text in current loaded board"
msgstr "Recherche de composants et textes sur le circuit"
#: pcbnew/menubar_pcbframe.cpp:2
84
#: pcbnew/menubar_pcbframe.cpp:2
71
msgid "Global &Deletions"
msgstr "Effacements &Généraux"
#: pcbnew/menubar_pcbframe.cpp:2
85
#: pcbnew/menubar_pcbframe.cpp:2
72
msgid "Delete tracks, modules, texts... on board"
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"
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"
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"
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"
msgstr "Permutation de couches"
#: pcbnew/menubar_pcbframe.cpp:3
21
#: pcbnew/menubar_pcbframe.cpp:3
22
#: pcbnew/menubar_pcbframe.cpp:3
08
#: pcbnew/menubar_pcbframe.cpp:3
09
msgid "Zoom In"
msgstr "Zoom +"
#: pcbnew/menubar_pcbframe.cpp:3
29
#: pcbnew/menubar_pcbframe.cpp:3
16
msgid "Zoom Out"
msgstr "Zoom -"
#: pcbnew/menubar_pcbframe.cpp:3
36
#: pcbnew/menubar_pcbframe.cpp:3
22
msgid "Fit on Screen"
msgstr "Ajuster à l'Ecran "
#: pcbnew/menubar_pcbframe.cpp:339
msgid "Fit on Screen\tCtrl+0"
msgstr ""
#: pcbnew/menubar_pcbframe.cpp:343
#: pcbnew/menubar_pcbframe.cpp:326
msgid "Zoom to fit the board on the screen"
msgstr "Zoom pour ajuster le circuit impriméà l'écran"
#: pcbnew/menubar_pcbframe.cpp:3
52
#: pcbnew/menubar_pcbframe.cpp:3
34
msgid "Redraw"
msgstr "Redessin de l'écran"
#: pcbnew/menubar_pcbframe.cpp:355
msgid "Redraw\tCtrl+R"
msgstr "Redessiner\tCtrl+R"
#: pcbnew/menubar_pcbframe.cpp:359
#: pcbnew/menubar_pcbframe.cpp:338
msgid "Redraw the screen of the board"
msgstr "Redessiner l'écran du circuit imprimé"
#: pcbnew/menubar_pcbframe.cpp:3
68
#: pcbnew/menubar_pcbframe.cpp:3
47
msgid "&List Nets"
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"
msgstr "Lister les équipotentielles (noms et numéros d'identification)"
#: pcbnew/menubar_pcbframe.cpp:3
88
#: pcbnew/menubar_pcbframe.cpp:3
67
msgid "&Library"
msgstr "&Librairie"
#: pcbnew/menubar_pcbframe.cpp:3
89
#: pcbnew/menubar_pcbframe.cpp:3
68
msgid "Setting libraries, directories and others..."
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
msgid "Hide &Layers Manager"
msgstr "Cacher le &Gestionnaire de Couches"
#: pcbnew/menubar_pcbframe.cpp:
403
#: pcbnew/menubar_pcbframe.cpp:
382
msgid "&General"
msgstr "&Général "
#: pcbnew/menubar_pcbframe.cpp:
404
#: pcbnew/menubar_pcbframe.cpp:
383
msgid "Select general options for PCBnew"
msgstr " Sélection options générales pour PCBNEW"
#: pcbnew/menubar_pcbframe.cpp:
410
#: pcbnew/menubar_pcbframe.cpp:
389
msgid "&Display"
msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:
411
#: pcbnew/menubar_pcbframe.cpp:
390
msgid "Select how items (pads, tracks texts ... ) are displayed"
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"
msgstr "Ajuster taille grille utilisateur"
#: pcbnew/menubar_pcbframe.cpp:4
26
#: pcbnew/menubar_pcbframe.cpp:4
05
msgid "Texts and Drawings"
msgstr "Textes et Tracés"
#: pcbnew/menubar_pcbframe.cpp:4
27
#: pcbnew/menubar_pcbframe.cpp:4
06
msgid "Adjust dimensions for texts and drawings"
msgstr "Ajuster dimensions pour textes et graphiques"
#: pcbnew/menubar_pcbframe.cpp:4
33
#: pcbnew/menubar_pcbframe.cpp:4
12
msgid "Adjust default pad characteristics"
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"
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"
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"
msgstr "&Sauver"
#: pcbnew/menubar_pcbframe.cpp:4
48
#: pcbnew/menubar_pcbframe.cpp:4
27
msgid "Save dimension preferences"
msgstr "Sauver les préférences de dimension"
#: pcbnew/menubar_pcbframe.cpp:4
54
#: pcbnew/menubar_pcbframe.cpp:4
33
msgid "Di&mensions"
msgstr "Di&mensions"
#: pcbnew/menubar_pcbframe.cpp:4
55
#: pcbnew/menubar_pcbframe.cpp:4
34
msgid "Global dimensions preferences"
msgstr "Préférences générales de dimensions"
#: pcbnew/menubar_pcbframe.cpp:4
68
#: pcbnew/menubar_pcbframe.cpp:4
47
msgid "&Save Preferences"
msgstr "&Sauver Préférences"
#: pcbnew/menubar_pcbframe.cpp:4
69
#: pcbnew/menubar_pcbframe.cpp:4
48
msgid "Save application preferences"
msgstr "Sauver les préférences de l'application"
#: pcbnew/menubar_pcbframe.cpp:4
74
#: pcbnew/menubar_pcbframe.cpp:4
53
msgid "&Read Preferences"
msgstr "&Lire Préférences"
#: pcbnew/menubar_pcbframe.cpp:4
75
#: pcbnew/menubar_pcbframe.cpp:4
54
msgid "Read application preferences"
msgstr "Lire les préférences de l'application"
#: pcbnew/menubar_pcbframe.cpp:4
87
#: pcbnew/menubar_pcbframe.cpp:4
66
msgid "Design Rules"
msgstr "Règles de Conception"
#: pcbnew/menubar_pcbframe.cpp:4
88
#: pcbnew/menubar_pcbframe.cpp:4
67
msgid "Open the design rules editor"
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"
msgstr "&Options Couches"
#: pcbnew/menubar_pcbframe.cpp:4
94
#: pcbnew/menubar_pcbframe.cpp:4
73
msgid "Enable and set layer properties"
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"
msgstr "Ouvrir la documentation de PCPnew"
#: pcbnew/menubar_pcbframe.cpp:
512
#: pcbnew/menubar_pcbframe.cpp:
491
msgid "&About"
msgstr "&Au Sujet de"
#: pcbnew/menubar_pcbframe.cpp:
513
#: pcbnew/menubar_pcbframe.cpp:
492
msgid "About PCBnew printed circuit board designer"
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"
msgstr "&Fichiers"
#: pcbnew/menubar_pcbframe.cpp:5
23
#: pcbnew/menubar_pcbframe.cpp:5
02
msgid "&Edit"
msgstr "&Editer"
#: pcbnew/menubar_pcbframe.cpp:5
24
#: pcbnew/menubar_pcbframe.cpp:5
03
msgid "&View"
msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:5
25
#: pcbnew/menubar_pcbframe.cpp:5
04
msgid "&Preferences"
msgstr "&Préférences"
#: pcbnew/menubar_pcbframe.cpp:5
26
#: pcbnew/menubar_pcbframe.cpp:5
05
msgid "&Design Rules"
msgstr "&Règles de Conception"
...
...
@@ -8249,11 +8228,11 @@ msgstr "&Fermer"
msgid "&Accept Offset"
msgstr "&Accepter Offset"
#: eeschema/hotkeys.cpp:3
4
4
#: eeschema/hotkeys.cpp:3
6
4
msgid "Add Component"
msgstr "Ajout Composant"
#: eeschema/hotkeys.cpp:3
6
9
#: eeschema/hotkeys.cpp:3
8
9
msgid "Add Wire"
msgstr "Ajouter Fils"
...
...
@@ -8410,12 +8389,12 @@ msgid "Place a bus"
msgstr "Placer un bus"
#: eeschema/tool_sch.cpp:175
#: eeschema/menubar.cpp:2
96
#: eeschema/menubar.cpp:2
89
msgid "Place a wire to bus entry"
msgstr "Placer une Entrée de Bus (type fil vers bus)"
#: eeschema/tool_sch.cpp:179
#: eeschema/menubar.cpp:
303
#: eeschema/menubar.cpp:
296
msgid "Place a bus to bus entry"
msgstr "Placer une Entrée de Bus (type bus vers bus)"
...
...
@@ -8424,7 +8403,7 @@ msgid "Place no connect flag"
msgstr "Placer symbole de non connexion"
#: eeschema/tool_sch.cpp:188
#: eeschema/menubar.cpp:3
15
#: eeschema/menubar.cpp:3
08
msgid "Place net name"
msgstr "Place nom de net"
...
...
@@ -8441,7 +8420,7 @@ msgid "Place a junction"
msgstr "Placer une jonction"
#: 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"
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 ||"
msgid "Copy to Clipboard"
msgstr "Copie dans Presse papier"
#: eeschema/menubar.cpp:44
msgid "&New\tCtrl+N"
msgstr "&Nouveau\tCtrl+N"
#: eeschema/menubar.cpp:52
msgid "Open an existing schematic project"
msgstr "Ouvrir un projet schématique existant"
...
...
@@ -8880,17 +8863,16 @@ msgid "Save only current schematic sheet"
msgstr "Sauver seulement la feuille active"
#: eeschema/menubar.cpp:82
msgid "Save Current Sheet &as
\tShift+Ctrl+S
"
msgstr "Sauver
Feuille Courante &sous\tShift+Ctrl+S
"
msgid "Save Current Sheet &as"
msgstr "Sauver
la Feuille &Courante sous
"
#: eeschema/menubar.cpp:83
msgid "Save current schematic sheet as..."
msgstr "Sauver la feuille active sous ..."
#: eeschema/menubar.cpp:91
#, fuzzy
msgid "P&rint\tCtrl+P"
msgstr "&Ouvrir\tCtrl+O"
msgid "P&rint"
msgstr "Imp&rimer"
#: eeschema/menubar.cpp:99
msgid "Plot PostScript"
...
...
@@ -8940,175 +8922,171 @@ msgstr "Tracer les feuilles schématiques en format HPGL, POSTSCRIPT ou SVG"
msgid "Quit EESchema"
msgstr "Quitter EESchema"
#: eeschema/menubar.cpp:184
msgid "&Find\tCtrl+F"
msgstr "&Chercher\tCtrl+F"
#: eeschema/menubar.cpp:193
#: eeschema/menubar.cpp:194
msgid "Backannotate"
msgstr "Rétro Annotation"
#: eeschema/menubar.cpp:19
4
#: eeschema/menubar.cpp:19
5
msgid "Back annotated footprint fields"
msgstr "Rétroannotation des champs modules"
#: eeschema/menubar.cpp:2
40
#: eeschema/menubar.cpp:2
37
msgid "Fit the schematic sheet on the screen"
msgstr "Ajuster la feuille de schéma à l'écran"
#: eeschema/menubar.cpp:2
56
#: eeschema/menubar.cpp:2
49
msgid "Redraw the schematic view"
msgstr "Redessin de l'écran"
#: eeschema/menubar.cpp:2
70
#: eeschema/menubar.cpp:2
63
msgid "&Component"
msgstr "&Composant"
#: eeschema/menubar.cpp:2
71
#: eeschema/menubar.cpp:2
64
msgid "Place the component"
msgstr "Placer le Composant"
#: eeschema/menubar.cpp:2
76
#: eeschema/menubar.cpp:2
69
msgid "&Power port"
msgstr "Power Symbole"
#: eeschema/menubar.cpp:27
7
#: eeschema/menubar.cpp:27
0
msgid "Place the power port"
msgstr "Placer le Symbole Power"
#: eeschema/menubar.cpp:2
82
#: eeschema/menubar.cpp:2
75
msgid "&Wire"
msgstr "&Fil"
#: eeschema/menubar.cpp:2
83
#: eeschema/menubar.cpp:2
76
msgid "Place the wire"
msgstr "Place fil"
#: eeschema/menubar.cpp:28
8
#: eeschema/menubar.cpp:28
1
msgid "&Bus"
msgstr "&Bus"
#: eeschema/menubar.cpp:28
9
#: eeschema/menubar.cpp:28
2
msgid "Place bus"
msgstr "Place bus"
#: eeschema/menubar.cpp:2
95
#: eeschema/menubar.cpp:2
88
msgid "W&ire to bus entry"
msgstr "Entrées de bus (type fil vers bus)"
#: eeschema/menubar.cpp:
302
#: eeschema/menubar.cpp:
295
msgid "B&us to bus entry"
msgstr "Entrées de bus (type bus vers bus)"
#: eeschema/menubar.cpp:30
8
#: eeschema/menubar.cpp:30
1
msgid "No connect flag"
msgstr "Symbole de Non Connexion"
#: eeschema/menubar.cpp:30
9
#: eeschema/menubar.cpp:30
2
msgid "Place a no connect flag"
msgstr "Placer un Symbole de Non Connexion"
#: eeschema/menubar.cpp:3
14
#: eeschema/menubar.cpp:3
07
msgid "Net name"
msgstr "Net Name"
#: eeschema/menubar.cpp:3
20
#: eeschema/menubar.cpp:3
13
msgid "Global label"
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"
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"
msgstr "Jonction"
#: eeschema/menubar.cpp:32
8
#: eeschema/menubar.cpp:32
1
msgid "Place junction"
msgstr "Place jonction"
#: eeschema/menubar.cpp:33
7
#: eeschema/menubar.cpp:33
0
msgid "Hierarchical label"
msgstr "Label Hiérarchique"
#: eeschema/menubar.cpp:3
45
#: eeschema/menubar.cpp:3
38
msgid "Hierarchical sheet"
msgstr "Feuille Hiérrachique"
#: eeschema/menubar.cpp:3
46
#: eeschema/menubar.cpp:3
39
msgid "Create a hierarchical sheet"
msgstr "Créer une Feuille Hiérachique"
#: eeschema/menubar.cpp:3
52
#: eeschema/menubar.cpp:3
45
msgid "Import Hierarchical Label"
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"
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"
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"
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"
msgstr "Ligne ou polygone graphique"
#: eeschema/menubar.cpp:3
72
#: eeschema/menubar.cpp:3
65
msgid "Place graphic lines or polygons"
msgstr "Placer lignes ou polygones graphiques"
#: eeschema/menubar.cpp:37
9
#: eeschema/menubar.cpp:37
2
msgid "Graphic text"
msgstr "Texte graphique"
#: eeschema/menubar.cpp:3
80
#: eeschema/menubar.cpp:3
73
msgid "Place graphic text for comment"
msgstr "Placer textes graphiques en commentaire."
#: eeschema/menubar.cpp:3
94
#: eeschema/menubar.cpp:3
87
msgid "Library preferences"
msgstr "Préférences pour Librairie"
#: eeschema/menubar.cpp:39
9
#: eeschema/menubar.cpp:39
2
msgid "&Colors"
msgstr "&Couleurs"
#: eeschema/menubar.cpp:
400
#: eeschema/menubar.cpp:
393
msgid "Color preferences"
msgstr "Préférences de couleurs"
#: eeschema/menubar.cpp:
405
#: eeschema/menubar.cpp:
398
msgid "&Options"
msgstr "&Options"
#: eeschema/menubar.cpp:
406
#: eeschema/menubar.cpp:
399
msgid "Eeschema general options and preferences"
msgstr "Options et préférences générales de Eeschema"
#: eeschema/menubar.cpp:4
20
#: eeschema/menubar.cpp:4
13
msgid "&Save preferences"
msgstr "&Sauver Préférences"
#: eeschema/menubar.cpp:4
26
#: eeschema/menubar.cpp:4
19
msgid "&Read preferences"
msgstr "&Lire Préférences"
#: eeschema/menubar.cpp:43
8
#: eeschema/menubar.cpp:43
1
msgid "Open the eeschema manual"
msgstr "Ouvrir la documentation de eeschema"
#: eeschema/menubar.cpp:4
46
#: eeschema/menubar.cpp:4
39
msgid "About eeschema schematic designer"
msgstr "Au sujet de Eeschema (outil de conception schématique)"
#: eeschema/menubar.cpp:45
9
#: eeschema/menubar.cpp:45
2
msgid "&Place"
msgstr "&Placer"
...
...
@@ -9869,11 +9847,11 @@ msgstr "Conflit en librairie <%s>"
#: eeschema/class_library.cpp:274
#, c-format
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
msgid "All old aliases will be removed. Continue ?"
msgstr ""
msgstr "
Tous les anciens alias vont être supprimés. Continuer ?
"
#: eeschema/class_library.cpp:531
msgid "The component library file name is not set."
...
...
@@ -10350,67 +10328,67 @@ msgstr ""
"(Comme sm* pour autoriser tous les noms d'empreintes commençant par sm)."
#: 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"
msgstr "Filtrage Modules"
#: eeschema/edit_component_in_lib.cpp:
14
5
#: eeschema/edit_component_in_lib.cpp:
8
5
#, c-format
msgid "Alias <%s> not found for component <%s> in library <%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"
msgstr "Erreur en Librairie de Composanr"
#: eeschema/edit_component_in_lib.cpp:2
6
6
#: eeschema/edit_component_in_lib.cpp:
33
6
#: eeschema/edit_component_in_lib.cpp:2
0
6
#: eeschema/edit_component_in_lib.cpp:
27
6
#, c-format
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!"
#: eeschema/edit_component_in_lib.cpp:2
7
5
#: eeschema/edit_component_in_lib.cpp:2
1
5
msgid "Remove all aliases from list?"
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:"
msgstr "Nouvel alias"
#: eeschema/edit_component_in_lib.cpp:
30
1
#: eeschema/edit_component_in_lib.cpp:
24
1
msgid "Component Alias"
msgstr "Alias de Composant"
#: eeschema/edit_component_in_lib.cpp:
31
1
#: eeschema/edit_component_in_lib.cpp:
25
1
#, c-format
msgid "Alias or component name <%s> already exists in library <%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?"
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?"
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?"
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"
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"
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"
msgstr "Ajouter Filtre Modules"
#: eeschema/edit_component_in_lib.cpp:4
8
9
#: eeschema/edit_component_in_lib.cpp:4
2
9
#, c-format
msgid "Foot print filter <%s> is already defined."
msgstr "Filtre de module <%s> déjà défini."
...
...
@@ -10489,15 +10467,15 @@ msgstr "&Nom de la feuille:"
msgid "&Text size:"
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"
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 "
msgstr "Propriétés pour "
#: eeschema/dialog_edit_component_in_lib.cpp:
59
#: eeschema/dialog_edit_component_in_lib.cpp:
60
msgid " (alias of "
msgstr " (alias de "
...
...
@@ -11986,10 +11964,6 @@ msgstr "Sauver Couches sous..."
msgid "Save current layers as.."
msgstr "Sauver couches courantes sous.."
#: gerbview/tool_gerber.cpp:67
msgid "P&rint"
msgstr "Imp&rimer"
#: gerbview/tool_gerber.cpp:67
msgid "Print gerber"
msgstr "Imprimer gerber"
...
...
@@ -12184,7 +12158,7 @@ msgstr "DCodes"
#: gerbview/class_gerbview_layer_widget.cpp:65
msgid "Show DCodes identification"
msgstr ""
msgstr "
Afficher numéros de D-Code
"
#: gerbview/class_gerbview_layer_widget.cpp:118
msgid "Show All Layers"
...
...
@@ -13054,6 +13028,27 @@ msgstr "Options d'Affichage"
msgid "Page Settings"
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
#~ msgid "Zoom In\tCtrl++"
#~ msgstr "Zoom +"
...
...
@@ -13249,10 +13244,6 @@ msgstr "Ajustage opt Page"
#~ msgstr "&Chercher"
#~ msgid "&Tracks"
#~ msgstr "&Pistes"
#~ msgid "&New"
#~ msgstr "&Nouveau"
#~ msgid "Save as..."
#~ msgstr "Sauver sous..."
#~ msgid "Show board in the 3D viewer"
#~ msgstr "Visualisation du circuit en 3D"
#~ 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,
static
Ki_HotkeyInfo
HkResetLocalCoord
(
wxT
(
"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
);
#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
);
/* Refresh Screen */
#if !defined( __WXMAC__ )
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 */
#if !defined( __WXMAC__ )
...
...
pcbnew/menubar_pcbframe.cpp
View file @
1ee86d4a
...
...
@@ -36,7 +36,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
wxMenu
*
filesMenu
=
new
wxMenu
;
/* 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"
)
);
item
->
SetBitmap
(
new_xpm
);
filesMenu
->
Append
(
item
);
...
...
@@ -73,7 +73,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Save As */
item
=
new
wxMenuItem
(
filesMenu
,
ID_SAVE_BOARD_AS
,
_
(
"Save as...
\t
Shift+Ctrl+S
"
),
_
(
"Save as..."
),
_
(
"Save the current board as.."
)
);
item
->
SetBitmap
(
save_as_xpm
);
filesMenu
->
Append
(
item
);
...
...
@@ -186,7 +186,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
filesMenu
->
AppendSeparator
();
/* Print */
item
=
new
wxMenuItem
(
filesMenu
,
ID_GEN_PRINT
,
_
(
"&Print
\t
Ctrl+P
"
),
item
=
new
wxMenuItem
(
filesMenu
,
ID_GEN_PRINT
,
_
(
"&Print"
),
_
(
"Print pcb board"
)
);
item
->
SetBitmap
(
print_button
);
filesMenu
->
Append
(
item
);
...
...
@@ -240,22 +240,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
wxMenu
*
editMenu
=
new
wxMenu
;
/* Undo */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Undo"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_UNDO
);
#else
text
=
_
(
"Undo
\t
Ctrl+Z"
);
#endif
item
=
new
wxMenuItem
(
editMenu
,
wxID_UNDO
,
text
,
_
(
"Undo last edition"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
undo_xpm
);
editMenu
->
Append
(
item
);
/* Redo */
#if !defined( __WXMAC__)
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
,
_
(
"Redo the last undo command"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
redo_xpm
);
...
...
@@ -265,12 +257,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
editMenu
->
AppendSeparator
();
/* Find */
#if !defined( __WXMAC__)
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
,
_
(
"Find components and text in current loaded board"
)
);
item
->
SetBitmap
(
find_xpm
);
...
...
@@ -332,12 +319,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
viewMenu
->
Append
(
item
);
/* Fit on Screen */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Fit on Screen"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
#else
text
=
_
(
"Fit on Screen
\t
Ctrl+0"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_PAGE
,
text
,
_
(
"Zoom to fit the board on the screen"
),
...
...
@@ -348,12 +331,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
viewMenu
->
AppendSeparator
();
/* Redraw view */
#if !defined( __WXMAC__)
text
=
AddHotkeyName
(
_
(
"Redraw"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
#else
text
=
_
(
"Redraw
\t
Ctrl+R"
);
#endif
item
=
new
wxMenuItem
(
viewMenu
,
ID_ZOOM_REDRAW
,
text
,
_
(
"Redraw the screen of the board"
),
...
...
pcbnew/tool_modedit.cpp
View file @
1ee86d4a
...
...
@@ -101,22 +101,22 @@ void WinEDA_ModuleEditFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_IN
);
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Module_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
...
...
pcbnew/tool_pcb.cpp
View file @
1ee86d4a
...
...
@@ -236,29 +236,29 @@ void WinEDA_PcbFrame::ReCreateHToolbar()
m_HToolBar
->
AddSeparator
();
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
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_OUT
);
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Board_Editor_Hokeys_Descr
,
HK_ZOOM_AUTO
);
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_auto_xpm
),
msg
);
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Find components and texts"
),
s_Board_Editor_Hokeys_Descr
,
HK_FIND_ITEM
);
HK_FIND_ITEM
,
false
);
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
msg
);
...
...
@@ -740,14 +740,10 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
if
(
g_TabOneLayerMask
[
layer
]
&
layer_mask
)
{
wxString
msg
=
GetBoard
()
->
GetLayerName
(
layer
);
msg
<<
wxT
(
" "
);
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
);
//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