Make nameless.pro translatable

This commit is contained in:
jerryjacobs 2008-08-22 09:15:33 +00:00
parent 18bfe66d27
commit 92d3b59962
3 changed files with 21 additions and 12 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: KiCad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-08-20 22:41+0100\n"
"PO-Revision-Date: 2008-08-20 22:42+0100\n"
"POT-Creation-Date: 2008-08-22 12:12+0100\n"
"PO-Revision-Date: 2008-08-22 12:12+0100\n"
"Last-Translator: Jerry Jacobs <jerkejacobs@gmail.com>\n"
"Language-Team: KiCad Team <jerkejacobs@gmail.com>\n"
"MIME-Version: 1.0\n"
@ -9163,6 +9163,11 @@ msgstr ""
msgid "Save project file"
msgstr "Opslaan van project bestand"
#: kicad/kicad.cpp:215
#: kicad/treeprj_frame.cpp:432
msgid "noname"
msgstr "naamloos"
#: kicad/treeprj_frame.cpp:94
msgid "&Run"
msgstr "&Uitvoeren"
@ -9258,10 +9263,6 @@ msgstr "Creëer Nieuw Bestand:"
msgid "Create New Directory"
msgstr "Creëer Nieuwe Map"
#: kicad/treeprj_frame.cpp:432
msgid "noname"
msgstr "naamloos"
#: kicad/treeprj_frame.cpp:878
msgid "Change File Name: "
msgstr "Verander Bestandsnaam:"
@ -9383,19 +9384,23 @@ msgid "Load file:"
msgstr "Bestand laden:"
#: kicad/commandframe.cpp:58
msgid "eeschema (Schematic editor)"
#, fuzzy
msgid "EESchema (Schematic editor)"
msgstr "EESchema (Schema Editor)"
#: kicad/commandframe.cpp:62
msgid "cvpcb (Components to modules)"
#, fuzzy
msgid "CVpcb (Components to modules)"
msgstr "CvPCB (Componenten naar Modules)"
#: kicad/commandframe.cpp:66
msgid "pcbnew (PCB editor)"
#, fuzzy
msgid "PCBnew (PCB editor)"
msgstr "PCBnew (Layout Editor)"
#: kicad/commandframe.cpp:70
msgid "gerbview (Gerber viewer)"
#, fuzzy
msgid "GerbView (Gerber viewer)"
msgstr "GerbView (Gerber Viewer)"
#: kicad/commandframe.cpp:78

View File

@ -210,6 +210,10 @@ bool WinEDA_App::OnInit()
/* init kicad */
GetSettings(); // read current setup
/* Make nameless project translatable */
wxString project_ext = _T(".pro");
wxString nameless_project = _("noname") + project_ext;
m_MainFrame = new WinEDA_MainFrame(this, NULL, wxT("KiCad"),
wxPoint(30,20), wxSize(600,400) );
@ -218,10 +222,10 @@ bool WinEDA_App::OnInit()
else if ( m_EDA_Config )
{
m_MainFrame->m_PrjFileName = m_EDA_Config->Read(wxT("LastProject"),
wxT("noname.pro") );
nameless_project );
}
else
m_MainFrame->m_PrjFileName = wxT("noname.pro");
m_MainFrame->m_PrjFileName = nameless_project;
wxString Title = g_Main_Title + wxT(" ") + GetBuildVersion();
Title += wxT(" ") + m_MainFrame->m_PrjFileName;