Added Traditional Chinese translations thanks to khiav.

Updated several of the other language translations thanks to the growing Dolphin translation team.
Make it easier for translators to deal with a few strings in the code by not concatenating strings.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6922 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-01-26 04:11:20 +00:00
parent 71d93bdbc8
commit fd6711d82c
22 changed files with 8429 additions and 7249 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -78,7 +78,7 @@ void CDolLoader::Initialize(u8* _pBuffer, u32 _Size)
{
text_section[i] = new u8[m_dolheader.textSize[i]];
memcpy(text_section[i], _pBuffer + m_dolheader.textOffset[i], m_dolheader.textSize[i]);
for (int j = 0; j < (m_dolheader.textSize[i]/sizeof(u32)); j++)
for (unsigned int j = 0; j < (m_dolheader.textSize[i]/sizeof(u32)); j++)
{
u32 word = Common::swap32(((u32*)text_section[i])[j]);
if ((word & HID4_mask) == HID4_pattern)
@ -121,4 +121,4 @@ void CDolLoader::Load()
Memory::Write_U8(data_section[i][num], m_dolheader.dataAddress[i] + num);
}
}
}
}

View File

@ -47,6 +47,7 @@ static const wxLanguage langIds[] =
{
wxLANGUAGE_DEFAULT,
wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_DANISH,
wxLANGUAGE_DUTCH,
wxLANGUAGE_ENGLISH,
@ -291,6 +292,7 @@ void CConfigMain::InitializeGUILists()
// keep these in sync with the langIds array at the beginning of this file
arrayStringFor_InterfaceLang.Add(_("<System>"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)"));
arrayStringFor_InterfaceLang.Add(_("Danish"));
arrayStringFor_InterfaceLang.Add(_("Dutch"));
arrayStringFor_InterfaceLang.Add(_("English"));

View File

@ -1217,8 +1217,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) &&
wxMessageBox(
_("The file ") + wxString::FromAscii(OutputFileName.c_str()) +
_(" already exists.\nDo you wish to replace it?"),
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
OutputFileName.c_str()),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;
@ -1245,8 +1245,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) &&
wxMessageBox(
_("The file ") + wxString::FromAscii(OutputFileName.c_str()) +
_(" already exists.\nDo you wish to replace it?"),
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
OutputFileName.c_str()),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;
@ -1311,7 +1311,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event))
return;
} while (wxFileExists(path) &&
wxMessageBox(
_("The file ") + path + _(" already exists.\nDo you wish to replace it?"),
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"), path.c_str()),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO);