Commit 92d3b599 authored by jerryjacobs's avatar jerryjacobs

Make nameless.pro translatable

parent 18bfe66d
No preview for this file type
...@@ -2,8 +2,8 @@ msgid "" ...@@ -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: 2008-08-20 22:41+0100\n" "POT-Creation-Date: 2008-08-22 12:12+0100\n"
"PO-Revision-Date: 2008-08-20 22:42+0100\n" "PO-Revision-Date: 2008-08-22 12:12+0100\n"
"Last-Translator: Jerry Jacobs <jerkejacobs@gmail.com>\n" "Last-Translator: Jerry Jacobs <jerkejacobs@gmail.com>\n"
"Language-Team: KiCad Team <jerkejacobs@gmail.com>\n" "Language-Team: KiCad Team <jerkejacobs@gmail.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -9163,6 +9163,11 @@ msgstr "" ...@@ -9163,6 +9163,11 @@ msgstr ""
msgid "Save project file" msgid "Save project file"
msgstr "Opslaan van project bestand" msgstr "Opslaan van project bestand"
#: kicad/kicad.cpp:215
#: kicad/treeprj_frame.cpp:432
msgid "noname"
msgstr "naamloos"
#: kicad/treeprj_frame.cpp:94 #: kicad/treeprj_frame.cpp:94
msgid "&Run" msgid "&Run"
msgstr "&Uitvoeren" msgstr "&Uitvoeren"
...@@ -9258,10 +9263,6 @@ msgstr "Creëer Nieuw Bestand:" ...@@ -9258,10 +9263,6 @@ msgstr "Creëer Nieuw Bestand:"
msgid "Create New Directory" msgid "Create New Directory"
msgstr "Creëer Nieuwe Map" msgstr "Creëer Nieuwe Map"
#: kicad/treeprj_frame.cpp:432
msgid "noname"
msgstr "naamloos"
#: kicad/treeprj_frame.cpp:878 #: kicad/treeprj_frame.cpp:878
msgid "Change File Name: " msgid "Change File Name: "
msgstr "Verander Bestandsnaam:" msgstr "Verander Bestandsnaam:"
...@@ -9383,19 +9384,23 @@ msgid "Load file:" ...@@ -9383,19 +9384,23 @@ msgid "Load file:"
msgstr "Bestand laden:" msgstr "Bestand laden:"
#: kicad/commandframe.cpp:58 #: kicad/commandframe.cpp:58
msgid "eeschema (Schematic editor)" #, fuzzy
msgid "EESchema (Schematic editor)"
msgstr "EESchema (Schema Editor)" msgstr "EESchema (Schema Editor)"
#: kicad/commandframe.cpp:62 #: kicad/commandframe.cpp:62
msgid "cvpcb (Components to modules)" #, fuzzy
msgid "CVpcb (Components to modules)"
msgstr "CvPCB (Componenten naar Modules)" msgstr "CvPCB (Componenten naar Modules)"
#: kicad/commandframe.cpp:66 #: kicad/commandframe.cpp:66
msgid "pcbnew (PCB editor)" #, fuzzy
msgid "PCBnew (PCB editor)"
msgstr "PCBnew (Layout Editor)" msgstr "PCBnew (Layout Editor)"
#: kicad/commandframe.cpp:70 #: kicad/commandframe.cpp:70
msgid "gerbview (Gerber viewer)" #, fuzzy
msgid "GerbView (Gerber viewer)"
msgstr "GerbView (Gerber Viewer)" msgstr "GerbView (Gerber Viewer)"
#: kicad/commandframe.cpp:78 #: kicad/commandframe.cpp:78
......
...@@ -210,6 +210,10 @@ bool WinEDA_App::OnInit() ...@@ -210,6 +210,10 @@ bool WinEDA_App::OnInit()
/* init kicad */ /* init kicad */
GetSettings(); // read current setup 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"), m_MainFrame = new WinEDA_MainFrame(this, NULL, wxT("KiCad"),
wxPoint(30,20), wxSize(600,400) ); wxPoint(30,20), wxSize(600,400) );
...@@ -218,10 +222,10 @@ bool WinEDA_App::OnInit() ...@@ -218,10 +222,10 @@ bool WinEDA_App::OnInit()
else if ( m_EDA_Config ) else if ( m_EDA_Config )
{ {
m_MainFrame->m_PrjFileName = m_EDA_Config->Read(wxT("LastProject"), m_MainFrame->m_PrjFileName = m_EDA_Config->Read(wxT("LastProject"),
wxT("noname.pro") ); nameless_project );
} }
else else
m_MainFrame->m_PrjFileName = wxT("noname.pro"); m_MainFrame->m_PrjFileName = nameless_project;
wxString Title = g_Main_Title + wxT(" ") + GetBuildVersion(); wxString Title = g_Main_Title + wxT(" ") + GetBuildVersion();
Title += wxT(" ") + m_MainFrame->m_PrjFileName; Title += wxT(" ") + m_MainFrame->m_PrjFileName;
......
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