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
af1a7e07
Commit
af1a7e07
authored
Dec 19, 2008
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated about dialog, also started tabbed indent instead of spaces in sourcecode
parent
1ecea828
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
82 deletions
+88
-82
about_kicad.cpp
common/about_kicad.cpp
+88
-82
No files found.
common/about_kicad.cpp
View file @
af1a7e07
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
extern
wxString
g_Main_Title
;
// Import program title
extern
wxString
g_Main_Title
;
// Import program title
/**********************************/
/**********************************/
wxString
SetMsg
(
const
wxString
&
msg
)
wxString
SetMsg
(
const
wxString
&
msg
)
/**********************************/
/**********************************/
/* add \n at the beginning of msg under Windows, and do nothing under other version of wxWidgets
/* add \n at the beginning of msg under Windows, and do nothing under other version of wxWidgets
* Needed under wxWidgets 2.8 because wxGTK and wxMSW do not have the same behavior
* Needed under wxWidgets 2.8 because wxGTK and wxMSW do not have the same behavior
* Add Developer needs \n between names under wxMSW, and nothing under wxGTK
* Add Developer needs \n between names under wxMSW, and nothing under wxGTK
...
@@ -20,104 +20,110 @@ wxString SetMsg( const wxString& msg )
...
@@ -20,104 +20,110 @@ wxString SetMsg( const wxString& msg )
* Perhaps depending on wxWidgets versions
* Perhaps depending on wxWidgets versions
*/
*/
{
{
wxString
tmp
;
wxString
message
;
// #ifdef __WINDOWS__
#if 1
/* Windows */
#if 1
message
=
wxT
(
"
\n
"
);
tmp
=
wxT
(
"
\n
"
);
#endif
#endif
message
<<
msg
;
tmp
<<
msg
;
return
message
;
return
tmp
;
}
}
/**************************************************/
/**************************************************/
void
InitKiCadAbout
(
wxAboutDialogInfo
&
info
)
void
InitKiCadAbout
(
wxAboutDialogInfo
&
info
)
/**************************************************/
/**************************************************/
{
{
/* Set name and title */
/* Set name and title */
info
.
SetName
(
g_Main_Title
);
info
.
SetName
(
g_Main_Title
);
/* Set description */
wxString
description
;
/* Set descript
ion */
/* KiCad build vers
ion */
wxString
description
;
description
<<
(
_T
(
"Build: "
)
)
<<
GetAboutBuildVersion
()
;
description
<<
(
_T
(
"Build: "
)
)
<<
GetAboutBuildVersion
();
/* Print for wxversion */
description
<<
(
wxT
(
"
\n\n
wxWidgets "
)
)
<<
wxMAJOR_VERSION
<<
wxT
(
"."
)
<<
wxMINOR_VERSION
<<
wxT
(
"."
)
<<
wxRELEASE_NUMBER
/* Check for unicode */
/* Show Unicode or Ansi version */
description
<<
(
wxT
(
"
\n\n
Using "
)
);
description
<<
(
wxT
(
"wxWidgets "
)
);
description
<<
wxMAJOR_VERSION
<<
wxT
(
"."
)
<<
wxMINOR_VERSION
<<
wxT
(
"."
)
<<
wxRELEASE_NUMBER
;
#if wxUSE_UNICODE
#if wxUSE_UNICODE
description
<<
(
wxT
(
" Unicode
"
)
);
<<
(
wxT
(
" Unicode
\n
"
)
);
#else
#
else
description
<<
(
wxT
(
" Ansi
"
)
);
<<
(
wxT
(
" Ansi
\n
"
)
);
#endif
#endif
/* Check for wxMSW */
/* Check for wxMSW */
#if defined __WINDOWS__
#if defined __WINDOWS__
description
<<
(
wxT
(
"on Windows"
)
);
description
<<
(
wxT
(
"on Windows"
)
);
/* Check for wxMAC */
/* Check for wxMAC */
#elif defined __WXMAC__
#
elif defined __WXMAC__
description
<<
(
wxT
(
"
on Macintosch"
)
);
description
<<
(
wxT
(
"
\n
on Macintosch"
)
);
/* Check for linux and arch */
/* Linux 64 bits */
#elif defined __LINUX__
# elif defined _LP64 && __LINUX__
description
<<
(
wxT
(
"on GNU/Linux "
)
);
description
<<
(
wxT
(
"on 64 Bits GNU/Linux"
)
);
#endif
#ifdef _LP64
/* Linux 32 bits */
description
<<
(
wxT
(
" 64 bits"
)
);
# elif defined __LINUX__
#else
description
<<
(
wxT
(
"on 32 Bits GNU/Linux"
)
);
description
<<
(
wxT
(
" 32 bits"
)
);
#endif
#endif
description
<<
wxT
(
"
\n\n
Web sites:
\n
"
);
/* Websites */
description
<<
wxT
(
"http://iut-tice.ujf-grenoble.fr/kicad/"
);
description
<<
wxT
(
"
\n\n
KiCad on the web
\n
"
);
description
<<
wxT
(
"
\n
"
);
description
<<
wxT
(
"http://iut-tice.ujf-grenoble.fr/kicad
\n
"
);
description
<<
wxT
(
"http://kicad.sourceforge.net/"
);
description
<<
wxT
(
"http://kicad.sourceforge.net
\n
"
);
description
<<
wxT
(
"
\n
"
);
description
<<
wxT
(
"http://www.kicadlib.org"
);
/* Set the complete about description */
info
.
SetDescription
(
description
);
info
.
SetDescription
(
description
);
/* Set copyright */
/* Set copyright dialog */
info
.
SetCopyright
(
_T
(
"(C) 1992-2008 KiCad Developers Team"
)
);
info
.
SetCopyright
(
_T
(
"(C) 1992-2009 KiCad Developers Team"
)
);
/* Set license */
/* Set license dialog */
info
.
SetLicence
(
wxString
::
FromAscii
info
.
SetLicence
(
wxString
::
FromAscii
(
(
"The complete KiCad EDA Suite is released under the
\n
"
"The complete KiCad EDA Suite is released under the following license:
\n
"
"GNU General Public License version 2.
\n
"
"
\n
"
"See <http://www.gnu.org/licenses/> for more information."
"GNU General Public License version 2
\n
"
));
"See <http://www.gnu.org/licenses/> for more information"
)
);
/* Add developers */
info
.
AddDeveloper
(
wxT
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
);
/* Add developers */
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Jerry Jacobs <jerkejacobs@gmail.com>"
)
)
);
info
.
AddDeveloper
(
wxT
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Dick Hollenbeck <dick@softplc.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Jerry Jacobs <jerkejacobs@gmail.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"KBool Library <http://boolean.klaasholwerda.nl/bool.html>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Dick Hollenbeck <dick@softplc.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Vesa Solonen <vesa.solonen@hut.fi>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"KBool Library <http://boolean.klaasholwerda.nl/bool.html>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Wayne Stambaugh <stambaughw@verizon.net>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Vesa Solonen <vesa.solonen@hut.fi>"
)
)
);
/* Add document writers*/
/* Add document writers */
info
.
AddDocWriter
(
wxT
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
);
info
.
AddDocWriter
(
wxT
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
);
info
.
AddDocWriter
(
SetMsg
(
wxT
(
"Igor Plyatov <plyatov@gmail.com>"
)
)
);
info
.
AddDocWriter
(
SetMsg
(
wxT
(
"Igor Plyatov <plyatov@gmail.com>"
)
)
);
/* Add translators */
/* Add translators */
info
.
AddTranslator
(
wxT
(
"Czech (CZ) Martin Kratoška <martin@ok1rr.com>"
)
);
info
.
AddTranslator
(
wxT
(
"Czech (CZ) Martin Kratoška <martin@ok1rr.com>"
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Polish (PL) Mateusz Skowroński <skowri@gmail.com>"
)
)
);
"French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Portuguese (PT) Renie Marquet <reniemarquet@uol.com.br>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Polish (PL) Mateusz Skowroński <skowri@gmail.com>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Russian (RU) Igor Plyatov <plyatov@gmail.com>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Portuguese (PT) Renie Marquet <reniemarquet@uol.com.br>"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Russian (RU) Igor Plyatov <plyatov@gmail.com>"
)
)
);
/* TODO are these all russian translators, placed them here now TODO
info
.
AddTranslator
(
SetMsg
(
wxT
(
TODO or else align them below other language maintainer with mail adres TODO*/
" David Briscoe, Remy Halvick, Boris Barbour, Dominique Laigle, Paul Burke"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
" Remy Halvick"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
" David Briscoe"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
"Pedro Martin del Valle, Inigo Zuluaga"
)));
info
.
AddTranslator
(
SetMsg
(
wxT
(
" Dominique Laigle"
)
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
" Paul Burke"
)
)
);
/* Add programm credits for icons */
info
.
AddTranslator
(
SetMsg
(
wxT
(
" Pedro Martin del Valle"
)
)
);
info
.
AddArtist
(
wxT
(
"Icons: Inigo Zuluaga"
)
);
info
.
AddTranslator
(
SetMsg
(
wxT
(
" Iñigo Zuluaga"
)
)
);
/* Add programm credits for icons */
info
.
AddArtist
(
wxT
(
"Icons by Iñigo Zuluaga"
)
);
info
.
AddArtist
(
wxT
(
"3D modules by Renie Marquet <reniemarquet@uol.com.br>"
)
);
}
}
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