Update translations

This commit is contained in:
2011-04-26 21:04:14 +02:00
parent f7f0482521
commit 2713ab5247
5 changed files with 367 additions and 255 deletions

View File

@@ -51,13 +51,13 @@ ImportPanel::ImportPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent
_fileTxt->SetMinSize(size);
buttonOpen = new wxButton(this, BUTTON_OPEN_ID, wxT("..."));
_buttonLoadOperations = new wxButton(this, BUTTON_LOAD_ID, wxT("Load operations"));
_buttonLoadOperations = new wxButton(this, BUTTON_LOAD_ID, _("Load operations"));
_buttonLoadOperations->Disable();
_buttonIntegrate = new wxButton(this, BUTTON_INTEGRATE_ID, wxT("Integrate operations"));
_buttonIntegrate = new wxButton(this, BUTTON_INTEGRATE_ID, _("Integrate operations"));
_buttonIntegrate->Disable();
_checkSaveImportPatterns = new wxCheckBox(this, CHECK_SAVE_ID, wxT("Save import patterns"));
_checkSaveImportPatterns = new wxCheckBox(this, CHECK_SAVE_ID, _("Save import patterns"));
hbox->Add(_fileTxt, 0, wxGROW|wxALL, 5);
hbox->Add(buttonOpen, 0, wxALL, 5);
@@ -280,12 +280,12 @@ void ImportPanel::OnLoadOperations(wxCommandEvent& WXUNUSED(event))
if (nbAccounts)
{
message += wxString::Format(wxT("%d accounts"), nbAccounts);
if (nbCategories) message += wxT(" and ");
message += wxString::Format(_("%d accounts"), nbAccounts);
if (nbCategories) message += _(" and ");
}
if (nbCategories)
message += wxString::Format(wxT("%d categories"), nbCategories);
message += wxString::Format(_("%d categories"), nbCategories);
message += _(" will be created, is it ok ?");