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
aceb988a
Commit
aceb988a
authored
Feb 22, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: Cvpcb: Open net list command not working
parent
d1e0429a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
28 deletions
+34
-28
cvframe.cpp
cvpcb/cvframe.cpp
+17
-11
init.cpp
cvpcb/init.cpp
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+16
-16
No files found.
cvpcb/cvframe.cpp
View file @
aceb988a
...
@@ -129,6 +129,8 @@ BEGIN_EVENT_TABLE( WinEDA_CvpcbFrame, wxFrame )
...
@@ -129,6 +129,8 @@ BEGIN_EVENT_TABLE( WinEDA_CvpcbFrame, wxFrame )
EVT_MENU_RANGE
(
wxID_FILE1
,
wxID_FILE9
,
WinEDA_CvpcbFrame
::
LoadNetList
)
EVT_MENU_RANGE
(
wxID_FILE1
,
wxID_FILE9
,
WinEDA_CvpcbFrame
::
LoadNetList
)
// Menu events
// Menu events
EVT_MENU
(
ID_LOAD_PROJECT
,
WinEDA_CvpcbFrame
::
LoadNetList
)
EVT_MENU
(
ID_SAVE_PROJECT
,
EVT_MENU
(
ID_SAVE_PROJECT
,
WinEDA_CvpcbFrame
::
SaveQuitCvpcb
)
WinEDA_CvpcbFrame
::
SaveQuitCvpcb
)
EVT_MENU
(
ID_CVPCB_QUIT
,
EVT_MENU
(
ID_CVPCB_QUIT
,
...
@@ -386,29 +388,33 @@ void WinEDA_CvpcbFrame::DelAssociations( wxCommandEvent& event )
...
@@ -386,29 +388,33 @@ void WinEDA_CvpcbFrame::DelAssociations( wxCommandEvent& event )
void
WinEDA_CvpcbFrame
::
LoadNetList
(
wxCommandEvent
&
event
)
void
WinEDA_CvpcbFrame
::
LoadNetList
(
wxCommandEvent
&
event
)
/***********************************************************/
/***********************************************************/
/*
Fonction liee au boutton "Load"
/*
Called when click on Load Netlist button or by menu files
*
Lit la netliste
*
Read a netlist slected by user
*/
*/
{
{
bool
newfile
;
bool
newfile
;
wxString
oldfilename
;
wxString
oldfilename
;
wxString
fn
;
wxString
fullfilename
;
int
id
=
event
.
GetId
();
fn
=
GetFileFromHistory
(
event
.
GetId
(),
_
(
"Gerber"
)
);
// Get a filename from history. if fullfilename is void,
// a name will be asked to user, later.
if
(
id
>=
wxID_FILE1
&&
id
<=
wxID_FILE9
)
// Called by clicking on an old filename in file history
fullfilename
=
GetFileFromHistory
(
event
.
GetId
(),
_
(
"Netlist"
)
);
if
(
!
NetInNameBuffer
.
IsEmpty
()
)
if
(
!
NetInNameBuffer
.
IsEmpty
()
)
{
{
oldfilename
=
NetInNameBuffer
;
oldfilename
=
NetInNameBuffer
;
}
}
if
(
fn
!=
wxEmptyString
)
// Read the file fullfilename. If fullfilename is void,
{
// The user will be prompted for a filename.
newfile
=
ReadInputNetList
(
fn
);
// newfile = true if a file is read.
newfile
=
ReadInputNetList
(
fullfilename
);
if
(
newfile
&&
!
oldfilename
.
IsEmpty
()
)
if
(
newfile
&&
!
oldfilename
.
IsEmpty
()
)
{
{
SetLastProject
(
NetInNameBuffer
);
SetLastProject
(
NetInNameBuffer
);
}
}
}
ReCreateMenuBar
();
ReCreateMenuBar
();
...
...
cvpcb/init.cpp
View file @
aceb988a
...
@@ -207,7 +207,7 @@ bool WinEDA_CvpcbFrame::ReadInputNetList( const wxString& FullFileName )
...
@@ -207,7 +207,7 @@ bool WinEDA_CvpcbFrame::ReadInputNetList( const wxString& FullFileName )
Mask
=
wxT
(
"*"
)
+
NetInExtBuffer
;
Mask
=
wxT
(
"*"
)
+
NetInExtBuffer
;
else
else
Mask
=
wxT
(
"*.net"
);
Mask
=
wxT
(
"*.net"
);
Line
=
EDA_FileSelector
(
_
(
"
Load Net List
"
),
Line
=
EDA_FileSelector
(
_
(
"
Open NetList File:
"
),
NetDirBuffer
,
/* Chemin par defaut */
NetDirBuffer
,
/* Chemin par defaut */
NetInNameBuffer
,
/* nom fichier par defaut */
NetInNameBuffer
,
/* nom fichier par defaut */
NetInExtBuffer
,
/* extension par defaut */
NetInExtBuffer
,
/* extension par defaut */
...
...
internat/fr/kicad.mo
View file @
aceb988a
No preview for this file type
internat/fr/kicad.po
View file @
aceb988a
...
@@ -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: 2009-02-2
1 20:41
+0100\n"
"POT-Creation-Date: 2009-02-2
2 11:36
+0100\n"
"PO-Revision-Date: 2009-02-2
1 20:41
+0100\n"
"PO-Revision-Date: 2009-02-2
2 11:37
+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"
...
@@ -8998,8 +8998,8 @@ msgid "Unable to create netlist file"
...
@@ -8998,8 +8998,8 @@ msgid "Unable to create netlist file"
msgstr "Impossible de créer le fichier netliste "
msgstr "Impossible de créer le fichier netliste "
#: cvpcb/init.cpp:210
#: cvpcb/init.cpp:210
msgid "
Load Net List
"
msgid "
Open NetList File:
"
msgstr "
Lire Netliste
"
msgstr "
Ouvrir Fichier Netliste:
"
#: cvpcb/autosel.cpp:70
#: cvpcb/autosel.cpp:70
#, c-format
#, c-format
...
@@ -9037,7 +9037,7 @@ msgstr "Redessin (F3)"
...
@@ -9037,7 +9037,7 @@ msgstr "Redessin (F3)"
msgid "1:1 zoom"
msgid "1:1 zoom"
msgstr "1:1 zoom"
msgstr "1:1 zoom"
#: cvpcb/cvframe.cpp:21
3
#: cvpcb/cvframe.cpp:21
5
msgid ""
msgid ""
"Net and component list modified.\n"
"Net and component list modified.\n"
" Save before exit ?"
" Save before exit ?"
...
@@ -9045,35 +9045,31 @@ msgstr ""
...
@@ -9045,35 +9045,31 @@ msgstr ""
"Netlist et liste composants modifiés,\n"
"Netlist et liste composants modifiés,\n"
"Sauver avant de quitter ?"
"Sauver avant de quitter ?"
#: cvpcb/cvframe.cpp:23
6
#: cvpcb/cvframe.cpp:23
8
msgid "Problem when saving files, exit anyway ?"
msgid "Problem when saving files, exit anyway ?"
msgstr "Problème en sauvant les fichiers, quitter quand même"
msgstr "Problème en sauvant les fichiers, quitter quand même"
#: cvpcb/cvframe.cpp:36
5
#: cvpcb/cvframe.cpp:36
7
msgid "Delete selections"
msgid "Delete selections"
msgstr "Effacement des associations existantes"
msgstr "Effacement des associations existantes"
#: cvpcb/cvframe.cpp:397
#: cvpcb/cvframe.cpp:461
msgid "Gerber"
msgstr "Gerber "
#: cvpcb/cvframe.cpp:455
msgid "Dialog boxes"
msgid "Dialog boxes"
msgstr "Fenêtres de dialogue"
msgstr "Fenêtres de dialogue"
#: cvpcb/cvframe.cpp:46
0
#: cvpcb/cvframe.cpp:46
6
msgid "Lists"
msgid "Lists"
msgstr "Listes"
msgstr "Listes"
#: cvpcb/cvframe.cpp:4
65
#: cvpcb/cvframe.cpp:4
71
msgid "Status box"
msgid "Status box"
msgstr "Fenêtre d'état"
msgstr "Fenêtre d'état"
#: cvpcb/cvframe.cpp:47
1
#: cvpcb/cvframe.cpp:47
7
msgid "&Font"
msgid "&Font"
msgstr "&Fonte"
msgstr "&Fonte"
#: cvpcb/cvframe.cpp:47
2
#: cvpcb/cvframe.cpp:47
8
msgid "Choose font type and size for dialogs, information and status box"
msgid "Choose font type and size for dialogs, information and status box"
msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'état"
msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'état"
...
@@ -11037,6 +11033,10 @@ msgstr "DCodes id."
...
@@ -11037,6 +11033,10 @@ msgstr "DCodes id."
msgid "Page Settings"
msgid "Page Settings"
msgstr "Ajustage opt Page"
msgstr "Ajustage opt Page"
#~ msgid "Load Net List"
#~ msgstr "Lire Netliste"
#~ msgid "Gerber"
#~ msgstr "Gerber "
#~ msgid "&Delete layer"
#~ msgid "&Delete layer"
#~ msgstr "&Effacer couche"
#~ msgstr "&Effacer couche"
#~ msgid "Export this Via Hole to Alt Value"
#~ msgid "Export this Via Hole to Alt Value"
...
...
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