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
+327 -313
View File
File diff suppressed because it is too large Load Diff
+809 -609
View File
File diff suppressed because it is too large Load Diff
+327 -313
View File
File diff suppressed because it is too large Load Diff
+638 -545
View File
File diff suppressed because it is too large Load Diff
+327 -313
View File
File diff suppressed because it is too large Load Diff
+368 -322
View File
File diff suppressed because it is too large Load Diff
+369 -323
View File
File diff suppressed because it is too large Load Diff
+331 -314
View File
File diff suppressed because it is too large Load Diff
+857 -613
View File
File diff suppressed because it is too large Load Diff
+370 -324
View File
File diff suppressed because it is too large Load Diff
+347 -316
View File
File diff suppressed because it is too large Load Diff
+366 -321
View File
File diff suppressed because it is too large Load Diff
+405 -411
View File
File diff suppressed because it is too large Load Diff
+365 -320
View File
File diff suppressed because it is too large Load Diff
+373 -327
View File
File diff suppressed because it is too large Load Diff
+365 -320
View File
File diff suppressed because it is too large Load Diff
+708 -561
View File
File diff suppressed because it is too large Load Diff
+375 -329
View File
File diff suppressed because it is too large Load Diff
+365 -320
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -78,7 +78,7 @@ void CDolLoader::Initialize(u8* _pBuffer, u32 _Size)
{ {
text_section[i] = new u8[m_dolheader.textSize[i]]; text_section[i] = new u8[m_dolheader.textSize[i]];
memcpy(text_section[i], _pBuffer + m_dolheader.textOffset[i], 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]); u32 word = Common::swap32(((u32*)text_section[i])[j]);
if ((word & HID4_mask) == HID4_pattern) if ((word & HID4_mask) == HID4_pattern)
+2
View File
@@ -47,6 +47,7 @@ static const wxLanguage langIds[] =
{ {
wxLANGUAGE_DEFAULT, wxLANGUAGE_DEFAULT,
wxLANGUAGE_CHINESE_SIMPLIFIED, wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_DANISH, wxLANGUAGE_DANISH,
wxLANGUAGE_DUTCH, wxLANGUAGE_DUTCH,
wxLANGUAGE_ENGLISH, wxLANGUAGE_ENGLISH,
@@ -291,6 +292,7 @@ void CConfigMain::InitializeGUILists()
// keep these in sync with the langIds array at the beginning of this file // keep these in sync with the langIds array at the beginning of this file
arrayStringFor_InterfaceLang.Add(_("<System>")); arrayStringFor_InterfaceLang.Add(_("<System>"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)")); arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)"));
arrayStringFor_InterfaceLang.Add(_("Danish")); arrayStringFor_InterfaceLang.Add(_("Danish"));
arrayStringFor_InterfaceLang.Add(_("Dutch")); arrayStringFor_InterfaceLang.Add(_("Dutch"));
arrayStringFor_InterfaceLang.Add(_("English")); arrayStringFor_InterfaceLang.Add(_("English"));
+5 -5
View File
@@ -1217,8 +1217,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) && if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) &&
wxMessageBox( wxMessageBox(
_("The file ") + wxString::FromAscii(OutputFileName.c_str()) + wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
_(" already exists.\nDo you wish to replace it?"), OutputFileName.c_str()),
_("Confirm File Overwrite"), _("Confirm File Overwrite"),
wxYES_NO) == wxNO) wxYES_NO) == wxNO)
continue; continue;
@@ -1245,8 +1245,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) && if (wxFileExists(wxString::FromAscii(OutputFileName.c_str())) &&
wxMessageBox( wxMessageBox(
_("The file ") + wxString::FromAscii(OutputFileName.c_str()) + wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
_(" already exists.\nDo you wish to replace it?"), OutputFileName.c_str()),
_("Confirm File Overwrite"), _("Confirm File Overwrite"),
wxYES_NO) == wxNO) wxYES_NO) == wxNO)
continue; continue;
@@ -1311,7 +1311,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event))
return; return;
} while (wxFileExists(path) && } while (wxFileExists(path) &&
wxMessageBox( 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"), _("Confirm File Overwrite"),
wxYES_NO) == wxNO); wxYES_NO) == wxNO);