mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Add internationalization support. There aren't really any translations yet other than a little French thanks to DavidVag. So now the translators need to go to work. See http://wiki.wxwidgets.org/Internationalization for directions. The binary .mo files are generated at build time on linux. They are provided in Data/Languages for windows. I don't know where they need to go on OSX, but they should be able to be generated there at least. I added a target to generate them on windows, but does not build by default as it requires that msgfmt.exe from the gnu gettext tools be installed and in the path.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6747 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -143,7 +143,7 @@ void CBreakPointWindow::OnAddBreakPointMany()
|
||||
std::vector<std::string> lines;
|
||||
if (!ini.GetLines("BreakPoints", lines))
|
||||
{
|
||||
wxMessageBox(_T("You have no [BreakPoints] line in your file"));
|
||||
wxMessageBox(_("You have no [BreakPoints] line in your file"));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ void CBreakPointWindow::OnAddBreakPointMany()
|
||||
}
|
||||
else
|
||||
{
|
||||
wxMessageBox(_T("Couldn't find GameConfig/BreakPoints.ini file"));
|
||||
wxMessageBox(_("Couldn't find GameConfig/BreakPoints.ini file"));
|
||||
}
|
||||
|
||||
}
|
||||
@ -188,7 +188,7 @@ void CBreakPointWindow::OnAddMemoryCheckMany()
|
||||
std::vector<std::string> lines;
|
||||
if (!ini.GetLines("MemoryChecks", lines))
|
||||
{
|
||||
wxMessageBox(_T("You have no [MemoryChecks] line in your file"));
|
||||
wxMessageBox(_("You have no [MemoryChecks] line in your file"));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -259,7 +259,7 @@ void CBreakPointWindow::OnAddMemoryCheckMany()
|
||||
}
|
||||
else
|
||||
{
|
||||
wxMessageBox(_T("You have no ") + wxString::FromAscii(File::GetUserPath(D_GAMECONFIG_IDX)) + _T("MemoryChecks.ini file"));
|
||||
wxMessageBox(_("You have no ") + wxString::FromAscii(File::GetUserPath(D_GAMECONFIG_IDX)) + _("MemoryChecks.ini file"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user