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
124074c6
Commit
124074c6
authored
Feb 16, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: minor change to avoid potential problems with power symbols.
parent
0f06d8a1
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
96 additions
and
95 deletions
+96
-95
class_libentry.cpp
eeschema/class_libentry.cpp
+4
-4
class_libentry.h
eeschema/class_libentry.h
+7
-7
dialog_print_using_printer.cpp
eeschema/dialog_print_using_printer.cpp
+2
-0
onrightclick.cpp
eeschema/onrightclick.cpp
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+82
-83
No files found.
eeschema/class_libentry.cpp
View file @
124074c6
...
...
@@ -49,7 +49,6 @@ CMP_LIB_ENTRY::CMP_LIB_ENTRY( CMP_LIB_ENTRY& aEntry, CMP_LIBRARY* aLibrary ) :
description
=
aEntry
.
description
;
keyWords
=
aEntry
.
keyWords
;
docFileName
=
aEntry
.
docFileName
;
options
=
aEntry
.
options
;
library
=
aLibrary
;
}
...
...
@@ -181,7 +180,7 @@ LIB_COMPONENT::LIB_COMPONENT( const wxString& aName, CMP_LIBRARY* aLibrary ) :
m_LastDate
=
0
;
unitCount
=
1
;
m_TextInside
=
40
;
options
=
ENTRY_NORMAL
;
m_
options
=
ENTRY_NORMAL
;
m_UnitSelectionLocked
=
FALSE
;
m_DrawPinNum
=
1
;
m_DrawPinName
=
1
;
...
...
@@ -209,6 +208,7 @@ LIB_COMPONENT::LIB_COMPONENT( LIB_COMPONENT& aComponent, CMP_LIBRARY* aLibrary )
m_DrawPinNum
=
aComponent
.
m_DrawPinNum
;
m_DrawPinName
=
aComponent
.
m_DrawPinName
;
m_LastDate
=
aComponent
.
m_LastDate
;
m_options
=
aComponent
.
m_options
;
BOOST_FOREACH
(
LIB_DRAW_ITEM
&
oldItem
,
aComponent
.
GetDrawItemList
()
)
{
...
...
@@ -497,7 +497,7 @@ bool LIB_COMPONENT::Save( FILE* aFile )
m_DrawPinNum
?
'Y'
:
'N'
,
m_DrawPinName
?
'Y'
:
'N'
,
unitCount
,
m_UnitSelectionLocked
?
'L'
:
'F'
,
options
==
ENTRY_POWER
?
'P'
:
'N'
)
<
0
)
m_
options
==
ENTRY_POWER
?
'P'
:
'N'
)
<
0
)
return
false
;
if
(
!
SaveDateAndTime
(
aFile
)
)
...
...
@@ -662,7 +662,7 @@ bool LIB_COMPONENT::Load( FILE* aFile, char* aLine, int* aLineNum,
if
(
(
p
=
strtok
(
NULL
,
"
\t\n
"
)
)
!=
NULL
&&
*
p
==
'L'
)
m_UnitSelectionLocked
=
true
;
if
(
(
p
=
strtok
(
NULL
,
"
\t\n
"
)
)
!=
NULL
&&
*
p
==
'P'
)
options
=
ENTRY_POWER
;
m_
options
=
ENTRY_POWER
;
/* Read next lines */
while
(
GetLine
(
aFile
,
aLine
,
aLineNum
,
1024
)
)
...
...
eeschema/class_libentry.h
View file @
124074c6
...
...
@@ -52,7 +52,6 @@ protected:
wxString
keyWords
;
/* keyword list (used for search for
* components by keyword) */
wxString
docFileName
;
/* Associate doc file name */
LibrEntryOptions
options
;
// special features (i.e. Entry is a POWER)
public
:
CMP_LIB_ENTRY
(
LibrEntryType
aType
,
const
wxString
&
aName
,
...
...
@@ -78,12 +77,6 @@ public:
int
GetType
()
{
return
type
;
}
bool
isPower
()
{
return
options
==
ENTRY_POWER
;
}
bool
isNormal
()
{
return
options
==
ENTRY_NORMAL
;
}
void
SetPower
()
{
options
=
ENTRY_POWER
;
}
void
SetNormal
()
{
options
=
ENTRY_NORMAL
;
}
void
SetDescription
(
const
wxString
&
aDescription
)
{
description
=
aDescription
;
...
...
@@ -161,6 +154,7 @@ public:
long
m_LastDate
;
// Last change Date
protected
:
LibrEntryOptions
m_options
;
// special features (i.e. Entry is a POWER)
int
unitCount
;
/* Units (parts) per package */
LIB_DRAW_ITEM_LIST
drawings
;
/* How to draw this part */
...
...
@@ -212,6 +206,12 @@ public:
bool
LoadFootprints
(
FILE
*
aFile
,
char
*
aLine
,
int
*
aLineNum
,
wxString
&
aErrorMsg
);
bool
isPower
()
{
return
m_options
==
ENTRY_POWER
;
}
bool
isNormal
()
{
return
m_options
==
ENTRY_NORMAL
;
}
void
SetPower
()
{
m_options
=
ENTRY_POWER
;
}
void
SetNormal
()
{
m_options
=
ENTRY_NORMAL
;
}
/**
* Initialize fields from a vector of fields.
*
...
...
eeschema/dialog_print_using_printer.cpp
View file @
124074c6
...
...
@@ -319,7 +319,9 @@ bool SCH_PRINTOUT::OnBeginDocument( int startPage, int endPage )
if
(
!
wxPrintout
::
OnBeginDocument
(
startPage
,
endPage
)
)
return
false
;
#ifdef __WXDEBUG__
WinEDA_SchematicFrame
*
parent
=
m_Parent
->
GetParent
();
#endif
wxLogDebug
(
wxT
(
"Printer name: "
)
+
parent
->
GetPageSetupData
().
GetPrintData
().
GetPrinterName
()
);
wxLogDebug
(
wxT
(
"Paper ID: %d"
),
...
...
eeschema/onrightclick.cpp
View file @
124074c6
...
...
@@ -316,7 +316,7 @@ void AddMenusForComponent( wxMenu* PopMenu, SCH_COMPONENT* Component )
ADD_MENUITEM
(
editmenu
,
ID_POPUP_SCH_EDIT_CMP
,
msg
,
edit_component_xpm
);
if
(
lib
Entry
&&
libEntry
->
isNormal
()
)
if
(
lib
Component
&&
libComponent
->
isNormal
()
)
{
msg
=
AddHotkeyName
(
_
(
"Value "
),
s_Schematic_Hokeys_Descr
,
HK_EDIT_COMPONENT_VALUE
);
...
...
internat/fr/kicad.mo
View file @
124074c6
No preview for this file type
internat/fr/kicad.po
View file @
124074c6
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-02-16 1
1:02
+0100\n"
"PO-Revision-Date: 2010-02-16 1
1:04
+0100\n"
"POT-Creation-Date: 2010-02-16 1
7:20
+0100\n"
"PO-Revision-Date: 2010-02-16 1
7:20
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -1936,7 +1936,7 @@ msgstr "Grille"
msgid "User Grid"
msgstr "Grille perso"
#: pcbnew/tool_pcb.cpp:7
61
#: pcbnew/tool_pcb.cpp:7
57
msgid "+/- to switch"
msgstr "+/- pour commuter"
...
...
@@ -8348,66 +8348,66 @@ msgstr "Appel de CvPcb (Gestion des associations composants/modules)"
msgid "Run pcbnew"
msgstr "Appel de Pcbnew"
#: eeschema/tool_sch.cpp:11
5
#: eeschema/tool_sch.cpp:11
7
msgid "Netlist generation"
msgstr "Génération de la netliste"
#: eeschema/tool_sch.cpp:1
19
#: eeschema/tool_sch.cpp:1
21
msgid "Annotate schematic"
msgstr "Annotation de la schématique"
#: eeschema/tool_sch.cpp:12
2
#: eeschema/tool_sch.cpp:12
4
msgid "Schematic Electric Rules Check"
msgstr "Contrôle des règles électriques"
#: eeschema/tool_sch.cpp:12
5
#: eeschema/tool_sch.cpp:12
7
msgid "Bill of material and/or Cross references"
msgstr "Liste des composants ou/et références croisées"
#: eeschema/tool_sch.cpp:1
29
#: eeschema/tool_sch.cpp:1
31
msgid "Backannotate footprint"
msgstr "Rétroannotation module"
#: eeschema/tool_sch.cpp:15
3
#: eeschema/tool_sch.cpp:15
5
msgid "Hierarchy Push/Pop"
msgstr "Navigation dans la hiérarchie"
#: eeschema/tool_sch.cpp:1
58
#: eeschema/tool_sch.cpp:1
60
msgid "Place a component"
msgstr "Placer un Composant"
#: eeschema/tool_sch.cpp:16
2
#: eeschema/tool_sch.cpp:16
4
msgid "Place a power port"
msgstr "Placer un Symbole Power"
#: eeschema/tool_sch.cpp:16
7
#: eeschema/tool_sch.cpp:16
9
msgid "Place a wire"
msgstr "Placer un fil"
#: eeschema/tool_sch.cpp:17
1
#: eeschema/tool_sch.cpp:17
3
msgid "Place a bus"
msgstr "Placer un bus"
#: eeschema/tool_sch.cpp:17
5
#: eeschema/tool_sch.cpp:17
7
#: eeschema/menubar.cpp:289
msgid "Place a wire to bus entry"
msgstr "Placer une Entrée de Bus (type fil vers bus)"
#: eeschema/tool_sch.cpp:1
79
#: eeschema/tool_sch.cpp:1
81
#: eeschema/menubar.cpp:296
msgid "Place a bus to bus entry"
msgstr "Placer une Entrée de Bus (type bus vers bus)"
#: eeschema/tool_sch.cpp:18
4
#: eeschema/tool_sch.cpp:18
6
msgid "Place no connect flag"
msgstr "Placer symbole de non connexion"
#: eeschema/tool_sch.cpp:1
88
#: eeschema/tool_sch.cpp:1
90
#: eeschema/menubar.cpp:308
msgid "Place net name"
msgstr "Place nom de net"
#: eeschema/tool_sch.cpp:19
2
#: eeschema/tool_sch.cpp:19
4
msgid ""
"Place a global label.\n"
"Warning: all global labels with the same name are connected in whole hierarchy"
...
...
@@ -8415,40 +8415,40 @@ msgstr ""
"Placer un label global.\n"
"Attention: tous les labels globaux avec le même nom sont connectés dans toute la hiérarchie"
#: eeschema/tool_sch.cpp:19
7
#: eeschema/tool_sch.cpp:19
9
msgid "Place a junction"
msgstr "Placer une jonction"
#: eeschema/tool_sch.cpp:20
2
#: eeschema/tool_sch.cpp:20
4
#: eeschema/menubar.cpp:331
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"
#: eeschema/tool_sch.cpp:20
7
#: eeschema/tool_sch.cpp:20
9
msgid "Place hierarchical sheet"
msgstr "Placer feuille hiérarchique"
#: eeschema/tool_sch.cpp:21
1
#: eeschema/tool_sch.cpp:21
3
msgid "Place a pin sheet, imported from the corresponding hierarchical label in sheet"
msgstr "Placer une pin hiérarchique, importée du label hiérarchique correspondant dans la feuille."
#: eeschema/tool_sch.cpp:21
6
#: eeschema/tool_sch.cpp:21
8
msgid "Place hierarchical pin to sheet"
msgstr "Addition de pins de hiérarchie dans les feuilles symboles de hiérarchie"
#: eeschema/tool_sch.cpp:22
1
#: eeschema/tool_sch.cpp:22
3
msgid "Place graphic line or polygon"
msgstr "Placer ligne ou polygone graphique"
#: eeschema/tool_sch.cpp:22
5
#: eeschema/tool_sch.cpp:22
7
msgid "Place graphic text (comment)"
msgstr "Placer textes graphiques (commentaires)"
#: eeschema/tool_sch.cpp:2
49
#: eeschema/tool_sch.cpp:2
51
msgid "Turn grid off"
msgstr "Ne pas afficher la grille"
#: eeschema/tool_sch.cpp:27
1
#: eeschema/tool_sch.cpp:27
3
msgid "HV orientation for wires and bus"
msgstr "Force direction H, V pour les fils et bus"
...
...
@@ -8485,44 +8485,10 @@ msgid "Insert component in schematic"
msgstr "Placer composant en schématique"
#: eeschema/tool_viewlib.cpp:147
#: eeschema/libframe.cpp:420
#, c-format
msgid "Part %c"
msgstr "Composant %c"
#: eeschema/libframe.cpp:297
msgid ""
"Component was modified!\n"
"Discard changes?"
msgstr ""
"Le composant a été modifié\n"
"Perdre les changements"
#: eeschema/libframe.cpp:310
#, c-format
msgid ""
"Library \"%s\" was modified!\n"
"Discard changes?"
msgstr ""
"Librairie \"%s\" modifiée!\n"
"Perdre les changements ?"
#: eeschema/libframe.cpp:687
msgid "Set pin options"
msgstr "Choix options de pin"
#: eeschema/libframe.cpp:716
msgid "Add line"
msgstr "Addition de lignes"
#: eeschema/libframe.cpp:720
msgid "Set anchor position"
msgstr "Ajuster Position Ancre"
#: eeschema/libframe.cpp:730
msgid "Export"
msgstr "Exporter"
#: eeschema/onrightclick.cpp:108
msgid "Leave Sheet"
msgstr "Quitter sous-feuille"
...
...
@@ -9673,6 +9639,39 @@ msgstr ""
msgid "User defined search path"
msgstr "Chemin de recherche défini par l'utilisateur"
#: eeschema/libeditframe.cpp:299
msgid ""
"Component was modified!\n"
"Discard changes?"
msgstr ""
"Le composant a été modifié\n"
"Perdre les changements"
#: eeschema/libeditframe.cpp:312
#, c-format
msgid ""
"Library \"%s\" was modified!\n"
"Discard changes?"
msgstr ""
"Librairie \"%s\" modifiée!\n"
"Perdre les changements ?"
#: eeschema/libeditframe.cpp:689
msgid "Set pin options"
msgstr "Choix options de pin"
#: eeschema/libeditframe.cpp:718
msgid "Add line"
msgstr "Addition de lignes"
#: eeschema/libeditframe.cpp:722
msgid "Set anchor position"
msgstr "Ajuster Position Ancre"
#: eeschema/libeditframe.cpp:732
msgid "Export"
msgstr "Exporter"
#: eeschema/netlist_control.cpp:130
#: eeschema/netlist_control.cpp:254
msgid "Default format"
...
...
@@ -12477,7 +12476,7 @@ msgstr "Sélection par Viewer"
msgid "Load Error!"
msgstr "Erreur de Chargement!"
#: common/hotkeys_basic.cpp:3
54
#: common/hotkeys_basic.cpp:3
67
msgid ""
"Current hotkey list:\n"
"\n"
...
...
@@ -12485,87 +12484,87 @@ msgstr ""
"Liste des Hotkeys courantes:\n"
"\n"
#: common/hotkeys_basic.cpp:3
62
#: common/hotkeys_basic.cpp:3
75
msgid "key "
msgstr "touche: "
#: common/hotkeys_basic.cpp:4
15
#: common/hotkeys_basic.cpp:4
28
msgid "Save Hotkey Configuration File:"
msgstr "Sauver Fichier Configuration des Hotkeys:"
#: common/hotkeys_basic.cpp:4
47
#: common/hotkeys_basic.cpp:4
60
msgid "Allowed keys:\n"
msgstr "Touches autorisées:\n"
#: common/hotkeys_basic.cpp:5
32
#: common/hotkeys_basic.cpp:5
45
msgid "Open Hotkey Configuration File:"
msgstr "Ouvrir Fichier Configuration des Hotkeys:"
#: common/hotkeys_basic.cpp:5
50
#: common/hotkeys_basic.cpp:5
63
msgid "Unable to read "
msgstr "Impossible de lire "
#: common/hotkeys_basic.cpp:6
68
#: common/hotkeys_basic.cpp:6
81
msgid "List Current Keys"
msgstr "Lister Touches Courantes"
#: common/hotkeys_basic.cpp:6
69
#: common/hotkeys_basic.cpp:6
82
msgid "Displays the current hotkeys list and corresponding commands"
msgstr "Afficher la liste des hotkeyc courante et les commandes correspondantes"
#: common/hotkeys_basic.cpp:6
75
#: common/hotkeys_basic.cpp:6
88
msgid "(Re)create Hotkeys File"
msgstr "(Re)créer Fichier Hotkeys"
#: common/hotkeys_basic.cpp:6
77
#: common/hotkeys_basic.cpp:6
90
msgid "Create or recreate the hotkey configuration file from current hotkey list"
msgstr "Créer ou recréer le fichier configuration des Hotkeys à partir de la liste courante"
#: common/hotkeys_basic.cpp:6
84
#: common/hotkeys_basic.cpp:6
97
msgid "Reload Hotkeys File"
msgstr "Relire Fichiers Hotkeys"
#: common/hotkeys_basic.cpp:6
85
#: common/hotkeys_basic.cpp:6
98
msgid "Reload the hotkey configuration file"
msgstr "Relire les fichiers configuration des hotkeys"
#: common/hotkeys_basic.cpp:
691
#: common/hotkeys_basic.cpp:
704
msgid "Edit Hotkeys File"
msgstr "Editer Fichier Hotkeys"
#: common/hotkeys_basic.cpp:
692
#: common/hotkeys_basic.cpp:
705
msgid "Edit the hotkey configuration file in a text editor"
msgstr "Editer les fichiers configuration des hotkeys"
#: common/hotkeys_basic.cpp:
698
#: common/hotkeys_basic.cpp:
711
msgid "Hotkeys"
msgstr "Hotkeys"
#: common/hotkeys_basic.cpp:
699
#: common/hotkeys_basic.cpp:
712
msgid "Hotkeys configuration and preferences"
msgstr "Options et préférences générales des hotkeys"
#: common/hotkeys_basic.cpp:7
07
#: common/hotkeys_basic.cpp:7
20
msgid "Home directory"
msgstr "Répertoire d'accueil (home)"
#: common/hotkeys_basic.cpp:7
08
#: common/hotkeys_basic.cpp:7
21
msgid "Use home directory to load or store Hotkey config files"
msgstr "Utiliser le répertoire d'accueil pour charger ou sauver les fichiers de config des Hotkeys"
#: common/hotkeys_basic.cpp:7
15
#: common/hotkeys_basic.cpp:7
28
msgid "KiCad template directory"
msgstr "kicad/template répertoire"
#: common/hotkeys_basic.cpp:7
16
#: common/hotkeys_basic.cpp:7
29
msgid "Use kicad/template directory to load or store Hotkey config files"
msgstr "Utiliser répertoire kicad/template pour charger ou sauver les fichiers de config des Hotkeys"
#: common/hotkeys_basic.cpp:7
22
#: common/hotkeys_basic.cpp:7
35
msgid "Location"
msgstr "Emplacement"
#: common/hotkeys_basic.cpp:7
23
#: common/hotkeys_basic.cpp:7
36
msgid "Select hotkey configuration file location"
msgstr "Sélectionner l'emplacement du fichier fonfiguration des hotkeys:"
...
...
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