mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -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:
@ -46,11 +46,11 @@ void CBreakPointView::Update()
|
||||
{
|
||||
ClearAll();
|
||||
|
||||
InsertColumn(0, wxT("Active"), wxLIST_FORMAT_LEFT, 50);
|
||||
InsertColumn(1, wxT("Type"), wxLIST_FORMAT_LEFT, 50);
|
||||
InsertColumn(2, wxT("Function"), wxLIST_FORMAT_CENTER, 200);
|
||||
InsertColumn(3, wxT("Address"), wxLIST_FORMAT_LEFT, 100);
|
||||
InsertColumn(4, wxT("Flags"), wxLIST_FORMAT_CENTER, 100);
|
||||
InsertColumn(0, _("Active"), wxLIST_FORMAT_LEFT, 50);
|
||||
InsertColumn(1, _("Type"), wxLIST_FORMAT_LEFT, 50);
|
||||
InsertColumn(2, _("Function"), wxLIST_FORMAT_CENTER, 200);
|
||||
InsertColumn(3, _("Address"), wxLIST_FORMAT_LEFT, 100);
|
||||
InsertColumn(4, _("Flags"), wxLIST_FORMAT_CENTER, 100);
|
||||
|
||||
char szBuffer[64];
|
||||
const BreakPoints::TBreakPoints& rBreakPoints = PowerPC::breakpoints.GetBreakPoints();
|
||||
@ -156,16 +156,16 @@ CBreakPointBar::CBreakPointBar(CBreakPointWindow* parent, const wxWindowID id, c
|
||||
|
||||
void CBreakPointBar::PopulateBar()
|
||||
{
|
||||
InsertItem(IDM_DELETE, _T("Delete"), 0);
|
||||
InsertItem(IDM_CLEAR, _T("Clear all"), 0);
|
||||
InsertItem(IDM_DELETE, _("Delete"), 0);
|
||||
InsertItem(IDM_CLEAR, _("Clear all"), 0);
|
||||
|
||||
InsertItem(IDM_ADD_BREAKPOINT, _T("Add BP..."), 1);
|
||||
InsertItem(IDM_ADD_BREAKPOINTMANY, _T("Add BPs..."), 1);
|
||||
InsertItem(IDM_ADD_BREAKPOINT, _("Add BP..."), 1);
|
||||
InsertItem(IDM_ADD_BREAKPOINTMANY, _("Add BPs..."), 1);
|
||||
|
||||
// just add memory breakpoints if you can use them
|
||||
if (Memory::AreMemoryBreakpointsActivated())
|
||||
{
|
||||
InsertItem(IDM_ADD_MEMORYCHECK, _T("Add MC..."), 2);
|
||||
InsertItem(IDM_ADD_MEMORYCHECKMANY, _T("Add MCs..."), 2);
|
||||
InsertItem(IDM_ADD_MEMORYCHECK, _("Add MC..."), 2);
|
||||
InsertItem(IDM_ADD_MEMORYCHECKMANY, _("Add MCs..."), 2);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user