Commit e6838fdd authored by jerryjacobs's avatar jerryjacobs

About translatable, dutch language update

parent 92d3b599
...@@ -21,10 +21,32 @@ void InitKiCadAbout(wxAboutDialogInfo& info) ...@@ -21,10 +21,32 @@ void InitKiCadAbout(wxAboutDialogInfo& info)
wxString description; wxString description;
description << (_T("Build: ")) << GetAboutBuildVersion(); description << (_T("Build: ")) << GetAboutBuildVersion();
/* Check for unicode */
#if wxUSE_UNICODE #if wxUSE_UNICODE
description << (_T( " Unicode" )); description << (_(" Unicode " ));
#else #else
description << (_T( " Ansi" )); description << (_(" Ansi "));
#endif
/* Check for wxMSW */
#if wxMSW
description << (_("on Windows"));
#endif
/* Check for wxMAC */
#if wxMAC
description << (_("on Macintosch"));
#endif
/* Check for linux and arch */
#if __gnu_linux__
description << (_("on GNU/Linux "));
#if __x86_64
description << (_("64 bits"));
#elif
description << (_("32 bits"));
#endif
#endif #endif
info.SetDescription(description); info.SetDescription(description);
...@@ -51,10 +73,11 @@ void InitKiCadAbout(wxAboutDialogInfo& info) ...@@ -51,10 +73,11 @@ void InitKiCadAbout(wxAboutDialogInfo& info)
info.AddDocWriter(_T("\nIgor Plyatov <plyatov@gmail.com>")); info.AddDocWriter(_T("\nIgor Plyatov <plyatov@gmail.com>"));
/* Add translators */ /* Add translators */
info.AddTranslator(_T("Czech (CZ) Milan Horák <stranger@tiscali.cz>")); info.AddTranslator(wxT("Czech (CZ) Milan Horák <stranger@tiscali.cz>")); /* fix for translation ! */
info.AddTranslator(_T("\nDutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>")); info.AddTranslator(_("\nDutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"));
info.AddTranslator(_T("\nFrench (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>")); info.AddTranslator(_("\nFrench (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"));
info.AddTranslator(_T("\nPolish (PL) Mateusz Skowroński <skowri@gmail.com>")); info.AddTranslator(wxT("\nPolish (PL) Mateusz Skowroński <skowri@gmail.com>")); /* fix for translation ! */
info.AddTranslator(_T("\nRussian (RU) Igor Plyatov <plyatov@gmail.com>")); info.AddTranslator(_("\nPortuguese (PT) Renie Marquet <reniemarquet@uol.com.br>"));
info.AddTranslator(_("\nRussian (RU) Igor Plyatov <plyatov@gmail.com>"));
} }
...@@ -245,7 +245,7 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event ) ...@@ -245,7 +245,7 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event )
DisplayError( this, msg ); DisplayError( this, msg );
} }
#elif defined ONLINE_HELP_FILES_FORMAT_IS_PDF #elif defined ONLINE_HELP_FILES_FORMAT_IS_PDF
wxString fullfilename = FindKicadHelpPath() + m_Parent->m_HelpFileName; wxString fullfilename = FindKicadHelpPath() + _T("kicad.pdf");
if ( wxFileExists(fullfilename) ) if ( wxFileExists(fullfilename) )
GetAssociatedDocument( this, wxEmptyString, fullfilename ); GetAssociatedDocument( this, wxEmptyString, fullfilename );
else // Try to find file in English format: else // Try to find file in English format:
......
...@@ -137,7 +137,6 @@ WinEDA_SchematicFrame::WinEDA_SchematicFrame( wxWindow* father, ...@@ -137,7 +137,6 @@ WinEDA_SchematicFrame::WinEDA_SchematicFrame( wxWindow* father,
WinEDA_DrawFrame( father, SCHEMATIC_FRAME, parent, title, pos, size, style ) WinEDA_DrawFrame( father, SCHEMATIC_FRAME, parent, title, pos, size, style )
{ {
m_FrameName = wxT( "SchematicFrame" ); m_FrameName = wxT( "SchematicFrame" );
//m_AboutTitle = g_EeschemaAboutTitle;
m_Draw_Axis = FALSE; // TRUE to show axis m_Draw_Axis = FALSE; // TRUE to show axis
m_Draw_Grid = g_ShowGrid; // TRUE to show a grid m_Draw_Grid = g_ShowGrid; // TRUE to show a grid
m_Draw_Sheet_Ref = TRUE; // TRUE to show sheet references m_Draw_Sheet_Ref = TRUE; // TRUE to show sheet references
......
No preview for this file type
This diff is collapsed.
...@@ -34,7 +34,6 @@ WinEDA_MainFrame::WinEDA_MainFrame( WinEDA_App* eda_app, ...@@ -34,7 +34,6 @@ WinEDA_MainFrame::WinEDA_MainFrame( WinEDA_App* eda_app,
wxSize clientsize; wxSize clientsize;
m_FrameName = wxT( "KicadFrame" ); m_FrameName = wxT( "KicadFrame" );
//m_AboutTitle = g_KicadAboutTitle;
m_VToolBar = NULL; m_VToolBar = NULL;
m_LeftWin = NULL; m_LeftWin = NULL;
m_BottomWin = NULL; m_BottomWin = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment