Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some more strings for translation, and update the catalog.
  • Loading branch information
glennricster committed Apr 2, 2013
1 parent 92e82a4 commit 6371a6f
Show file tree
Hide file tree
Showing 29 changed files with 6,721 additions and 5,570 deletions.
488 changes: 267 additions & 221 deletions Languages/po/ar.po

Large diffs are not rendered by default.

495 changes: 271 additions & 224 deletions Languages/po/ca.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/cs.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/de.po

Large diffs are not rendered by default.

478 changes: 260 additions & 218 deletions Languages/po/dolphin-emu.pot

Large diffs are not rendered by default.

495 changes: 271 additions & 224 deletions Languages/po/el.po

Large diffs are not rendered by default.

478 changes: 260 additions & 218 deletions Languages/po/en.po

Large diffs are not rendered by default.

495 changes: 271 additions & 224 deletions Languages/po/es.po

Large diffs are not rendered by default.

493 changes: 270 additions & 223 deletions Languages/po/fa.po

Large diffs are not rendered by default.

499 changes: 273 additions & 226 deletions Languages/po/fr.po

Large diffs are not rendered by default.

478 changes: 260 additions & 218 deletions Languages/po/he.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/hu.po

Large diffs are not rendered by default.

496 changes: 271 additions & 225 deletions Languages/po/it.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/ja.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/ko.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/nb.po

Large diffs are not rendered by default.

493 changes: 270 additions & 223 deletions Languages/po/nl.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/pl.po

Large diffs are not rendered by default.

495 changes: 271 additions & 224 deletions Languages/po/pt.po

Large diffs are not rendered by default.

499 changes: 273 additions & 226 deletions Languages/po/pt_BR.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/ru.po

Large diffs are not rendered by default.

478 changes: 260 additions & 218 deletions Languages/po/sr.po

Large diffs are not rendered by default.

491 changes: 269 additions & 222 deletions Languages/po/tr.po

Large diffs are not rendered by default.

490 changes: 268 additions & 222 deletions Languages/po/zh_CN.po

Large diffs are not rendered by default.

490 changes: 268 additions & 222 deletions Languages/po/zh_TW.po

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Source/Core/DolphinWX/Src/InputConfigDiag.cpp
Expand Up @@ -34,7 +34,7 @@ void GamepadPage::ConfigExtension(wxCommandEvent& event)
if (ex->switch_extension)
{
wxDialog dlg(this, -1,
StrToWxStr(ex->attachments[ex->switch_extension]->GetName()),
wxGetTranslation(StrToWxStr(ex->attachments[ex->switch_extension]->GetName())),
wxDefaultPosition, wxDefaultSize);

wxBoxSizer* const main_szr = new wxBoxSizer(wxVERTICAL);
Expand Down Expand Up @@ -64,7 +64,7 @@ PadSettingExtension::PadSettingExtension(wxWindow* const parent, ControllerEmu::
e = extension->attachments.end();

for (; i!=e; ++i)
((wxChoice*)wxcontrol)->Append(StrToWxStr((*i)->GetName()));
((wxChoice*)wxcontrol)->Append(wxGetTranslation(StrToWxStr((*i)->GetName())));

UpdateGUI();
}
Expand All @@ -80,7 +80,7 @@ void PadSettingExtension::UpdateValue()
}

PadSettingCheckBox::PadSettingCheckBox(wxWindow* const parent, ControlState& _value, const char* const label)
: PadSetting(new wxCheckBox(parent, -1, StrToWxStr(label), wxDefaultPosition))
: PadSetting(new wxCheckBox(parent, -1, wxGetTranslation(StrToWxStr(label)), wxDefaultPosition))
, value(_value)
{
UpdateGUI();
Expand Down Expand Up @@ -677,7 +677,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
for (; ci != ce; ++ci)
{

wxStaticText* const label = new wxStaticText(parent, -1, StrToWxStr((*ci)->name));
wxStaticText* const label = new wxStaticText(parent, -1, wxGetTranslation(StrToWxStr((*ci)->name)));

ControlButton* const control_button = new ControlButton(parent, (*ci)->control_ref, 80);
control_button->SetFont(m_SmallFont);
Expand Down Expand Up @@ -731,7 +731,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
PadSettingSpin* setting = new PadSettingSpin(parent, *i);
setting->wxcontrol->Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, &GamepadPage::AdjustSetting, eventsink);
options.push_back(setting);
szr->Add(new wxStaticText(parent, -1, StrToWxStr((*i)->name)));
szr->Add(new wxStaticText(parent, -1, wxGetTranslation(StrToWxStr((*i)->name))));
szr->Add(setting->wxcontrol, 0, wxLEFT, 0);
}

Expand All @@ -757,7 +757,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
options.push_back(threshold_cbox);

wxBoxSizer* const szr = new wxBoxSizer(wxHORIZONTAL);
szr->Add(new wxStaticText(parent, -1, StrToWxStr(group->settings[0]->name)),
szr->Add(new wxStaticText(parent, -1, wxGetTranslation(StrToWxStr(group->settings[0]->name))),
0, wxCENTER|wxRIGHT, 3);
szr->Add(threshold_cbox->wxcontrol, 0, wxRIGHT, 3);

Expand Down Expand Up @@ -792,7 +792,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
setting->wxcontrol->Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, &GamepadPage::AdjustSetting, eventsink);
options.push_back(setting);
wxBoxSizer* const szr = new wxBoxSizer(wxHORIZONTAL);
szr->Add(new wxStaticText(parent, -1, StrToWxStr((*i)->name)), 0, wxCENTER|wxRIGHT, 3);
szr->Add(new wxStaticText(parent, -1, wxGetTranslation(StrToWxStr((*i)->name))), 0, wxCENTER|wxRIGHT, 3);
szr->Add(setting->wxcontrol, 0, wxRIGHT, 3);
Add(szr, 0, wxALL|wxCENTER, 3);
}
Expand Down Expand Up @@ -856,7 +856,7 @@ ControlGroupsSizer::ControlGroupsSizer(ControllerEmu* const controller, wxWindow
{
ControlGroupBox* control_group_box = new ControlGroupBox(controller->groups[i], parent, eventsink);
wxStaticBoxSizer *control_group =
new wxStaticBoxSizer(wxVERTICAL, parent, StrToWxStr(controller->groups[i]->name));
new wxStaticBoxSizer(wxVERTICAL, parent, wxGetTranslation(StrToWxStr(controller->groups[i]->name)));
control_group->Add(control_group_box);

const size_t grp_size = controller->groups[i]->controls.size() + controller->groups[i]->settings.size();
Expand Down Expand Up @@ -952,15 +952,15 @@ GamepadPage::GamepadPage(wxWindow* parent, InputPlugin& plugin, const unsigned i


InputConfigDialog::InputConfigDialog(wxWindow* const parent, InputPlugin& plugin, const std::string& name, const int tab_num)
: wxDialog(parent, wxID_ANY, StrToWxStr(name), wxPoint(128,-1), wxDefaultSize)
: wxDialog(parent, wxID_ANY, wxGetTranslation(StrToWxStr(name)), wxPoint(128,-1), wxDefaultSize)
, m_plugin(plugin)
{
m_pad_notebook = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize, wxNB_DEFAULT);
for (unsigned int i = 0; i < plugin.controllers.size(); ++i)
{
GamepadPage* gp = new GamepadPage(m_pad_notebook, m_plugin, i, this);
m_padpages.push_back(gp);
m_pad_notebook->AddPage(gp, wxString::Format(wxT("%s %u"), StrToWxStr(m_plugin.gui_name), 1+i));
m_pad_notebook->AddPage(gp, wxString::Format(wxT("%s %u"), wxGetTranslation(StrToWxStr(m_plugin.gui_name)), 1+i));
}

m_pad_notebook->SetSelection(tab_num);
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
Expand Up @@ -340,8 +340,8 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
// Internal resolution
{
const wxString efbscale_choices[] = { _("Auto (Window Size)"), _("Auto (Multiple of 640x528)"),
wxT("1x Native (640x528)"), wxT("1.5x Native (960x792)"), wxT("2x Native (1280x1056)"),
wxT("2.5x Native (1600x1320)"), wxT("3x Native (1920x1584)"), wxT("4x Native (2560x2112)") };
_("1x Native (640x528)"), _("1.5x Native (960x792)"), _("2x Native (1280x1056)"),
_("2.5x Native (1600x1320)"), _("3x Native (1920x1584)"), _("4x Native (2560x2112)") };

wxChoice *const choice_efbscale = CreateChoice(page_enh,
vconfig.iEFBScale, wxGetTranslation(internal_res_desc), sizeof(efbscale_choices)/sizeof(*efbscale_choices), efbscale_choices);
Expand Down
6 changes: 3 additions & 3 deletions Source/Plugins/Plugin_VideoDX11/Src/main.cpp
Expand Up @@ -119,9 +119,9 @@ void InitBackendInfo()
modes = DX11::D3D::EnumAAModes(ad);
for (unsigned int i = 0; i < modes.size(); ++i)
{
if (i == 0) sprintf_s(buf, 32, "None");
else if (modes[i].Quality) sprintf_s(buf, 32, "%d samples (quality level %d)", modes[i].Count, modes[i].Quality);
else sprintf_s(buf, 32, "%d samples", modes[i].Count);
if (i == 0) sprintf_s(buf, 32, _trans("None"));
else if (modes[i].Quality) sprintf_s(buf, 32, _trans("%d samples (quality level %d)"), modes[i].Count, modes[i].Quality);
else sprintf_s(buf, 32, _trans("%d samples"), modes[i].Count);
g_Config.backend_info.AAModes.push_back(buf);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/main.cpp
Expand Up @@ -141,7 +141,7 @@ void InitBackendInfo()
g_Config.backend_info.bSupportsPixelLighting = true;

// aamodes
const char* caamodes[] = {"None", "2x", "4x", "8x", "8x CSAA", "8xQ CSAA", "16x CSAA", "16xQ CSAA", "4x SSAA"};
const char* caamodes[] = {_trans("None"), "2x", "4x", "8x", "8x CSAA", "8xQ CSAA", "16x CSAA", "16xQ CSAA", "4x SSAA"};
g_Config.backend_info.AAModes.assign(caamodes, caamodes + sizeof(caamodes)/sizeof(*caamodes));

// pp shaders
Expand Down

0 comments on commit 6371a6f

Please sign in to comment.