Make "Untitled" and "untitled" translateable, updates #792.

Originally committed to SVN as r3761.
This commit is contained in:
Niels Martin Hansen 2009-11-04 05:27:09 +00:00
parent cd4905fe34
commit 3c75547292

View file

@ -914,7 +914,7 @@ void FrameMain::UpdateTitle() {
wxFileName file (AssFile::top->filename); wxFileName file (AssFile::top->filename);
newTitle << file.GetFullName(); newTitle << file.GetFullName();
} }
else newTitle << _T("Untitled"); else newTitle << _("Untitled");
newTitle << _T(" - Aegisub ") << GetAegisubLongVersionString(); newTitle << _T(" - Aegisub ") << GetAegisubLongVersionString();
#else #else
// Apple HIG says "untitled" should not be capitalised // Apple HIG says "untitled" should not be capitalised
@ -924,7 +924,7 @@ void FrameMain::UpdateTitle() {
wxFileName file (AssFile::top->filename); wxFileName file (AssFile::top->filename);
newTitle << file.GetFullName(); newTitle << file.GetFullName();
} }
else newTitle << _T("untitled"); else newTitle << _("untitled");
#endif #endif
#ifdef __WXMAC__ #ifdef __WXMAC__