Cosmetic enhancements.

patch for relative paths.
This commit is contained in:
charras 2010-01-20 12:43:05 +00:00
parent 9d400e4c19
commit 5861a43dd4
19 changed files with 784 additions and 146 deletions

View File

@ -126,6 +126,7 @@ set(BITMAP_SRCS
Export_Module.xpm Export_Module.xpm
Export_Options_Pad.xpm Export_Options_Pad.xpm
export.xpm export.xpm
fabrication.xpm
File_FootPrint.xpm File_FootPrint.xpm
fill_zone.xpm fill_zone.xpm
find_xpm.xpm find_xpm.xpm
@ -285,6 +286,7 @@ set(BITMAP_SRCS
Orient.xpm Orient.xpm
Pad_Sketch.xpm Pad_Sketch.xpm
pad.xpm pad.xpm
pads_mask_layers.xpm
palette.xpm palette.xpm
part_properties.xpm part_properties.xpm
paste.xpm paste.xpm

38
bitmaps/fabrication.xpm Normal file
View File

@ -0,0 +1,38 @@
/* XPM */
const char *fabrication_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 16 1",
"- c #5D7FB0",
"O c #7493A6",
"& c #AFB6BF",
"X c #C2AA9C",
"# c #8B6C60",
"o c #8DA4BD",
"= c #94817F",
"$ c #69839C",
"% c #6C493D",
" c None",
"+ c #A78372",
"; c #4973A9",
"@ c #755A52",
". c #B6917F",
"* c #708EB8",
": c #3C6397",
/* pixels */
" ...X oO ",
" +@#X o$$$",
" +%. OOOO$",
"X.& &+%. $OO$ ",
".#+.+%%+ ooO*& ",
" +%%%%%%.ooO& ",
" &.=.=%%@oO ",
" &.@o$. ",
" &**$$%@. ",
" &**-;=@%@. ",
" o***;-&+@%#. ",
" **o*:;o +@%#. ",
"*o *:-o +@#+X",
"*o-:;* .==.",
"*-:;- .. ",
" *-- "
};

View File

@ -0,0 +1,38 @@
/* XPM */
const char *pads_mask_layers_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 16 1",
"= c #9E0808",
"- c #AC2A2C",
"X c #5E9A86",
"* c #782222",
"% c #54392C",
"$ c #B19D9F",
" c None",
"@ c #376836",
"o c #629B65",
": c #B48684",
"+ c #347E47",
"O c #3C8C57",
"# c #2E551D",
"; c #B46E6E",
". c #8FAD90",
"& c #4C5E44",
/* pixels */
" ",
" ",
" ....X ",
".XoXoooooooOo ",
".OoOOOOOOOOOo. ",
" O+++@@@@##@Oo ",
" X@#########+o. ",
" $O#########@Oo ",
" X@#########+o.",
" O######%#%&X ",
" X&%%%*****=$ ",
" $========-; ",
" ;;;:$ ",
" ",
" ",
" "
};

View File

@ -0,0 +1,371 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:export-ydpi="93.251205"
inkscape:export-xdpi="93.251205"
inkscape:export-filename="F:\kicad-sourceforge\trunk\kicad\bitmaps\sources\fabrication.png"
width="16"
height="16"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.47 r22583"
sodipodi:docname="fabrication.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<title
id="title2867">fabrication.svg</title>
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 8 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="16 : 8 : 1"
inkscape:persp3d-origin="8 : 5.3333333 : 1"
id="perspective62" />
<linearGradient
inkscape:collect="always"
id="linearGradient2250">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2252" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2254" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2265">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2267" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop2269" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2257">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2259" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2261" />
</linearGradient>
<linearGradient
id="linearGradient3087">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop3089" />
<stop
id="stop3095"
offset="0"
style="stop-color:#9fbce1;stop-opacity:1;" />
<stop
style="stop-color:#6b95ca;stop-opacity:1;"
offset="0"
id="stop2242" />
<stop
id="stop2244"
offset="0.75"
style="stop-color:#3d6aa5;stop-opacity:1;" />
<stop
style="stop-color:#386eb4;stop-opacity:1;"
offset="1"
id="stop3091" />
</linearGradient>
<linearGradient
id="linearGradient3077">
<stop
style="stop-color:#98a0a9;stop-opacity:1;"
offset="0"
id="stop3079" />
<stop
style="stop-color:#c3d0dd;stop-opacity:1;"
offset="1"
id="stop3081" />
</linearGradient>
<linearGradient
id="linearGradient3061">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3063" />
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="1"
id="stop3065" />
</linearGradient>
<linearGradient
id="linearGradient3049">
<stop
style="stop-color:#b6b6b6;stop-opacity:1;"
offset="0"
id="stop3051" />
<stop
id="stop2262"
offset="0.5"
style="stop-color:#f2f2f2;stop-opacity:1;" />
<stop
style="stop-color:#fafafa;stop-opacity:1;"
offset="0.67612958"
id="stop2264" />
<stop
id="stop2268"
offset="0.84051722"
style="stop-color:#d8d8d8;stop-opacity:1;" />
<stop
id="stop2266"
offset="0.875"
style="stop-color:#f2f2f2;stop-opacity:1;" />
<stop
style="stop-color:#dbdbdb;stop-opacity:1;"
offset="1"
id="stop3053" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3041">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3043" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3045" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="radialGradient3047"
cx="24.8125"
cy="39.125"
fx="24.8125"
fy="39.125"
r="17.6875"
gradientTransform="matrix(1,0,0,0.374558,0,24.47041)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3061"
id="linearGradient3067"
x1="50.152931"
y1="-3.6324477"
x2="25.291086"
y2="-4.3002653"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.34034962,0,0,0.34062279,22.978872,22.901528)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3087"
id="linearGradient3093"
x1="9.7503242"
y1="32.28376"
x2="16.915297"
y2="39.443218"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.3457467,0,0,0.33514331,-0.35568353,31.931493)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2257"
id="linearGradient2263"
x1="12.004697"
y1="35.688461"
x2="10.650805"
y2="33.194965"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.39652356,-0.01006086,0.01037915,0.38436293,-0.72713954,30.06607)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2265"
id="linearGradient2271"
x1="14.017542"
y1="36.942543"
x2="15.415793"
y2="38.268368"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.34567937,-0.00661064,0.00681979,0.33507805,-0.50264035,31.588139)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2250"
id="linearGradient2256"
x1="31.177404"
y1="19.821514"
x2="40.859177"
y2="9.6568537"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.39366788,0,0,0.38159483,-1.3544142,30.03585)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="radialGradient2260"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.374558,0,24.47041)"
cx="24.8125"
cy="39.125"
fx="24.8125"
fy="39.125"
r="17.6875" />
</defs>
<sodipodi:namedview
stroke="#204a87"
fill="#3465a4"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.25490196"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="10.886799"
inkscape:cy="8.561168"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:showpageshadow="false"
inkscape:window-width="1280"
inkscape:window-height="968"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2865"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
empcolor="#0000ff"
empopacity="0.1372549"
dotted="true" />
</sodipodi:namedview>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
<dc:title>fabrication.svg</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer"
transform="translate(0,-32)">
<path
style="color:#000000;fill:#654032;fill-opacity:1;fill-rule:nonzero;stroke:#c0754f;stroke-width:0.38758424;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
d="m 5.6948838,38.131642 7.4767732,7.415045 c 0.302528,0.335143 1.261117,0.594167 1.901607,0 0.6185,-0.573772 0.475399,-1.382465 -0.129656,-1.968967 L 7.7693641,36.120782 C 8.6551166,33.735814 6.8623969,31.732607 4.5495979,32.161901 l -0.4970111,0.439874 1.5558599,1.424359 0.086438,1.25679 L 4.5332328,36.31079 3.1450027,36.162672 1.7187979,34.863991 c 0,0 -0.5000062,0.478866 -0.5000062,0.478866 -0.23256453,2.152696 2.0894812,4.076665 4.476093,2.788782 z"
id="path2140"
sodipodi:nodetypes="cczcccccccccsc"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<path
sodipodi:nodetypes="cczccccccccccc"
id="path3057"
d="m 5.7778186,37.644888 7.5595564,7.642434 c 0.234197,0.259444 0.976269,0.45996 1.472088,0 0.478799,-0.444173 0.368021,-1.070206 -0.100372,-1.524232 L 7.4295718,36.275757 C 8.0200737,33.795392 6.6978268,32.45804 4.7294873,32.505738 l -0.1063417,0.104306 1.4183548,1.234942 0.051241,1.595751 L 4.6700598,36.699429 3,36.524579 1.7494818,35.383045 1.6106597,35.547159 c -0.1230211,2.277644 2.5555814,3.314063 4.1671592,2.097729 z"
style="opacity:0.42613639;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.387584;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
<rect
style="opacity:0.17045456;color:#000000;fill:none;stroke:url(#linearGradient3067);stroke-width:0.38767719;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
id="rect3059"
width="9.0169859"
height="0.79718894"
x="31.836493"
y="21.245985"
rx="0.3425239"
ry="0.34279883"
transform="matrix(0.70900552,0.70520293,-0.72693102,0.68671049,0,0)" />
<path
style="color:#000000;fill:#5d969f;fill-opacity:1;fill-rule:nonzero;stroke:#304279;stroke-width:0.38758424;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
d="m 7.5026386,41.531538 c 0.3281383,-0.272634 5.2294194,-5.131881 5.2294194,-5.131881 l 1.210112,-0.08379 1.901607,-2.55547 -1.584248,-1.368092 -2.463444,2.052756 0,1.173002 -5.0133278,5.048094 c -0.2377007,0.230411 0.4173529,1.116734 0.7198814,0.865376 z"
id="path2144"
sodipodi:nodetypes="ccccccccc" />
<path
sodipodi:nodetypes="ccccccccc"
id="path3085"
d="m 7.4645289,41.134708 c 0.2546136,-0.211547 5.1272881,-5.048425 5.1272881,-5.048425 l 1.152888,-0.09465 1.658883,-2.160614 -1.137593,-0.97268 -2.155952,1.800162 0.06113,1.087909 -4.9901761,5.072281 c -0.1844408,0.178785 0.0488,0.51104 0.2835414,0.316003 z"
style="opacity:0.53977272;color:#000000;fill:none;stroke:url(#linearGradient2256);stroke-width:0.38758451;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
<path
style="color:#000000;fill:url(#linearGradient3093);fill-opacity:1;fill-rule:nonzero;stroke:#204a87;stroke-width:0.38758424;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
d="M 1.9781068,46.677794 C 2.4964051,47.236921 3.9360869,47.489892 4.5745211,46.406897 4.852887,45.934696 5.3988395,44.612331 7.8345357,42.487432 8.2436138,42.130958 8.676949,41.315503 8.3095934,40.875629 L 7.3587897,39.953984 c -0.3889649,-0.418931 -1.4701192,-0.223521 -1.9136884,0.362848 -1.3222352,1.753884 -3.4824154,3.150021 -3.9695542,3.318662 -0.93217401,0.32271 -0.827258,1.654652 -0.2105427,2.28823 l 0.7131024,0.75407 z"
id="path2142"
sodipodi:nodetypes="ccccccscc" />
<path
sodipodi:type="arc"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a1a1a1;stroke-width:1.13860166;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
id="path2146"
sodipodi:cx="41.875"
sodipodi:cy="37.5"
sodipodi:rx="1.375"
sodipodi:ry="1.375"
d="m 43.25,37.5 a 1.375,1.375 0 1 1 -2.75,0 1.375,1.375 0 1 1 2.75,0 z"
transform="matrix(0.34574673,0,0,0.3351433,-0.39890197,31.973384)" />
<path
sodipodi:type="arc"
style="opacity:0.60227272;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
id="path3101"
sodipodi:cx="19.003494"
sodipodi:cy="28.20101"
sodipodi:rx="1.767767"
sodipodi:ry="1.767767"
d="m 20.771261,28.20101 a 1.767767,1.767767 0 1 1 -3.535534,0 1.767767,1.767767 0 1 1 3.535534,0 z"
transform="matrix(0.22473554,0,0,0.21784333,2.2495555,34.329215)" />
<path
style="color:#000000;fill:none;stroke:url(#linearGradient2263);stroke-width:0.8893159;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
d="m 5.9988707,41.340522 c 0,0 -2.8225558,2.785495 -4.1447905,3.257693"
id="path3103"
sodipodi:nodetypes="cc" />
<path
sodipodi:nodetypes="csccccscc"
id="path2270"
d="m 2.1122255,46.24855 c 0.56738,0.666118 1.8106888,0.824714 2.2010605,-0.141415 0.2682086,-0.663789 1.3123395,-2.162036 3.2271254,-3.832492 0.321591,-0.280238 0.6622512,-0.921296 0.3734594,-1.267097 L 7.1664109,40.283011 C 6.860632,39.953676 6.0106988,40.107293 5.6619933,40.568258 4.6225382,41.947048 2.3223731,43.750589 1.7663543,43.92844 0.90548357,44.203803 1.0668095,45.157672 1.5516308,45.655749 l 0.5605947,0.592801 z"
style="opacity:0.19886367;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.38758418;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
<path
style="opacity:0.27840911;color:#000000;fill:none;stroke:url(#linearGradient2271);stroke-width:0.8893159;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
d="m 6.8435632,41.964894 c 0,0 -2.8827369,2.525168 -3.5090588,4.144137"
id="path2247"
sodipodi:nodetypes="cc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg2"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="pads_mask_layers.svg"
inkscape:export-filename="F:\kicad-sourceforge\trunk\kicad\bitmaps\sources\pads_mask_layers.png"
inkscape:export-xdpi="3.638989"
inkscape:export-ydpi="3.638989">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
<filter
id="filter2836"
inkscape:menu="Transparency utilities"
inkscape:label="Alpha repaint"
inkscape:menu-tooltip="Repaint anything monochrome">
<feFlood
id="feFlood2838"
flood-color="rgb(255,0,105)"
result="result1" />
<feComposite
id="feComposite2840"
in2="SourceGraphic"
operator="in"
result="result2" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.4"
inkscape:cx="146.09511"
inkscape:cy="834.95066"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="968"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g2830"
transform="matrix(0.04102564,0,0,0.04043321,118.50183,195.95055)">
<g
inkscape:export-ydpi="3.8497858"
inkscape:export-xdpi="3.8497858"
transform="matrix(1,0,0,1.4574528,0,-261.93189)"
id="g3756">
<rect
style="fill:#b00000;fill-opacity:1"
id="rect3750"
width="227.47855"
height="139.22588"
x="-126.96159"
y="510.54568"
transform="matrix(0.9976536,-0.06846385,0.58951154,0.80775995,0,0)" />
<rect
style="opacity:0.46153846;fill:#008080;fill-opacity:1"
id="rect3752"
width="287.80429"
height="136.86607"
x="-158.38127"
y="482.22855"
transform="matrix(0.9976536,-0.06846385,0.58951154,0.80775995,0,0)" />
<rect
style="opacity:0.46153846;fill:#008000;fill-opacity:1"
id="rect3754"
width="296.60181"
height="148.66492"
x="-143.29985"
y="455.09128"
transform="matrix(0.9976536,-0.06846385,0.58951154,0.80775995,0,0)" />
</g>
<rect
inkscape:export-ydpi="3.638989"
inkscape:export-xdpi="3.638989"
y="204.50505"
x="123.57143"
height="395.71429"
width="390"
id="rect3761"
style="opacity:0.07999998;fill:#000000;fill-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -297,6 +297,20 @@ void DIALOG_EESCHEMA_CONFIG::OnAddOrInsertPath( wxCommandEvent& event )
if ( jj >= 0 ) if ( jj >= 0 )
ipos = jj; ipos = jj;
} }
// Ask the user if this is a relative path
int diag = wxMessageBox(
_( "Use a relative path?" ),
_( "Path type" ),
wxYES_NO | wxICON_QUESTION, this );
if( diag == wxYES )
{ // Make it relative
wxFileName fn = path;
fn.MakeRelativeTo( wxT(".") );
path = fn.GetPathWithSep() + fn.GetFullName();
}
m_listUserPaths->Insert(path, ipos); m_listUserPaths->Insert(path, ipos);
m_LibPathChanged = true; m_LibPathChanged = true;
wxGetApp().InsertLibraryPath( path, ipos+1 ); wxGetApp().InsertLibraryPath( path, ipos+1 );

View File

@ -223,10 +223,10 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
/* Zoom out */ /* Zoom out */
#if !defined( __WXMAC__) #if !defined( __WXMAC__)
text = AddHotkeyName( _( "Zoom Out\t" ), s_Schematic_Hokeys_Descr, text = AddHotkeyName( _( "Zoom Out" ), s_Schematic_Hokeys_Descr,
HK_ZOOM_OUT ); HK_ZOOM_OUT );
#else #else
text = _( "Zoom out\tCtrl+-" ); text = _( "Zoom Out\tCtrl+-" );
#endif /* !defined( __WXMAC__) */ #endif /* !defined( __WXMAC__) */
item = new wxMenuItem( viewMenu, ID_ZOOM_OUT, text, _( "Zoom Out" ), item = new wxMenuItem( viewMenu, ID_ZOOM_OUT, text, _( "Zoom Out" ),

View File

@ -119,6 +119,7 @@ extern const char* exit_xpm[];
extern const char* export_module_xpm[]; extern const char* export_module_xpm[];
extern const char* export_options_pad_xpm[]; extern const char* export_options_pad_xpm[];
extern const char* export_xpm[]; extern const char* export_xpm[];
extern const char* fabrication_xpm[];
extern const char* file_footprint_xpm[]; extern const char* file_footprint_xpm[];
extern const char* fill_zone_xpm[]; extern const char* fill_zone_xpm[];
extern const char* find_xpm[]; extern const char* find_xpm[];
@ -277,6 +278,7 @@ extern const char* opt_show_polygon_xpm[];
extern const char* orient_xpm[]; extern const char* orient_xpm[];
extern const char* pad_sketch_xpm[]; extern const char* pad_sketch_xpm[];
extern const char* pad_xpm[]; extern const char* pad_xpm[];
extern const char* pads_mask_layers_xpm[];
extern const char* palette_xpm[]; extern const char* palette_xpm[];
extern const char* part_properties_xpm[]; extern const char* part_properties_xpm[];
extern const char* paste_xpm[]; extern const char* paste_xpm[];

Binary file not shown.

View File

@ -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-01-19 19:23+0100\n" "POT-Creation-Date: 2010-01-20 14:38+0100\n"
"PO-Revision-Date: 2010-01-19 19:30+0100\n" "PO-Revision-Date: 2010-01-20 14:39+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"
@ -1088,12 +1088,12 @@ msgstr "X Pos"
msgid "Y pos" msgid "Y pos"
msgstr "Y pos" msgstr "Y pos"
#: pcbnew/hotkeys.cpp:601 #: pcbnew/hotkeys.cpp:599
#, 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:794 #: pcbnew/hotkeys.cpp:797
msgid "Delete module?" msgid "Delete module?"
msgstr "Effacer Module?" msgstr "Effacer Module?"
@ -1487,6 +1487,14 @@ msgstr "Rot de la forme"
msgid "3D Shape:" msgid "3D Shape:"
msgstr "Forme 3D:" msgstr "Forme 3D:"
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:412
msgid "Use a relative path?"
msgstr "Utiliser un chemin relatif?"
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:413
msgid "Path type"
msgstr "Type de chemin"
#: pcbnew/set_color.cpp:278 #: pcbnew/set_color.cpp:278
#: pcbnew/set_color.cpp:304 #: pcbnew/set_color.cpp:304
msgid "Show None" msgid "Show None"
@ -2726,11 +2734,11 @@ msgstr "Fichiers PCB GenCAD 1.4 (.cad)|*.cad"
msgid "Save GenCAD Board File" msgid "Save GenCAD Board File"
msgstr "Sauver Fichier PCB format GenCAD" msgstr "Sauver Fichier PCB format GenCAD"
#: pcbnew/dialog_copper_zones.cpp:280 #: pcbnew/dialog_copper_zones.cpp:281
msgid "Error : Zone clearance is set to an unreasonnable value" msgid "Error : Zone clearance is set to an unreasonnable value"
msgstr "Erreur: l'isolation de zone est réglée à une valeur déraisonnable." msgstr "Erreur: l'isolation de zone est réglée à une valeur déraisonnable."
#: pcbnew/dialog_copper_zones.cpp:291 #: pcbnew/dialog_copper_zones.cpp:292
#: pcbnew/zones_non_copper_type_functions.cpp:142 #: pcbnew/zones_non_copper_type_functions.cpp:142
msgid "" msgid ""
"Error :\n" "Error :\n"
@ -2739,7 +2747,7 @@ msgstr ""
"Erreur :\n" "Erreur :\n"
"vous devez choisir une valeur pour l'épaisseur de cuivre dans les freins thermiques plus grande que 0,001 pouce (ou 0,0254 mm)" "vous devez choisir une valeur pour l'épaisseur de cuivre dans les freins thermiques plus grande que 0,001 pouce (ou 0,0254 mm)"
#: pcbnew/dialog_copper_zones.cpp:316 #: pcbnew/dialog_copper_zones.cpp:317
msgid "" msgid ""
"Error :\n" "Error :\n"
"you must choose a copper bridge value for thermal reliefs bigger than the min zone thickness" "you must choose a copper bridge value for thermal reliefs bigger than the min zone thickness"
@ -2747,16 +2755,16 @@ msgstr ""
"Erreur :\n" "Erreur :\n"
"vous devez choisir une valeur pour l'épaisseur de cuivre dans les freins thermiques plus grande que l'épaisseur de cuivre minimum des zones" "vous devez choisir une valeur pour l'épaisseur de cuivre dans les freins thermiques plus grande que l'épaisseur de cuivre minimum des zones"
#: pcbnew/dialog_copper_zones.cpp:328 #: pcbnew/dialog_copper_zones.cpp:329
#: pcbnew/zones_non_copper_type_functions.cpp:178 #: pcbnew/zones_non_copper_type_functions.cpp:178
msgid "Error : you must choose a layer" msgid "Error : you must choose a layer"
msgstr "Erreur: Vous devez choisir une couche" msgstr "Erreur: Vous devez choisir une couche"
#: pcbnew/dialog_copper_zones.cpp:340 #: pcbnew/dialog_copper_zones.cpp:341
msgid "Error : you must choose a net name" msgid "Error : you must choose a net name"
msgstr "Erreur: Vous devez choisir une équipotentielle" msgstr "Erreur: Vous devez choisir une équipotentielle"
#: pcbnew/dialog_copper_zones.cpp:347 #: pcbnew/dialog_copper_zones.cpp:348
msgid "You have chosen the \"not connected\" option. This will create insulated copper islands. Are you sure ?" msgid "You have chosen the \"not connected\" option. This will create insulated copper islands. Are you sure ?"
msgstr "Vous avez choisi l'option \"non connecté\". Cela créera des ilots de cuivre non connectés. Etes vous sûr ?" msgstr "Vous avez choisi l'option \"non connecté\". Cela créera des ilots de cuivre non connectés. Etes vous sûr ?"
@ -4170,11 +4178,11 @@ msgstr "Librairie déjà en usage"
msgid "Default Path for Libraries" msgid "Default Path for Libraries"
msgstr "Chemin par Défaut des Librairies" msgstr "Chemin par Défaut des Librairies"
#: pcbnew/dialog_pcbnew_config_libs_and_paths.cpp:275 #: pcbnew/dialog_pcbnew_config_libs_and_paths.cpp:289
msgid "Path already in use" msgid "Path already in use"
msgstr "Chemin déjà en usage" msgstr "Chemin déjà en usage"
#: pcbnew/dialog_pcbnew_config_libs_and_paths.cpp:314 #: pcbnew/dialog_pcbnew_config_libs_and_paths.cpp:328
msgid "Footprint document file:" msgid "Footprint document file:"
msgstr "Documentation des Modules:" msgstr "Documentation des Modules:"
@ -5705,7 +5713,7 @@ msgstr "Vias"
msgid "Net Length" msgid "Net Length"
msgstr "Long. Net" msgstr "Long. Net"
#: pcbnew/dialog_print_for_modedit.cpp:242 #: pcbnew/dialog_print_for_modedit.cpp:239
msgid "Print Footprint" msgid "Print Footprint"
msgstr "Imprimer Module" msgstr "Imprimer Module"
@ -6358,15 +6366,15 @@ msgstr "Change Pads du Module"
msgid "Change Pads on Same Modules" msgid "Change Pads on Same Modules"
msgstr "Change Pads des Modules id." msgstr "Change Pads des Modules id."
#: pcbnew/dialog_pad_properties.cpp:477 #: pcbnew/dialog_pad_properties.cpp:479
msgid "Incorrect value for pad drill: pad drill bigger than pad size" msgid "Incorrect value for pad drill: pad drill bigger than pad size"
msgstr "Valeur incorrecte pour diamètre de perçage: perçage plus grand que la taille du pad" msgstr "Valeur incorrecte pour diamètre de perçage: perçage plus grand que la taille du pad"
#: pcbnew/dialog_pad_properties.cpp:483 #: pcbnew/dialog_pad_properties.cpp:485
msgid "Incorrect value for pad offset" msgid "Incorrect value for pad offset"
msgstr "Valeur incorrecte pour offset du pad" msgstr "Valeur incorrecte pour offset du pad"
#: pcbnew/dialog_pad_properties.cpp:577 #: pcbnew/dialog_pad_properties.cpp:579
msgid "Unknown netname, no change" msgid "Unknown netname, no change"
msgstr "Net inconnu, pas de changement" msgstr "Net inconnu, pas de changement"
@ -6487,353 +6495,351 @@ msgstr "Fichiers de Fabrication"
msgid "Generate files for fabrication" msgid "Generate files for fabrication"
msgstr "Générer des fichiers utiles pour la fabrication du circuit" msgstr "Générer des fichiers utiles pour la fabrication du circuit"
#: pcbnew/menubar_pcbframe.cpp:139 #: pcbnew/menubar_pcbframe.cpp:140
msgid "&Specctra Session" msgid "&Specctra Session"
msgstr "&Specctra Session" msgstr "&Specctra Session"
#: pcbnew/menubar_pcbframe.cpp:140 #: pcbnew/menubar_pcbframe.cpp:141
msgid "Import a routed \"Specctra Session\" (*.ses) file" msgid "Import a routed \"Specctra Session\" (*.ses) file"
msgstr "Importer un fichier de routage \"Specctra Session\" (*.ses) " msgstr "Importer un fichier de routage \"Specctra Session\" (*.ses) "
#: pcbnew/menubar_pcbframe.cpp:154 #: pcbnew/menubar_pcbframe.cpp:155
#: eeschema/libframe.cpp:718 #: eeschema/libframe.cpp:718
msgid "Import" msgid "Import"
msgstr "Importer" msgstr "Importer"
#: pcbnew/menubar_pcbframe.cpp:155 #: pcbnew/menubar_pcbframe.cpp:156
msgid "Import files" msgid "Import files"
msgstr "Importer fichiers" msgstr "Importer fichiers"
#: pcbnew/menubar_pcbframe.cpp:163 #: pcbnew/menubar_pcbframe.cpp:164
msgid "&Specctra DSN" msgid "&Specctra DSN"
msgstr "&Specctra DSN" msgstr "&Specctra DSN"
#: pcbnew/menubar_pcbframe.cpp:164 #: pcbnew/menubar_pcbframe.cpp:165
msgid "Export the current board to a \"Specctra DSN\" file" msgid "Export the current board to a \"Specctra DSN\" file"
msgstr "Exporte le CI courant dans un fichier au format \"Specctra DSN\"" msgstr "Exporte le CI courant dans un fichier au format \"Specctra DSN\""
#: pcbnew/menubar_pcbframe.cpp:170 #: pcbnew/menubar_pcbframe.cpp:171
msgid "&GenCAD" msgid "&GenCAD"
msgstr "&GenCAD" msgstr "&GenCAD"
#: pcbnew/menubar_pcbframe.cpp:170 #: pcbnew/menubar_pcbframe.cpp:171
msgid "Export GenCAD Format" msgid "Export GenCAD Format"
msgstr "Exporter en Format GenCAD" msgstr "Exporter en Format GenCAD"
#: pcbnew/menubar_pcbframe.cpp:176 #: pcbnew/menubar_pcbframe.cpp:177
msgid "&Module Report" msgid "&Module Report"
msgstr "Rapport &Modules" msgstr "Rapport &Modules"
#: pcbnew/menubar_pcbframe.cpp:177 #: pcbnew/menubar_pcbframe.cpp:178
msgid "Create a report of all modules on the current board" msgid "Create a report of all modules on the current board"
msgstr "Créer un fichier rapport de tous les modules du C.I." msgstr "Créer un fichier rapport de tous les modules du C.I."
#: pcbnew/menubar_pcbframe.cpp:181 #: pcbnew/menubar_pcbframe.cpp:182
msgid "&Export" msgid "&Export"
msgstr "&Exporter" msgstr "&Exporter"
#: pcbnew/menubar_pcbframe.cpp:182 #: pcbnew/menubar_pcbframe.cpp:183
msgid "Export board" msgid "Export board"
msgstr "Exporter le C.I." msgstr "Exporter le C.I."
#: pcbnew/menubar_pcbframe.cpp:188 #: pcbnew/menubar_pcbframe.cpp:189
#, fuzzy #, fuzzy
msgid "&Print\tCtrl+P" msgid "&Print\tCtrl+P"
msgstr "&Ouvrir\tCtrl+O" msgstr "&Ouvrir\tCtrl+O"
#: pcbnew/menubar_pcbframe.cpp:189 #: pcbnew/menubar_pcbframe.cpp:190
msgid "Print pcb board" msgid "Print pcb board"
msgstr "Imprimer C.I." msgstr "Imprimer C.I."
#: pcbnew/menubar_pcbframe.cpp:194 #: pcbnew/menubar_pcbframe.cpp:195
msgid "Print S&VG" msgid "Print S&VG"
msgstr "Impression S&VG" msgstr "Impression S&VG"
#: pcbnew/menubar_pcbframe.cpp:195 #: pcbnew/menubar_pcbframe.cpp:196
msgid "Plot board in Scalable Vector Graphics format" msgid "Plot board in Scalable Vector Graphics format"
msgstr "Tracer le circuit imprimé en format SVG (Scalable Vector Graphics)" msgstr "Tracer le circuit imprimé en format SVG (Scalable Vector Graphics)"
#: pcbnew/menubar_pcbframe.cpp:200 #: pcbnew/menubar_pcbframe.cpp:201
msgid "&Plot" msgid "&Plot"
msgstr "&Tracer" msgstr "&Tracer"
#: pcbnew/menubar_pcbframe.cpp:201 #: pcbnew/menubar_pcbframe.cpp:202
msgid "Plot board in HPGL, PostScript or Gerber RS-274X format)" msgid "Plot board in HPGL, PostScript or Gerber RS-274X format)"
msgstr "Tracer le circuit en format HPGL, POSTSCRIPT ou GERBER RS-274X" msgstr "Tracer le circuit en format HPGL, POSTSCRIPT ou GERBER RS-274X"
#: pcbnew/menubar_pcbframe.cpp:209 #: pcbnew/menubar_pcbframe.cpp:210
msgid "Add New Footprints" msgid "Add New Footprints"
msgstr "Ajouter Nouveaux Modules" msgstr "Ajouter Nouveaux Modules"
#: pcbnew/menubar_pcbframe.cpp:211 #: pcbnew/menubar_pcbframe.cpp:212
msgid "Archive new footprints only in a library (keep other footprints in this lib)" msgid "Archive new footprints only in a library (keep other footprints in this lib)"
msgstr "Archiver nouveaux modules seuls dans une librairie (garder les autres modules de cette librairie)" msgstr "Archiver nouveaux modules seuls dans une librairie (garder les autres modules de cette librairie)"
#: pcbnew/menubar_pcbframe.cpp:215 #: pcbnew/menubar_pcbframe.cpp:216
msgid "Create Footprint Archive" msgid "Create Footprint Archive"
msgstr "Créer Archive des Modules" msgstr "Créer Archive des Modules"
#: pcbnew/menubar_pcbframe.cpp:216 #: pcbnew/menubar_pcbframe.cpp:217
msgid "Archive all footprints in a library(old lib will be deleted)" msgid "Archive all footprints in a library(old lib will be deleted)"
msgstr "Archiver tous les modules dans une librairie (ancienne librairie supprimée)" msgstr "Archiver tous les modules dans une librairie (ancienne librairie supprimée)"
#: pcbnew/menubar_pcbframe.cpp:221 #: pcbnew/menubar_pcbframe.cpp:222
msgid "Archive Footprints" msgid "Archive Footprints"
msgstr "Archiver Modules" msgstr "Archiver Modules"
#: pcbnew/menubar_pcbframe.cpp:222 #: pcbnew/menubar_pcbframe.cpp:223
msgid "Archive or add footprints in a library file" msgid "Archive or add footprints in a library file"
msgstr "Archiver ou ajouter les modules dans un fichier librairie" msgstr "Archiver ou ajouter les modules dans un fichier librairie"
#: pcbnew/menubar_pcbframe.cpp:229 #: pcbnew/menubar_pcbframe.cpp:230
msgid "&Quit" msgid "&Quit"
msgstr "&Quitter" msgstr "&Quitter"
#: pcbnew/menubar_pcbframe.cpp:230 #: pcbnew/menubar_pcbframe.cpp:231
msgid "Quit PCBNew" msgid "Quit PCBNew"
msgstr "Quitter PCBnew" msgstr "Quitter PCBnew"
#: pcbnew/menubar_pcbframe.cpp:244 #: pcbnew/menubar_pcbframe.cpp:245
msgid "Undo" msgid "Undo"
msgstr "Undo" msgstr "Undo"
#: pcbnew/menubar_pcbframe.cpp:246 #: pcbnew/menubar_pcbframe.cpp:247
#, fuzzy #, fuzzy
msgid "Undo\tCtrl+Z" msgid "Undo\tCtrl+Z"
msgstr "&Ouvrir\tCtrl+O" msgstr "&Ouvrir\tCtrl+O"
#: pcbnew/menubar_pcbframe.cpp:255 #: pcbnew/menubar_pcbframe.cpp:256
msgid "Redo" msgid "Redo"
msgstr "Redo" msgstr "Redo"
#: pcbnew/menubar_pcbframe.cpp:257 #: pcbnew/menubar_pcbframe.cpp:258
msgid "Redo\tShift+Ctrl+Z" msgid "Redo\tShift+Ctrl+Z"
msgstr "" msgstr ""
#: pcbnew/menubar_pcbframe.cpp:269 #: pcbnew/menubar_pcbframe.cpp:270
msgid "&Find..." msgid "&Find"
msgstr "&Chercher" msgstr "&Chercher"
#: pcbnew/menubar_pcbframe.cpp:271 #: pcbnew/menubar_pcbframe.cpp:272
#, fuzzy #, fuzzy
msgid "Find\tCtrl+F" msgid "Find\tCtrl+F"
msgstr "&Ouvrir\tCtrl+O" msgstr "&Ouvrir\tCtrl+O"
#: pcbnew/menubar_pcbframe.cpp:275 #: pcbnew/menubar_pcbframe.cpp:276
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:284 #: pcbnew/menubar_pcbframe.cpp:285
msgid "Global &Deletions" msgid "Global &Deletions"
msgstr "Effacements &Généraux" msgstr "Effacements &Généraux"
#: pcbnew/menubar_pcbframe.cpp:285 #: pcbnew/menubar_pcbframe.cpp:286
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:291 #: pcbnew/menubar_pcbframe.cpp:292
msgid "&Tracks" msgid "&Tracks and Vias Cleanup"
msgstr "&Pistes" msgstr "&Nettoyage Pistes et Vias"
#: pcbnew/menubar_pcbframe.cpp:293 #: pcbnew/menubar_pcbframe.cpp:294
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:299 #: pcbnew/menubar_pcbframe.cpp:300
msgid "&Swap Layers" msgid "&Swap Layers"
msgstr "&Permutte Couches" msgstr "&Permutte Couches"
#: pcbnew/menubar_pcbframe.cpp:300 #: pcbnew/menubar_pcbframe.cpp:301
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:312 #: pcbnew/menubar_pcbframe.cpp:313
#: pcbnew/menubar_pcbframe.cpp:318 #: pcbnew/menubar_pcbframe.cpp:319
#, fuzzy
msgid "Zoom In" msgid "Zoom In"
msgstr "Zoom +" msgstr "Zoom +"
#: pcbnew/menubar_pcbframe.cpp:315 #: pcbnew/menubar_pcbframe.cpp:316
#, fuzzy #, fuzzy
msgid "Zoom In\tCtrl++" msgid "Zoom In\tCtrl++"
msgstr "Zoom +" msgstr "Zoom +"
#: pcbnew/menubar_pcbframe.cpp:328 #: pcbnew/menubar_pcbframe.cpp:329
#, fuzzy #, fuzzy
msgid "Zoom Out\tCtrl+-" msgid "Zoom Out\tCtrl+-"
msgstr "Zoom -" msgstr "Zoom -"
#: pcbnew/menubar_pcbframe.cpp:331 #: pcbnew/menubar_pcbframe.cpp:332
#, fuzzy
msgid "Zoom Out" msgid "Zoom Out"
msgstr "Zoom -" msgstr "Zoom -"
#: pcbnew/menubar_pcbframe.cpp:338 #: pcbnew/menubar_pcbframe.cpp:339
msgid "Fit on Screen" msgid "Fit on Screen"
msgstr "Ajuster à l'Ecran " msgstr "Ajuster à l'Ecran "
#: pcbnew/menubar_pcbframe.cpp:341 #: pcbnew/menubar_pcbframe.cpp:342
msgid "Fit on Screen\tCtrl+0" msgid "Fit on Screen\tCtrl+0"
msgstr "" msgstr ""
#: pcbnew/menubar_pcbframe.cpp:345 #: pcbnew/menubar_pcbframe.cpp:346
msgid "Zoom to fit the board on the screen" msgid "Zoom to fit the board on the screen"
msgstr "Zoom popur ajuster le circuit impriméà l'écran" msgstr "Zoom popur ajuster le circuit impriméà l'écran"
#: pcbnew/menubar_pcbframe.cpp:354 #: pcbnew/menubar_pcbframe.cpp:355
msgid "Redraw" msgid "Redraw"
msgstr "Redessin de l'écran" msgstr "Redessin de l'écran"
#: pcbnew/menubar_pcbframe.cpp:357 #: pcbnew/menubar_pcbframe.cpp:358
#, fuzzy #, fuzzy
msgid "Redraw\tCtrl+R" msgid "Redraw\tCtrl+R"
msgstr "&Nouveau\tCtrl+N" msgstr "&Nouveau\tCtrl+N"
#: pcbnew/menubar_pcbframe.cpp:361 #: pcbnew/menubar_pcbframe.cpp:362
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:370 #: pcbnew/menubar_pcbframe.cpp:371
msgid "&List Nets" msgid "&List Nets"
msgstr "Liste Equipots" msgstr "Liste Equipots"
#: pcbnew/menubar_pcbframe.cpp:371 #: pcbnew/menubar_pcbframe.cpp:372
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:390 #: pcbnew/menubar_pcbframe.cpp:391
msgid "&Library" msgid "&Library"
msgstr "&Librairie" msgstr "&Librairie"
#: pcbnew/menubar_pcbframe.cpp:391 #: pcbnew/menubar_pcbframe.cpp:392
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:397 #: pcbnew/menubar_pcbframe.cpp:398
msgid "&Colors and Visibility" msgid "&Colors and Visibility"
msgstr "&Couleurs et Visibilité" msgstr "&Couleurs et Visibilité"
#: pcbnew/menubar_pcbframe.cpp:398 #: pcbnew/menubar_pcbframe.cpp:399
msgid "Select colors and visibility of layers and some items" msgid "Select colors and visibility of layers and some items"
msgstr "Sélection les couleurs et l' affichage des couches et de certains éléments du C.I." msgstr "Sélection les couleurs et l' affichage des couches et de certains éléments du C.I."
#: pcbnew/menubar_pcbframe.cpp:403 #: pcbnew/menubar_pcbframe.cpp:404
msgid "&General" msgid "&General"
msgstr "&Général " msgstr "&Général "
#: pcbnew/menubar_pcbframe.cpp:404 #: pcbnew/menubar_pcbframe.cpp:405
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:411
msgid "&Display" msgid "&Display"
msgstr "&Affichage" msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:411 #: pcbnew/menubar_pcbframe.cpp:412
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:421
msgid "Adjust user grid dimensions" msgid "Adjust user grid dimensions"
msgstr "Ajuster taille grille utilisateur" msgstr "Ajuster taille grille utilisateur"
#: pcbnew/menubar_pcbframe.cpp:426 #: pcbnew/menubar_pcbframe.cpp:427
msgid "Texts and Drawings" msgid "Texts and Drawings"
msgstr "Textes et Tracés" msgstr "Textes et Tracés"
#: pcbnew/menubar_pcbframe.cpp:427 #: pcbnew/menubar_pcbframe.cpp:428
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:433 #: pcbnew/menubar_pcbframe.cpp:434
msgid "Adjust default pads caracteristics" msgid "Adjust default pads caracteristics"
msgstr "Ajuster les caracteristiques par défaut des pads" msgstr "Ajuster les caracteristiques par défaut des pads"
#: pcbnew/menubar_pcbframe.cpp:439 #: pcbnew/menubar_pcbframe.cpp:440
msgid "Pads Mask Clearance" msgid "Pads Mask Clearance"
msgstr "Marge Masque des Pads" msgstr "Marge Masque des Pads"
#: pcbnew/menubar_pcbframe.cpp:440 #: pcbnew/menubar_pcbframe.cpp:441
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:447 #: pcbnew/menubar_pcbframe.cpp:448
msgid "&Save" msgid "&Save"
msgstr "&Sauver" msgstr "&Sauver"
#: pcbnew/menubar_pcbframe.cpp:448 #: pcbnew/menubar_pcbframe.cpp:449
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:454 #: pcbnew/menubar_pcbframe.cpp:455
msgid "Di&mensions" msgid "Di&mensions"
msgstr "Di&mensions" msgstr "Di&mensions"
#: pcbnew/menubar_pcbframe.cpp:455 #: pcbnew/menubar_pcbframe.cpp:456
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:468 #: pcbnew/menubar_pcbframe.cpp:469
msgid "&Save Preferences" msgid "&Save Preferences"
msgstr "&Sauver Préférences" msgstr "&Sauver Préférences"
#: pcbnew/menubar_pcbframe.cpp:469 #: pcbnew/menubar_pcbframe.cpp:470
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:474 #: pcbnew/menubar_pcbframe.cpp:475
msgid "&Read Preferences" msgid "&Read Preferences"
msgstr "&Lire Préférences" msgstr "&Lire Préférences"
#: pcbnew/menubar_pcbframe.cpp:475 #: pcbnew/menubar_pcbframe.cpp:476
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:487 #: pcbnew/menubar_pcbframe.cpp:488
msgid "Design Rules" msgid "Design Rules"
msgstr "Règles de Conception" msgstr "Règles de Conception"
#: pcbnew/menubar_pcbframe.cpp:488 #: pcbnew/menubar_pcbframe.cpp:489
msgid "Open the design rules dialog editor" msgid "Open the design rules dialog 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:493 #: pcbnew/menubar_pcbframe.cpp:494
msgid "&Layers Setup" msgid "&Layers Setup"
msgstr "&Options Couches" msgstr "&Options Couches"
#: pcbnew/menubar_pcbframe.cpp:494 #: pcbnew/menubar_pcbframe.cpp:495
msgid "Enable and set properties of layers" msgid "Enable and set properties of layers"
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:505
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:513
msgid "&About" msgid "&About"
msgstr "&Au Sujet de" msgstr "&Au Sujet de"
#: pcbnew/menubar_pcbframe.cpp:513 #: pcbnew/menubar_pcbframe.cpp:514
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:522 #: pcbnew/menubar_pcbframe.cpp:523
msgid "&File" msgid "&File"
msgstr "&Fichiers" msgstr "&Fichiers"
#: pcbnew/menubar_pcbframe.cpp:523 #: pcbnew/menubar_pcbframe.cpp:524
msgid "&Edit" msgid "&Edit"
msgstr "&Editer" msgstr "&Editer"
#: pcbnew/menubar_pcbframe.cpp:524 #: pcbnew/menubar_pcbframe.cpp:525
msgid "&View" msgid "&View"
msgstr "&Affichage" msgstr "&Affichage"
#: pcbnew/menubar_pcbframe.cpp:525 #: pcbnew/menubar_pcbframe.cpp:526
msgid "&Preferences" msgid "&Preferences"
msgstr "&Préférences" msgstr "&Préférences"
#: pcbnew/menubar_pcbframe.cpp:526 #: pcbnew/menubar_pcbframe.cpp:527
msgid "&Design Rules" msgid "&Design Rules"
msgstr "&Règles de Conception" msgstr "&Règles de Conception"
@ -8676,16 +8682,6 @@ msgstr "Rétro Annotation"
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:226
#, fuzzy
msgid "Zoom Out\t"
msgstr "Zoom -"
#: eeschema/menubar.cpp:229
#, fuzzy
msgid "Zoom out\tCtrl+-"
msgstr "Zoom -"
#: eeschema/menubar.cpp:246 #: eeschema/menubar.cpp:246
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"
@ -9523,6 +9519,10 @@ msgstr "Imprimer Tout"
msgid "Current" msgid "Current"
msgstr "Courant" msgstr "Courant"
#: eeschema/dialog_eeschema_config.cpp:224
msgid "Library files:"
msgstr "Fichiers Librairies:"
#: eeschema/eelibs_read_libraryfiles.cpp:61 #: eeschema/eelibs_read_libraryfiles.cpp:61
msgid "\n" msgid "\n"
msgstr "\n" msgstr "\n"
@ -10456,10 +10456,6 @@ msgstr "Remplissage en &avant plan"
msgid "Fill &background" msgid "Fill &background"
msgstr "Remplissage en a&rriere plan" msgstr "Remplissage en a&rriere plan"
#: eeschema/dialog_eeschema_config.cpp:224
msgid "Library files:"
msgstr "Fichiers Librairies:"
#: eeschema/dialog_eeschema_options_base.cpp:34 #: eeschema/dialog_eeschema_options_base.cpp:34
msgid "Mesurement &units:" msgid "Mesurement &units:"
msgstr "&Unités de mesure:" msgstr "&Unités de mesure:"
@ -13110,6 +13106,17 @@ msgstr "Options d'Affichage"
msgid "Page Settings" msgid "Page Settings"
msgstr "Ajustage opt Page" msgstr "Ajustage opt Page"
#, fuzzy
#~ msgid "Zoom Out\t"
#~ msgstr "Zoom -"
#, fuzzy
#~ msgid "Zoom out\tCtrl+-"
#~ msgstr "Zoom -"
#~ msgid "&Find..."
#~ msgstr "&Chercher"
#~ msgid "&Tracks"
#~ msgstr "&Pistes"
#~ msgid "&New" #~ msgid "&New"
#~ msgstr "&Nouveau" #~ msgstr "&Nouveau"
#~ msgid "Save as..." #~ msgid "Save as..."
@ -13611,8 +13618,6 @@ msgstr "Ajustage opt Page"
#~ msgstr "low clock" #~ msgstr "low clock"
#~ msgid "low out" #~ msgid "low out"
#~ msgstr "low out" #~ msgstr "low out"
#~ msgid "Pin type"
#~ msgstr "Type Pin"
#~ msgid "Not visible" #~ msgid "Not visible"
#~ msgstr "Invisible" #~ msgstr "Invisible"
#~ msgid "Pin Name :" #~ msgid "Pin Name :"
@ -13648,8 +13653,6 @@ msgstr "Ajustage opt Page"
#~ msgstr "" #~ msgstr ""
#~ "Sélection emplacement des fichiers de config. des hotkeys(\"home\" ou " #~ "Sélection emplacement des fichiers de config. des hotkeys(\"home\" ou "
#~ "répertoire kicad)" #~ "répertoire kicad)"
#~ msgid "Tracks and Vias Sizes"
#~ msgstr "Dims Pistes et Vias"
#~ msgid "Copper layers setup" #~ msgid "Copper layers setup"
#~ msgstr "Réglage des Couches Cuivre" #~ msgstr "Réglage des Couches Cuivre"
#~ msgid "EESchema Annotation" #~ msgid "EESchema Annotation"

View File

@ -41,6 +41,12 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* z
} }
SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click
if( GetSizer() )
{
GetSizer()->SetSizeHints( this );
}
Center();
} }
@ -198,11 +204,6 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
} }
} }
} }
if( GetSizer() )
{
GetSizer()->SetSizeHints( this );
}
Center();
} }

View File

@ -404,6 +404,22 @@ void DIALOG_MODULE_BOARD_EDITOR::Browse3DLib( wxCommandEvent& event )
*/ */
shortfilename = shortfilename =
wxGetApp().ReturnFilenameWithRelativePathInLibPath( fullfilename ); wxGetApp().ReturnFilenameWithRelativePathInLibPath( fullfilename );
wxFileName aux = shortfilename;
if( aux.IsAbsolute() )
{ // Absolute path, ask if the user wants a relative one
int diag = wxMessageBox(
_( "Use a relative path?" ),
_( "Path type" ),
wxYES_NO | wxICON_QUESTION, this );
if( diag == wxYES )
{ // Make it relative
aux.MakeRelativeTo( wxT(".") );
shortfilename = aux.GetPathWithSep() + aux.GetFullName();
}
}
S3D_MASTER* new3DShape = new S3D_MASTER( NULL ); S3D_MASTER* new3DShape = new S3D_MASTER( NULL );
new3DShape->m_Shape3DName = shortfilename; new3DShape->m_Shape3DName = shortfilename;
m_Shapes3D_list.push_back( new3DShape ); m_Shapes3D_list.push_back( new3DShape );

View File

@ -279,6 +279,22 @@ void DIALOG_MODULE_MODULE_EDITOR::Browse3DLib( wxCommandEvent& event )
* because it preserve use of default libraries paths, when the path is a sub path of these default paths * because it preserve use of default libraries paths, when the path is a sub path of these default paths
*/ */
shortfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fullfilename ); shortfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fullfilename );
wxFileName aux = shortfilename;
if( aux.IsAbsolute() )
{ // Absolute path, ask if the user wants a relative one
int diag = wxMessageBox(
_( "Use a relative path?" ),
_( "Path type" ),
wxYES_NO | wxICON_QUESTION, this );
if( diag == wxYES )
{ // Make it relative
aux.MakeRelativeTo( wxT(".") );
shortfilename = aux.GetPathWithSep() + aux.GetFullName();
}
}
S3D_MASTER* new3DShape = new S3D_MASTER(NULL); S3D_MASTER* new3DShape = new S3D_MASTER(NULL);
new3DShape->m_Shape3DName = shortfilename; new3DShape->m_Shape3DName = shortfilename;
m_Shapes3D_list.push_back( new3DShape ); m_Shapes3D_list.push_back( new3DShape );

View File

@ -24,6 +24,9 @@ Dialog_GeneralOptions::Dialog_GeneralOptions( WinEDA_PcbFrame* parent ) :
{ {
m_Parent = parent; m_Parent = parent;
init(); init();
GetSizer()->SetSizeHints( this );
Center();
} }
@ -65,11 +68,6 @@ void Dialog_GeneralOptions::init()
m_MagneticPadOptCtrl->SetSelection( g_MagneticPadOption ); m_MagneticPadOptCtrl->SetSelection( g_MagneticPadOption );
m_MagneticTrackOptCtrl->SetSelection( g_MagneticTrackOption ); m_MagneticTrackOptCtrl->SetSelection( g_MagneticTrackOption );
if( GetSizer() )
{
GetSizer()->SetSizeHints( this );
}
} }

View File

@ -28,6 +28,7 @@ DIALOG_PADS_MASK_CLEARANCE::DIALOG_PADS_MASK_CLEARANCE( WinEDA_PcbFrame* parent
m_Parent = parent; m_Parent = parent;
MyInit(); MyInit();
GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this );
Centre();
} }

View File

@ -89,6 +89,8 @@ DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES( WinEDA_BasePcbFrame* parent, D_PAD
{ {
GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this );
} }
Center();
} }

View File

@ -258,6 +258,20 @@ void DIALOG_PCBNEW_CONFIG_LIBS::OnAddOrInsertPath( wxCommandEvent& event )
if ( jj >= 0 ) if ( jj >= 0 )
ipos = jj; ipos = jj;
} }
// Ask the user if this is a relative path
int diag = wxMessageBox(
_( "Use a relative path?" ),
_( "Path type" ),
wxYES_NO | wxICON_QUESTION, this );
if( diag == wxYES )
{ // Make it relative
wxFileName fn = path;
fn.MakeRelativeTo( wxT(".") );
path = fn.GetPathWithSep() + fn.GetFullName();
}
m_listUserPaths->Insert(path, ipos); m_listUserPaths->Insert(path, ipos);
m_LibPathChanged = true; m_LibPathChanged = true;
wxGetApp().InsertLibraryPath( path, ipos+1 ); wxGetApp().InsertLibraryPath( path, ipos+1 );

View File

@ -44,7 +44,6 @@ public:
private: private:
void OnCloseWindow( wxCloseEvent& event ); void OnCloseWindow( wxCloseEvent& event );
void OnInitDialog( wxInitDialogEvent& event );
void OnPrintSetup( wxCommandEvent& event ); void OnPrintSetup( wxCommandEvent& event );
void OnPrintPreview( wxCommandEvent& event ); void OnPrintPreview( wxCommandEvent& event );
void OnPrintButtonClick( wxCommandEvent& event ); void OnPrintButtonClick( wxCommandEvent& event );
@ -89,10 +88,8 @@ DIALOG_PRINT_FOR_MODEDIT::DIALOG_PRINT_FOR_MODEDIT( WinEDA_DrawFrame* parent ) :
m_Config = wxGetApp().m_EDA_Config; m_Config = wxGetApp().m_EDA_Config;
InitValues(); InitValues();
if( GetSizer() )
{
GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this );
} Center();
} }

View File

@ -129,7 +129,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Fabrications Outputs submenu append */ /* Fabrications Outputs submenu append */
ADD_MENUITEM_WITH_HELP_AND_SUBMENU( filesMenu, fabricationOutputsMenu, ADD_MENUITEM_WITH_HELP_AND_SUBMENU( filesMenu, fabricationOutputsMenu,
-1, _( "Fabrication Outputs" ), -1, _( "Fabrication Outputs" ),
_( "Generate files for fabrication" ), export_xpm ); _( "Generate files for fabrication" ),
fabrication_xpm );
/* Import submenu */ /* Import submenu */
wxMenu* submenuImport = new wxMenu(); wxMenu* submenuImport = new wxMenu();
@ -266,7 +267,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Find */ /* Find */
#if !defined( __WXMAC__) #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 #else
text = _( "Find\tCtrl+F" ); text = _( "Find\tCtrl+F" );
#endif #endif
@ -288,7 +289,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Tracks */ /* Tracks */
item = new wxMenuItem( editMenu, ID_MENU_PCB_CLEAN, item = new wxMenuItem( editMenu, ID_MENU_PCB_CLEAN,
_( "&Tracks" ), _( "&Tracks and Vias Cleanup" ),
_( _(
"Clean stubs, vias, delete break points, or connect dangling tracks to pads and vias" ) ); "Clean stubs, vias, delete break points, or connect dangling tracks to pads and vias" ) );
item->SetBitmap( delete_body_xpm ); item->SetBitmap( delete_body_xpm );
@ -438,7 +439,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
item = new wxMenuItem( dimensionsMenu, ID_PCB_MASK_CLEARANCE, item = new wxMenuItem( dimensionsMenu, ID_PCB_MASK_CLEARANCE,
_( "Pads Mask Clearance" ), _( "Pads Mask Clearance" ),
_( "Adjust the global clearance between pads and the solder resist mask" ) ); _( "Adjust the global clearance between pads and the solder resist mask" ) );
item->SetBitmap( pad_xpm ); item->SetBitmap( pads_mask_layers_xpm );
dimensionsMenu->Append( item ); dimensionsMenu->Append( item );