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
1a30862d
Commit
1a30862d
authored
Jun 15, 2007
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes. update GUI french translation
parent
834cd029
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
7113 additions
and
6445 deletions
+7113
-6445
common.cpp
common/common.cpp
+3
-17
cvpcb-fr.sxw
help/fr/docs_src/cvpcb/cvpcb-fr.sxw
+0
-0
chap11-libedit-av.sxw
help/fr/docs_src/eeschema/chap11-libedit-av.sxw
+0
-0
board_file_format.sxw
help/fr/docs_src/file_formats/board_file_format.sxw
+0
-0
build_version.h
include/build_version.h
+1
-1
wxstruct.h
include/wxstruct.h
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+7073
-6400
basepcbframe.cpp
pcbnew/basepcbframe.cpp
+23
-0
controle.cpp
pcbnew/controle.cpp
+8
-22
hotkeys.cpp
pcbnew/hotkeys.cpp
+1
-1
tool_pcb.cpp
pcbnew/tool_pcb.cpp
+3
-3
No files found.
common/common.cpp
View file @
1a30862d
...
...
@@ -259,35 +259,21 @@ wxString layer_name_list_for_filename[] = {
};
if
(
layer_number
>=
31
)
layer_number
=
31
;
#if 0 // Use it (#if 1) to return layer_name internationalized, without space
if ( is_filename )
{
int ll = layer_name_list[layer_number].Length();
int ii;
for ( ii = 0; ii < ll; ii++ )
{
char cc = layer_name_list[layer_number].GetChar(ii);
if ( cc != ' ' )
layer_name += cc;
}
}
#else
if
(
is_filename
)
layer_name
=
layer_name_list_for_filename
[
layer_number
];
#endif
else
layer_name
=
layer_name_list
[
layer_number
];
if
(
is_gui
){
wxString
hotkey_list
[]
=
{
wxT
(
"(PgDn)"
),
wxT
(
"(F5)"
),
wxT
(
"(F6)"
),
wxT
(
"(F7)"
),
wxT
(
"(F8)"
),
wxT
(
"
"
),
wxT
(
"
"
),
wxT
(
" "
),
wxT
(
"(F8)"
),
wxT
(
"
(F9)"
),
wxT
(
"(F10)
"
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
"(PgUp)"
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
"
(PgUp)"
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
),
wxT
(
" "
)
};
layer_name
+=
hotkey_list
[
layer_number
];
layer_name
+=
wxT
(
" "
)
+
hotkey_list
[
layer_number
];
}
return
layer_name
;
...
...
help/fr/docs_src/cvpcb/cvpcb-fr.sxw
deleted
100644 → 0
View file @
834cd029
File deleted
help/fr/docs_src/eeschema/chap11-libedit-av.sxw
deleted
100644 → 0
View file @
834cd029
File deleted
help/fr/docs_src/file_formats/board_file_format.sxw
deleted
100644 → 0
View file @
834cd029
File deleted
include/build_version.h
View file @
1a30862d
...
...
@@ -5,7 +5,7 @@
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
(
wxT
(
"(2007-06-1
2
)"
))
(
wxT
(
"(2007-06-1
4
)"
))
#endif
;
...
...
include/wxstruct.h
View file @
1a30862d
...
...
@@ -479,7 +479,7 @@ public:
// Gestion des layers:
int
SelectLayer
(
int
default_layer
,
int
min_layer
,
int
max_layer
);
void
SelectLayerPair
(
void
);
void
SwitchLayer
(
wxDC
*
DC
,
int
layer
);
v
irtual
v
oid
SwitchLayer
(
wxDC
*
DC
,
int
layer
);
// divers
void
AddHistory
(
int
value
,
DrawStructureType
type
);
// Add value in data list history
...
...
internat/fr/kicad.mo
View file @
1a30862d
No preview for this file type
internat/fr/kicad.po
View file @
1a30862d
This diff is collapsed.
Click to expand it.
pcbnew/basepcbframe.cpp
View file @
1a30862d
...
...
@@ -122,3 +122,26 @@ void WinEDA_BasePcbFrame::GetComponentFromRedoList(void)
{
}
/****************************************************************/
void
WinEDA_BasePcbFrame
::
SwitchLayer
(
wxDC
*
DC
,
int
layer
)
/*****************************************************************/
{
//Note: virtual, overridden in WinEDA_PcbFrame;
int
preslayer
=
GetScreen
()
->
m_Active_Layer
;
//if there is only one layer, don't switch.
if
(
m_Pcb
->
m_BoardSettings
->
m_CopperLayerCount
<=
1
)
layer
=
LAYER_CUIVRE_N
;
// Of course we select the copper layer
//otherwise, we select the requested layer only if it is possible
if
(
layer
!=
LAYER_CMP_N
&&
layer
>=
m_Pcb
->
m_BoardSettings
->
m_CopperLayerCount
-
1
)
return
;
if
(
preslayer
==
layer
)
return
;
GetScreen
()
->
m_Active_Layer
=
layer
;
if
(
DisplayOpt
.
ContrastModeDisplay
)
GetScreen
()
->
SetRefreshReq
();
}
pcbnew/controle.cpp
View file @
1a30862d
...
...
@@ -264,6 +264,14 @@ int CurrentTime = time(NULL);
SwitchLayer
(
DC
,
LAYER_N_5
);
break
;
case
WXK_F9
:
SwitchLayer
(
DC
,
LAYER_N_6
);
break
;
case
WXK_F10
:
SwitchLayer
(
DC
,
LAYER_N_7
);
break
;
case
WXK_NUMPAD8
:
/* Deplacement curseur vers le haut */
case
WXK_UP
:
Mouse
.
y
-=
delta
.
y
;
...
...
@@ -361,25 +369,3 @@ int CurrentTime = time(NULL);
OnHotKey
(
DC
,
hotkey
,
NULL
);
}
}
/****************************************************************/
void
WinEDA_BasePcbFrame
::
SwitchLayer
(
wxDC
*
DC
,
int
layer
)
/*****************************************************************/
{
//Note: overridden in WinEDA_PcbFrame;
int
preslayer
=
GetScreen
()
->
m_Active_Layer
;
//if there is only one layer, don't switch.
if
(
m_Pcb
->
m_BoardSettings
->
m_CopperLayerCount
<=
1
)
layer
=
LAYER_CUIVRE_N
;
// Of course we select the copper layer
//otherwise, we select the requested layer only if it is possible
if
(
layer
!=
LAYER_CMP_N
&&
layer
>=
m_Pcb
->
m_BoardSettings
->
m_CopperLayerCount
-
1
)
return
;
if
(
preslayer
==
layer
)
return
;
GetScreen
()
->
m_Active_Layer
=
layer
;
if
(
DisplayOpt
.
ContrastModeDisplay
)
GetScreen
()
->
SetRefreshReq
();
}
pcbnew/hotkeys.cpp
View file @
1a30862d
...
...
@@ -74,7 +74,7 @@ MODULE* module = NULL;
DrawPanel
->
MouseToCursorSchema
();
End_Route
(
(
TRACK
*
)
(
GetScreen
()
->
m_CurrentItem
),
DC
);
break
;
case
'v'
:
//
Rotation
case
'v'
:
//
Switch to alternate layer and Place a via if a track is in progress
case
'V'
:
if
(
m_ID_current_state
!=
ID_TRACK_BUTT
)
return
;
if
(
ItemFree
)
...
...
pcbnew/tool_pcb.cpp
View file @
1a30862d
...
...
@@ -46,6 +46,7 @@
#include "general_ratsnet.xpm"
#include "add_cotation.xpm"
#define SEL_LAYER_HELP _("Show active layer selections\nand select layer pair for route and place via")
/* Data to build the layer pair indicator button */
static
wxBitmap
*
LayerPairBitmap
=
NULL
;
...
...
@@ -167,8 +168,7 @@ wxMemoryDC iconDC;
int
pos
=
m_HToolBar
->
GetToolPos
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
);
m_HToolBar
->
DeleteTool
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
);
m_HToolBar
->
InsertTool
(
pos
,
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
,
*
LayerPairBitmap
,
wxNullBitmap
,
false
,
NULL
,
_
(
"Show active layer selections
\n
and select layer pair for route and place via"
));
wxNullBitmap
,
false
,
NULL
,
SEL_LAYER_HELP
);
m_HToolBar
->
Realize
();
#endif
}
...
...
@@ -254,7 +254,7 @@ int ii;
ReCreateLayerBox
(
m_HToolBar
);
PrepareLayerIndicator
();
// Initialise the bitmap with current active layer colors for the next tool
m_HToolBar
->
AddTool
(
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR
,
wxEmptyString
,
*
LayerPairBitmap
,
_
(
"Show active layer selections
\n
and select layer pair for route and place via"
)
);
SEL_LAYER_HELP
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddTool
(
ID_TOOLBARH_PCB_AUTOPLACE
,
wxEmptyString
,
BITMAP
(
mode_module_xpm
),
...
...
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