switch(KMessageBox::warningYesNo(0,i18n("Problems were encountered in converting schedule '%1'.\nDo you want to review or edit it now?").tqarg(sc.name()),PACKAGE)){
switch(KMessageBox::warningYesNo(0,i18n("Problems were encountered in converting schedule '%1'.\nDo you want to review or edit it now?").arg(sc.name()),PACKAGE)){
caseKMessageBox::Yes:
s=newKEditScheduleDlg(sc);
// FIXME: connect newCategory to something useful, so that we
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").tqarg(m_account.name(),split.shares().formatMoney(m_account,sec),balance.formatMoney(m_account,sec)),
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").arg(m_account.name(),split.shares().formatMoney(m_account,sec),balance.formatMoney(m_account,sec)),
// in case we create it anyway, we issue a warning to the user to check it manually
KMessageBox::sorry(0,TQString("<qt>%1</qt>").tqarg(i18n("KMyMoney has imported a second opening balance transaction into account <b>%1</b> which differs from the one found already on file. Please correct this manually once the import is done.").tqarg(acc.name())),i18n("Opening balance problem"));
KMessageBox::sorry(0,TQString("<qt>%1</qt>").arg(i18n("KMyMoney has imported a second opening balance transaction into account <b>%1</b> which differs from the one found already on file. Please correct this manually once the import is done.").arg(acc.name())),i18n("Opening balance problem"));
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").tqarg(account.name(),split.shares().formatMoney(account,sec),balance.formatMoney(account,sec)),
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").arg(account.name(),split.shares().formatMoney(account,sec),balance.formatMoney(account,sec)),
KMessageBox::information(0,i18n("This imported statement contains investment transactions with no security. These transactions will be ignored.").tqarg(t_in.m_strSecurity),i18n("Security not found"),TQString("BlankSecurity"));
KMessageBox::information(0,i18n("This imported statement contains investment transactions with no security. These transactions will be ignored.").arg(t_in.m_strSecurity),i18n("Security not found"),TQString("BlankSecurity"));
// This should be rare. A statement should have a security entry for any
// of the securities referred to in the transactions. The only way to get
// here is if that's NOT the case.
KMessageBox::information(0,i18n("This investment account does not contain the \"%1\" security. Transactions involving this security will be ignored.").tqarg(t_in.m_strSecurity),i18n("Security not found"),TQString("MissingSecurity%1").tqarg(t_in.m_strSecurity.stripWhiteSpace()));
KMessageBox::information(0,i18n("This investment account does not contain the \"%1\" security. Transactions involving this security will be ignored.").arg(t_in.m_strSecurity),i18n("Security not found"),TQString("MissingSecurity%1").arg(t_in.m_strSecurity.stripWhiteSpace()));
if(KMessageBox::questionYesNo(0,TQString("<qt>%1</qt>").tqarg(i18n("KMyMoney has found a scheduled transaction named <b>%1</b> which matches an imported transaction. Do you want KMyMoney to enter this schedule now so that the transaction can be matched? ").tqarg(schedule.name())),i18n("Schedule found"))==KMessageBox::Yes){
if(KMessageBox::questionYesNo(0,TQString("<qt>%1</qt>").arg(i18n("KMyMoney has found a scheduled transaction named <b>%1</b> which matches an imported transaction. Do you want KMyMoney to enter this schedule now so that the transaction can be matched? ").arg(schedule.name())),i18n("Schedule found"))==KMessageBox::Yes){
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid tag <b>%1</b> in template file <b>%2</b>!").tqarg(childElement.tagName()).tqarg(m_source.prettyURL()));
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid tag <b>%1</b> in template file <b>%2</b>!").arg(childElement.tagName()).arg(m_source.prettyURL()));
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid top-level account type <b>%1</b> in template file <b>%2</b>!").tqarg(childElement.attribute("type")).tqarg(m_source.prettyURL()));
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid top-level account type <b>%1</b> in template file <b>%2</b>!").arg(childElement.attribute("type")).arg(m_source.prettyURL()));
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid flag type <b>%1</b> for account <b>%3</b> in template file <b>%2</b>!").tqarg(flagElement.attribute("name")).tqarg(m_source.prettyURL()).tqarg(acc.name()));
KMessageBox::error(tqApp->mainWidget(),TQString("<p>")+i18n("Invalid flag type <b>%1</b> for account <b>%3</b> in template file <b>%2</b>!").arg(flagElement.attribute("name")).arg(m_source.prettyURL()).arg(acc.name()));
@ -42,7 +42,7 @@ Please make sure you have a disk inserted and that the drive is ready. Then choo
Click OK to perform the backup. If your system does not use an automounter, make sure you mark the checkbox below to "mount this directory before backing up."</string>
// if there is no category for reassignment left, we bail out
if(list.isEmpty()){
KMessageBox::sorry(this,TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").tqarg(category.name())+TQString("</qt>"));
KMessageBox::sorry(this,TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").arg(category.name())+TQString("</qt>"));
<string>The transactions, schedules and budgets associated with the selected category need to be re-assigned to a different category before the selected category can be deleted. Please select a category from the list below.</string>
m_enterInformationLabel->setText(TQString("<qt>")+i18n("Please enter the following fields with the information as you find them on your statement. Make sure to enter all values in <b>%1</b>.").tqarg(currency.name())+TQString("</qt>"));
m_enterInformationLabel->setText(TQString("<qt>")+i18n("Please enter the following fields with the information as you find them on your statement. Make sure to enter all values in <b>%1</b>.").arg(currency.name())+TQString("</qt>"));
@ -43,7 +43,7 @@ All relevant information necessary for this process is usually printed on your s
On the next page you will verify, that the starting and ending balance are matching those on your statement. If not, please modify the figures.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -75,7 +75,7 @@ On the next page you will verify, that the starting and ending balance are match
Please enter the following information found on your statement:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -231,7 +231,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>1</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -334,7 +334,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>If your statement shows different amounts, please cancel this dialog and correct the false transactions or correct the values in this dialog. In the later case, KMyMoney will create an adjustment transaction and add it to the ledger.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -381,7 +381,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>In order to create the adjustment transaction, KMyMoney requires an account and possibly an interest category to assign the differences to. Please select an account and - if necessary - a category.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -512,7 +512,7 @@ It is important, that you continue with the same statement you used when you pos
All information you have entered into this wizard will be shown and all transactions that you already cleared are marked with a 'C'.</string>
result=KMessageBox::warningContinueCancel(this,i18n("Failed to retrieve an exchange rate for %1 from %2. It will be skipped this time.").tqarg(_symbol,item->text(SOURCE_COL)),i18n("Price Update Failed"));
result=KMessageBox::warningContinueCancel(this,i18n("Failed to retrieve an exchange rate for %1 from %2. It will be skipped this time.").arg(_symbol,item->text(SOURCE_COL)),i18n("Price Update Failed"));
}else{
result=KMessageBox::questionYesNoCancel(this,TQString("<qt>%1</qt>").tqarg(i18n("Failed to retrieve a quote for %1 from %2. Press <b>No</b> to remove the online price source from this security permanently, <b>Yes</b> to continue updating this security during future price updates or <b>Cancel</b> to stop the current update operation.").tqarg(_symbol,item->text(SOURCE_COL))),i18n("Price Update Failed"),KStdGuiItem::yes(),KStdGuiItem::no());
result=KMessageBox::questionYesNoCancel(this,TQString("<qt>%1</qt>").arg(i18n("Failed to retrieve a quote for %1 from %2. Press <b>No</b> to remove the online price source from this security permanently, <b>Yes</b> to continue updating this security during future price updates or <b>Cancel</b> to stop the current update operation.").arg(_symbol,item->text(SOURCE_COL))),i18n("Price Update Failed"),KStdGuiItem::yes(),KStdGuiItem::no());
You can choose the file's path, the account and the format of the QIF file (profile). Choose Account to export all the transactions between the specified dates or just categories. You can also limit the transactions that are exported by start and ending date. Once you have pressed the Export button a message box will appear when the export has completed detailing how many transactions, categories and payees were exported.</string>
KMessageBox::error(this,TQString("<qt>")+i18n("An account named <b>%1</b> already exists. You cannot create a second account with the same name.").tqarg(accountNameText)+TQString("</qt>"));
KMessageBox::error(this,TQString("<qt>")+i18n("An account named <b>%1</b> already exists. You cannot create a second account with the same name.").arg(accountNameText)+TQString("</qt>"));
KMessageBox::error(this,TQString("<qt>")+i18n("A category named <b>%1</b> already exists. You cannot create a second category with the same name.").tqarg(newName)+TQString("</qt>"));
KMessageBox::error(this,TQString("<qt>")+i18n("A category named <b>%1</b> already exists. You cannot create a second category with the same name.").arg(newName)+TQString("</qt>"));
KMessageBox::detailedSorry(0,i18n("Unable to create all objects for the investment"),TQString("%1 caugt in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Unable to create all objects for the investment"),TQString("%1 caugt in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
<string>This wizard allows you to create a new investment.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -61,7 +61,7 @@
<property name="text">
<string>The first step in this process requires to select the type of investment. The following steps collect more details about the investment from you.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -174,7 +174,7 @@
<property name="text">
<string>Enter the details below and click <b>Next</b> to continue entering the online update details.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -231,7 +231,7 @@
<property name="text">
<string>1 /</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -401,7 +401,7 @@
<property name="text">
<string>Select an online source and click <b>Finish</b> to store the investment data. If you don't want to use online updates, just leave the data as is.</string>
@ -117,7 +117,7 @@ Welcome to the New Loan Account Wizard which will guide you through the creation
Please make sure that you have the relevant information handy. You usually get the information out of your contract and the last statement.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -196,7 +196,7 @@ Please make sure that you have the relevant information handy. You usually get t
<property name="text">
<string>Edit Loan Account Wizard</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignTop|AlignHCenter</set>
</property>
</widget>
@ -229,7 +229,7 @@ Welcome to the Edit Loan Account Wizard. Please use this wizard to modify inform
Please make sure that you have the relevant information handy. You usually get the information out of your contract and the last statement.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -277,7 +277,7 @@ Please make sure that you have the relevant information handy. You usually get t
<string>
In the first step, KMyMoney will ask you some general information about the loan account to be created.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -350,7 +350,7 @@ In the first step, KMyMoney will ask you some general information about the loan
<property name="text">
<string>1. General Information</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@ -450,7 +450,7 @@ In the first step, KMyMoney will ask you some general information about the loan
<string>
Please select, which data of the loan you want to modify.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -613,7 +613,7 @@ Please select, which data of the loan you want to modify.</string>
<property name="text">
<string>1</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -624,7 +624,7 @@ Please select, which data of the loan you want to modify.</string>
<property name="text">
<string>1</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -718,7 +718,7 @@ Please select, which data of the loan you want to modify.</string>
<string>
Do you borrow or lend money?</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -851,7 +851,7 @@ Do you borrow or lend money?</string>
<string>
How do you want to call this loan? Examples for names are 'car loan', 'school loan', 'home owner loan'.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -993,7 +993,7 @@ How do you want to call this loan? Examples for names are 'car loan', 'school lo
<string>
Is the interest of this loan fixed over a period of time or is it adapted from time to time? If the interest rate changes during the amortization phase of the loan you should choose the option 'variable interest rate'.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1132,7 +1132,7 @@ Is the interest of this loan fixed over a period of time or is it adapted from t
<string>
Were there any payments for this loan whether they are entered into KMyMoney or not?</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1251,7 +1251,7 @@ Were there any payments for this loan whether they are entered into KMyMoney or
<property name="text">
<string>Note: Payments made to obtain the loan (e.g. Dissagio) are not considered as payments in this context.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1299,7 +1299,7 @@ Were there any payments for this loan whether they are entered into KMyMoney or
<string>
Do you want to record all payments of this loan with KMyMoney?</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1432,7 +1432,7 @@ Do you want to record all payments of this loan with KMyMoney?</string>
<string>
Select the date when the interest rate for this loan will be modified and the frequency of the future changes.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1556,7 +1556,7 @@ Select the date when the interest rate for this loan will be modified and the fr
<string>
Please enter the amount you pay for principal and interest or leave the field empty to calculate it.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1698,7 +1698,7 @@ Please enter the amount you pay for principal and interest or leave the field em
If KMyMoney should calculate this value for you, then leave the field blank.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -1729,7 +1729,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<string>
Please enter the interest rate or leave the field empty to calculate it.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1871,7 +1871,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
If KMyMoney should calculate this value for you, then leave the field blank.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1901,7 +1901,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<property name="text">
<string>1</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -1975,7 +1975,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<property name="text">
<string></string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignBottom</set>
</property>
</widget>
@ -2006,7 +2006,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<string>
You have successfully entered the general information about your loan. Next, KMyMoney needs some information about the calculation of the loan.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2082,7 +2082,7 @@ You have successfully entered the general information about your loan. Next, KMy
<property name="text">
<string>1. General Information</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@ -2189,7 +2189,7 @@ You have successfully entered the general information about your loan. Next, KMy
<string>
How often will there be payments made to this loan?</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2309,7 +2309,7 @@ How often will there be payments made to this loan?</string>
<string>
When does the actual interest rate get calculated?</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2447,7 +2447,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>1</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2524,7 +2524,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2535,7 +2535,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2546,7 +2546,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2557,7 +2557,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2568,7 +2568,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2681,7 +2681,7 @@ When does the actual interest rate get calculated?</string>
<string>
Please enter the interest rate or leave the field empty to calculate it.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2758,7 +2758,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2769,7 +2769,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2780,7 +2780,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2791,7 +2791,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2802,7 +2802,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -2909,7 +2909,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<string>
Please enter the term of this loan or leave the field empty to calculate it. The term is the time that is required to fully repay the loan. This time might be different from the time your loan contract is signed for.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -2993,7 +2993,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3004,7 +3004,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3015,7 +3015,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3026,7 +3026,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3037,7 +3037,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3150,7 +3150,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<string>
Please enter the amount you pay for principal and interest or leave the field empty to calculate it.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -3227,7 +3227,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3238,7 +3238,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3249,7 +3249,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3260,7 +3260,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3271,7 +3271,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3384,7 +3384,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<string>
Please enter the amount of a final amortization payment or leave the field empty to calculate it.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -3461,7 +3461,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3472,7 +3472,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3483,7 +3483,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3494,7 +3494,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3505,7 +3505,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3618,7 +3618,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<string>
KMyMoney has calculated the loan as shown in the overview below. You can accept these values by selecting "Next" or change them by choosing "Back" to return to the input field for the information you want to change.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -3666,7 +3666,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3677,7 +3677,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3688,7 +3688,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3699,7 +3699,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3710,7 +3710,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Final amortization payment</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -3823,7 +3823,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<string>
In the following steps, KMyMoney supports you in setting up categories and schedules for your loan payments.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -3899,7 +3899,7 @@ In the following steps, KMyMoney supports you in setting up categories and sched
<property name="text">
<string>1. General Information</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@ -4009,7 +4009,7 @@ In the following steps, KMyMoney supports you in setting up categories and sched
<string>
Please select the category you want to assign the interest payments to or create a new category.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4120,7 +4120,7 @@ Please select the category you want to assign the interest payments to or create
<string>
If your regular payment contains any additional fees, click on the button "Additional fees" to enter them.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4168,7 +4168,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>= periodical payment:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4187,7 +4187,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4206,7 +4206,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4231,7 +4231,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>+</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4260,7 +4260,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4271,7 +4271,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4335,7 +4335,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>If no additional fees are included in your periodical payment or you have entered all such fees, then click on "Next".</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4383,7 +4383,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<string>KMyMoney will create a schedule for this payment and reminds you whenever a payment must be made.<p>
If you selected to record all payments this date has already been supplied. If you selected to record only this years payments, then the <b>First payment due date</b> is the date of the first payment made in this year.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4443,7 +4443,7 @@ If you selected to record all payments this date has already been supplied. If y
<property name="text">
<string>Make payment from/to:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@ -4493,7 +4493,7 @@ If you selected to record all payments this date has already been supplied. If y
<string>
KMyMoney has calculated the loan as shown below. If you want to accept these values use the "Finish" button to update your account, otherwise use the "Back" button to modify your settings.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4541,7 +4541,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4552,7 +4552,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Additional fees:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4563,7 +4563,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Total payment:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4574,7 +4574,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4585,7 +4585,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Valid from:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4596,7 +4596,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Affected payments:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -4719,7 +4719,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<string>If this loan is for an asset, such as a car or a house, you can create the asset account now. An asset account represents the total value of an asset. The money from this loan will be transfered into the asset account you create or select.
If this loan is a 'consumer loan' (money to use however you want), you can use a checking account instead.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4871,7 +4871,7 @@ If this loan is a 'consumer loan' (money to use however you want), you can use a
<string>
This page summarizes the data you entered. If you need to modify anything, please use the "Back" button to go to respective page. Otherwise use the "Finish" button to create the account.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -4958,7 +4958,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Payee:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5001,7 +5001,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>First payment:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5028,7 +5028,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Amount is:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5122,7 +5122,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Periodic Payment:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5133,7 +5133,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Additional Fees:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5144,7 +5144,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest category:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5155,7 +5155,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Payment from:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5198,7 +5198,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Next due date:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5262,7 +5262,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Term:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5289,7 +5289,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest rate:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5316,7 +5316,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Final Payment:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5343,7 +5343,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest is due:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5370,7 +5370,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Principal + Interest:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5397,7 +5397,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Loan amount:</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -5408,7 +5408,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<string>The transactions associated with the selected payees need to be re-assigned to a different payee before the selected payees can be deleted. Please select a payee from the list below.</string>
msg=TQString("<p>")+i18n("Do you really want to remove the currency <b>%1</b> from the file?</p><i>Note: It is currently not supported to add currencies.</i>").tqarg(security.name());
msg=TQString("<p>")+i18n("Do you really want to remove the currency <b>%1</b> from the file?</p><i>Note: It is currently not supported to add currencies.</i>").arg(security.name());
dontAsk="DeleteCurrency";
}else{
msg=TQString("<p>")+i18n("Do you really want to remove the %1 <b>%2</b> from the file?").tqarg(KMyMoneyUtils::securityTypeToString(security.securityType())).tqarg(security.name());
msg=TQString("<p>")+i18n("Do you really want to remove the %1 <b>%2</b> from the file?").arg(KMyMoneyUtils::securityTypeToString(security.securityType())).arg(security.name());
i18n("TQt SQL driver %1 has not been fully tested in a KMyMoney environment. Please make sure you have adequate backups of your data. Please report any problems to the developer mailing list at kmymoney2-developer@lists.sourceforge.net")
KMessageBox::information(this,TQString("<qt>%1</qt>").tqarg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")),i18n("GPG encryption activated"),"GpgEncryptionActivated");
KMessageBox::information(this,TQString("<qt>%1</qt>").arg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")),i18n("GPG encryption activated"),"GpgEncryptionActivated");
if(KMessageBox::questionYesNo(m_regForm,TQString("<qt>")+i18n("The number <b>%1</b> has already been used in account <b>%2</b>. Do you want to replace it with the next available number?").tqarg(txt).tqarg(m_account.name())+TQString("</qt>"),i18n("Duplicate number"))==KMessageBox::Yes){
if(KMessageBox::questionYesNo(m_regForm,TQString("<qt>")+i18n("The number <b>%1</b> has already been used in account <b>%2</b>. Do you want to replace it with the next available number?").arg(txt).arg(m_account.name())+TQString("</qt>"),i18n("Duplicate number"))==KMessageBox::Yes){
@ -302,11 +302,11 @@ int TransactionEditor::slotEditSplits(void)
acc=MyMoneyAccount();
}
TQStringmsg;
msg=TQString("<p>")+i18n("This transaction has more than two splits and is based on a different currency (%1). Using this account to modify the transaction is currently not very well supported by KMyMoney and may result in false results.").tqarg(sec.name())+TQString("");
msg=TQString("<p>")+i18n("This transaction has more than two splits and is based on a different currency (%1). Using this account to modify the transaction is currently not very well supported by KMyMoney and may result in false results.").arg(sec.name())+TQString("");
if(acc.id().isEmpty()){
msg+=i18n("KMyMoney was not able to find a more appropriate account to edit this transaction. Nevertheless, you are allowed to modify the transaction. If you don't want to edit this transaction, please cancel from editing next.");
}else{
msg+=i18n("Using e.g. <b>%1</b> to edit this transaction is a better choice. Nevertheless, you are allowed to modify the transaction. If you want to use the suggested account instead, please cancel from editing next and change the view to the suggested account.").tqarg(acc.name());
msg+=i18n("Using e.g. <b>%1</b> to edit this transaction is a better choice. Nevertheless, you are allowed to modify the transaction. If you want to use the suggested account instead, please cancel from editing next and change the view to the suggested account.").arg(acc.name());
msg=i18n("This transaction has more than two splits and is originally based on a different currency (%1). Using this account to modify the transaction may result in rounding errors. Do you want to continue?").tqarg(osec.name());
msg=i18n("This transaction has more than two splits and is originally based on a different currency (%1). Using this account to modify the transaction may result in rounding errors. Do you want to continue?").arg(osec.name());
}else{
msg=i18n("At least one of the selected transactions has more than two splits and is originally based on a different currency (%1). Using this account to modify the transactions may result in rounding errors. Do you want to continue?").tqarg(osec.name());
msg=i18n("At least one of the selected transactions has more than two splits and is originally based on a different currency (%1). Using this account to modify the transactions may result in rounding errors. Do you want to continue?").arg(osec.name());
i18n("Accepts the entered data and stores it as schedule"),
i18n("Use this to schedule the transaction for later entry into the ledger."));
enter=KMessageBox::questionYesNo(m_regForm,TQString("<qt>%1</qt>").tqarg(i18n("The transaction you are about to enter has a post date in the future.<br/><br/>Do you want to enter it in the ledger or add it to the schedules?")),i18n("Dialog caption for 'Enter or schedule' dialog","Enter or schedule?"),enterButton,scheduleButton,"EnterOrScheduleTransactionInFuture")==KMessageBox::Yes;
enter=KMessageBox::questionYesNo(m_regForm,TQString("<qt>%1</qt>").arg(i18n("The transaction you are about to enter has a post date in the future.<br/><br/>Do you want to enter it in the ledger or add it to the schedules?")),i18n("Dialog caption for 'Enter or schedule' dialog","Enter or schedule?"),enterButton,scheduleButton,"EnterOrScheduleTransactionInFuture")==KMessageBox::Yes;
msg=TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the warning balance of %2.").tqarg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the warning balance of %2.").arg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the minimum balance of %2.").tqarg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the minimum balance of %2.").arg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the maximum credit warning limit of %2.").tqarg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the maximum credit warning limit of %2.").arg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the maximum credit limit of %2.").tqarg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
msg=TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the maximum credit limit of %2.").arg(acc.name(),MyMoneyMoney(acc.value(key)).formatMoney(acc,sec)));
// verify that the amounts are the same, otherwise we should not be matching!
if(sm.shares()!=si.shares()){
thrownewMYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").tqarg(m_account.name()).tqarg(sm.shares().formatMoney(m_account, sec), si.shares().formatMoney(m_account, sec)));
thrownewMYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").arg(m_account.name()).arg(sm.shares().formatMoney(m_account, sec), si.shares().formatMoney(m_account, sec)));
}
// ipwizard: I took over the code to keep the bank id found in the endMatchTransaction
thrownewMYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").tqarg(m_account.name()));
thrownewMYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").arg(m_account.name()));
}
}catch(MyMoneyException*e){
TQStringestr=e->what();
deletee;
thrownewMYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").tqarg(estr));
thrownewMYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").arg(estr));
thrownewMYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").tqarg(accountname).tqarg((*it_split).value().formatMoney(),startSplit.value().formatMoney()));
thrownewMYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").arg(accountname).arg((*it_split).value().formatMoney(),startSplit.value().formatMoney()));
thrownewMYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").tqarg(accountname));
thrownewMYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").arg(accountname));
}
}
catch(MyMoneyException*e)
{
TQStringestr=e->what();
deletee;
thrownewMYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").tqarg(estr));
thrownewMYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").arg(estr));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> is either an invalid filename or the file does not exist. You can open another file or create a new one.").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("File not found"));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> is either an invalid filename or the file does not exist. You can open another file or create a new one.").arg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("File not found"));
}
}else{
KMessageBox::sorry(this,TQString("<p>")+i18n("File <b>%1</b> is already opened in another instance of KMyMoney").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Duplicate open"));
KMessageBox::sorry(this,TQString("<p>")+i18n("File <b>%1</b> is already opened in another instance of KMyMoney").arg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Duplicate open"));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to import template(s): %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to import template(s): %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
if(KMessageBox::warningYesNo(this,TQString("<qt>")+i18n("The file <b>%1</b> already exists. Do you really want to override it?").tqarg(url.prettyURL(0,KURL::StripFileProtocol))+TQString("</qt>"),i18n("File already exists"))!=KMessageBox::Yes)
if(KMessageBox::warningYesNo(this,TQString("<qt>")+i18n("The file <b>%1</b> already exists. Do you really want to override it?").arg(url.prettyURL(0,KURL::StripFileProtocol))+TQString("</qt>"),i18n("File already exists"))!=KMessageBox::Yes)
if((KMessageBox::questionYesNo(this,TQString("<p>")+i18n("Do you really want to delete institution <b>%1</b> ?").tqarg(institution.name())))==KMessageBox::No)
if((KMessageBox::questionYesNo(this,TQString("<p>")+i18n("Do you really want to delete institution <b>%1</b> ?").arg(institution.name())))==KMessageBox::No)
TQString("<qt>%1</qt>").tqarg(i18n("The category <b>%1</b> currently does not exist. Do you want to create it?<p><i>The parent account will default to <b>%2</b> but can be changed in the following dialog</i>.").tqarg(account.name()).tqarg(parent.name())),i18n("Create category"),
TQString("<qt>%1</qt>").arg(i18n("The category <b>%1</b> currently does not exist. Do you want to create it?<p><i>The parent account will default to <b>%2</b> but can be changed in the following dialog</i>.").arg(account.name()).arg(parent.name())),i18n("Create category"),
if(KMessageBox::questionYesNo(this,TQString("<p>")+i18n("Do you really want to delete the investment <b>%1</b>?").tqarg(m_selectedInvestment.name()),i18n("Delete investment"),KStdGuiItem::yes(),KStdGuiItem::no(),"DeleteInvestment")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<p>")+i18n("Do you really want to delete the investment <b>%1</b>?").arg(m_selectedInvestment.name()),i18n("Delete investment"),KStdGuiItem::yes(),KStdGuiItem::no(),"DeleteInvestment")==KMessageBox::Yes){
MyMoneyFile*file=MyMoneyFile::instance();
MyMoneyFileTransactionft;
try{
file->removeAccount(m_selectedInvestment);
ft.commit();
}catch(MyMoneyException*e){
KMessageBox::information(this,i18n("Unable to delete investment: %1").tqarg(e->what()));
KMessageBox::information(this,i18n("Unable to delete investment: %1").arg(e->what()));
KMessageBox::error(this,i18n("Unable to exchange category <b>%1</b> with category <b>%2</b>. Reason: %3").tqarg(m_selectedAccount.name()).tqarg(newCategory.name()).tqarg(e->what()));
KMessageBox::error(this,i18n("Unable to exchange category <b>%1</b> with category <b>%2</b>. Reason: %3").arg(m_selectedAccount.name()).arg(newCategory.name()).arg(e->what()));
// case A - only a single, unused category without subcats selected
if(m_selectedAccount.accountList().isEmpty()){
if(!needAskUser||(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("Do you really want to delete category <b>%1</b>?").tqarg(m_selectedAccount.name())+TQString("</qt>"))==KMessageBox::Yes)){
if(!needAskUser||(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("Do you really want to delete category <b>%1</b>?").arg(m_selectedAccount.name())+TQString("</qt>"))==KMessageBox::Yes)){
try{
file->removeAccount(m_selectedAccount);
m_selectedAccount.clearId();
slotUpdateActions();
ft.commit();
}catch(MyMoneyException*e){
KMessageBox::error(this,TQString("<qt>")+i18n("Unable to delete category <b>%1</b>. Cause: %2").tqarg(m_selectedAccount.name()).tqarg(e->what())+TQString("</qt>"));
KMessageBox::error(this,TQString("<qt>")+i18n("Unable to delete category <b>%1</b>. Cause: %2").arg(m_selectedAccount.name()).arg(e->what())+TQString("</qt>"));
if(KMessageBox::questionYesNo(this,TQString("<p>")+i18n("Some sub-categories of category <b>%1</b> cannot "
"be deleted, because they are still used. They will be made sub-categories of <b>%2</b>. Proceed?").tqarg(m_selectedAccount.name()).tqarg(parentAccount.name()))!=KMessageBox::Yes){
"be deleted, because they are still used. They will be made sub-categories of <b>%2</b>. Proceed?").arg(m_selectedAccount.name()).arg(parentAccount.name()))!=KMessageBox::Yes){
KMessageBox::error(this,TQString("<qt>")+i18n("Unable to delete a sub-category of category <b>%1</b>. Reason: %2").tqarg(m_selectedAccount.name()).tqarg(e->what())+TQString("</qt>"));
KMessageBox::error(this,TQString("<qt>")+i18n("Unable to delete a sub-category of category <b>%1</b>. Reason: %2").arg(m_selectedAccount.name()).arg(e->what())+TQString("</qt>"));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> cannot be moved to institution <b>%2</b>. Reason: %3").tqarg(src.name()).tqarg(_dst.name()).tqarg(e->what()));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> cannot be moved to institution <b>%2</b>. Reason: %3").arg(src.name()).arg(_dst.name()).arg(e->what()));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> cannot be moved to <b>%2</b>. Reason: %3").tqarg(src.name()).tqarg(dst.name()).tqarg(e->what()));
KMessageBox::sorry(this,TQString("<p>")+i18n("<b>%1</b> cannot be moved to <b>%2</b>. Reason: %3").arg(src.name()).arg(dst.name()).arg(e->what()));
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered a scheduled transaction date of <b>%1</b>. Because the scheduled transaction was last paid on <b>%2</b>, KMyMoney will automatically adjust the scheduled transaction date to the next date unless the last payment date is reset. Do you want to reset the last payment date?").tqarg(KGlobal::locale()->formatDate(next,true)).tqarg(KGlobal::locale()->formatDate(last,true))+TQString("</qt>"),i18n("Reset Last Payment Date"),KStdGuiItem::yes(),KStdGuiItem::no())==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered a scheduled transaction date of <b>%1</b>. Because the scheduled transaction was last paid on <b>%2</b>, KMyMoney will automatically adjust the scheduled transaction date to the next date unless the last payment date is reset. Do you want to reset the last payment date?").arg(KGlobal::locale()->formatDate(next,true)).arg(KGlobal::locale()->formatDate(last,true))+TQString("</qt>"),i18n("Reset Last Payment Date"),KStdGuiItem::yes(),KStdGuiItem::no())==KMessageBox::Yes){
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to duplicate transaction(s): %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to duplicate transaction(s): %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
if(!schedule.isFinished()&&(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("Do you really want to skip the <b>%1</b> transaction scheduled for <b>%2</b>?").tqarg(schedule.name(),KGlobal::locale()->formatDate(next,true))+TQString("</qt>")))==KMessageBox::Yes){
if(!schedule.isFinished()&&(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("Do you really want to skip the <b>%1</b> transaction scheduled for <b>%2</b>?").arg(schedule.name(),KGlobal::locale()->formatDate(next,true))+TQString("</qt>")))==KMessageBox::Yes){
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to duplicate transaction(s): %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to duplicate transaction(s): %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to delete transaction(s): %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to delete transaction(s): %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to modify transaction: %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to modify transaction: %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to modify transaction: %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to modify transaction: %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to accept transaction: %1, thrown in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
KMessageBox::detailedSorry(0,i18n("Error"),i18n("Unable to accept transaction: %1, thrown in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
KMessageBox::error(this,i18n("Unable to import %1 using %2 plugin. The plugin returned the following error: %3").tqarg(url,(*it_plugin)->formatName(),(*it_plugin)->lastError()),i18n("Importing error"));
KMessageBox::error(this,i18n("Unable to import %1 using %2 plugin. The plugin returned the following error: %3").arg(url,(*it_plugin)->formatName(),(*it_plugin)->lastError()),i18n("Importing error"));
if(KMessageBox::warningYesNo(this,TQString("<qt>%1</qt>").tqarg(i18n("Do you really want to remove the mapping of account <b>%1</b> to an online account? Depending on the details of the online banking method used, this action cannot be reverted.").tqarg(m_selectedAccount.name())),i18n("Remove mapping to online account"))==KMessageBox::Yes){
if(KMessageBox::warningYesNo(this,TQString("<qt>%1</qt>").arg(i18n("Do you really want to remove the mapping of account <b>%1</b> to an online account? Depending on the details of the online banking method used, this action cannot be reverted.").arg(m_selectedAccount.name())),i18n("Remove mapping to online account"))==KMessageBox::Yes){
KMessageBox::error(0,i18n("Unable to import %1 using the OFX importer plugin. This file is not the correct format.").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Incorrect format"));
KMessageBox::error(0,i18n("Unable to import %1 using the OFX importer plugin. This file is not the correct format.").arg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Incorrect format"));
}
}
@ -351,7 +351,7 @@ int OfxImporterPlugin::ofxTransactionCallback(struct OfxTransactionData data, vo
pofx->addWarning(TQString("Transaction %1 has an incorrect total of %2. Using calculated total of %3 instead.").tqarg(t.m_strBankID).tqarg(t.m_moneyAmount).tqarg(proper_total));
pofx->addWarning(TQString("Transaction %1 has an incorrect total of %2. Using calculated total of %3 instead.").arg(t.m_strBankID).arg(t.m_moneyAmount).arg(proper_total));
t.m_moneyAmount=proper_total;
}
}
#endif
if(unhandledtype)
pofx->addWarning(TQString("Transaction %1 has an unsupported type (%2).").tqarg(t.m_strBankID,type));
pofx->addWarning(TQString("Transaction %1 has an unsupported type (%2).").arg(t.m_strBankID,type));
KMessageBox::error(0,TQString("<qt>%1</qt>").tqarg(i18n("Unable to import %1 using the OFX importer plugin. The plugin returned the following error:<p>%2").tqarg(url,lastError())),i18n("Importing error"));
KMessageBox::error(0,TQString("<qt>%1</qt>").arg(i18n("Unable to import %1 using the OFX importer plugin. The plugin returned the following error:<p>%2").arg(url,lastError())),i18n("Importing error"));
result+=i18n("Report date range","%1 through %2").tqarg(KGlobal::locale()->formatDate(m_config.fromDate(),true)).tqarg(KGlobal::locale()->formatDate(m_config.toDate(),true));
result+=i18n("Report date range","%1 through %2").arg(KGlobal::locale()->formatDate(m_config.fromDate(),true)).arg(KGlobal::locale()->formatDate(m_config.toDate(),true));
csv+=i18n("Report date range","%1 through %2").tqarg(KGlobal::locale()->formatDate(m_config.fromDate(),true)).tqarg(KGlobal::locale()->formatDate(m_config.toDate(),true));
csv+=i18n("Report date range","%1 through %2").arg(KGlobal::locale()->formatDate(m_config.fromDate(),true)).arg(KGlobal::locale()->formatDate(m_config.toDate(),true));
thrownewMYMONEYEXCEPTION(TQString("Sourcecolumn %1 out of grid range (%2)inPivotTable::accumulateColumn").tqarg(sourcecolumn).tqarg((*it_row)[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Sourcecolumn %1 out of grid range (%2)inPivotTable::accumulateColumn").arg(sourcecolumn).arg((*it_row)[eActual].count()));
if((*it_row)[eActual].count()<=destcolumn)
thrownewMYMONEYEXCEPTION(TQString("Destcolumn %1 out of grid range (%2)inPivotTable::accumulateColumn").tqarg(sourcecolumn).tqarg((*it_row)[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Destcolumn %1 out of grid range (%2)inPivotTable::accumulateColumn").arg(sourcecolumn).arg((*it_row)[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateRunningSums").tqarg(column).tqarg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateRunningSums").arg(column).arg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateRunningSums").tqarg(column).tqarg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateRunningSums").arg(column).arg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::cellBalance").tqarg(_column).tqarg(m_grid[outergroup][innergroup][row][eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::cellBalance").arg(_column).arg(m_grid[outergroup][innergroup][row][eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::cellBalance").tqarg(column).tqarg(m_grid[outergroup][innergroup][row][eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::cellBalance").arg(column).arg(m_grid[outergroup][innergroup][row][eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::convertToBaseCurrency").tqarg(column).tqarg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::convertToBaseCurrency").arg(column).arg(it_row.data()[eActual].count()));
DEBUG_OUTPUT_IF(conversionfactor!=MyMoneyMoney(1,1),TQString("Factor of %1, value was %2, now %3").tqarg(conversionfactor).tqarg(DEBUG_SENSITIVE(oldval)).tqarg(DEBUG_SENSITIVE(it_row.data()[m_rowTypeList[i]][column].toDouble())));
DEBUG_OUTPUT_IF(conversionfactor!=MyMoneyMoney(1,1),TQString("Factor of %1, value was %2, now %3").arg(conversionfactor).arg(DEBUG_SENSITIVE(oldval)).arg(DEBUG_SENSITIVE(it_row.data()[m_rowTypeList[i]][column].toDouble())));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::convertToDeepCurrency").tqarg(column).tqarg(it_row.data()[eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::convertToDeepCurrency").arg(column).arg(it_row.data()[eActual].count()));
DEBUG_OUTPUT_IF(conversionfactor!=MyMoneyMoney(1,1),TQString("Factor of %1, value was %2, now %3").tqarg(conversionfactor).tqarg(DEBUG_SENSITIVE(oldval)).tqarg(DEBUG_SENSITIVE(it_row.data()[eActual][column].toDouble())));
DEBUG_OUTPUT_IF(conversionfactor!=MyMoneyMoney(1,1),TQString("Factor of %1, value was %2, now %3").arg(conversionfactor).arg(DEBUG_SENSITIVE(oldval)).arg(DEBUG_SENSITIVE(it_row.data()[eActual][column].toDouble())));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,rowcolumns").tqarg(column).tqarg(it_row.data()[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,rowcolumns").arg(column).arg(it_row.data()[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,innergrouptotals").tqarg(column).tqarg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,innergrouptotals").arg(column).arg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,innergrouptotals").tqarg(column).tqarg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,innergrouptotals").arg(column).arg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,outergrouptotals").tqarg(column).tqarg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,outergrouptotals").arg(column).arg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,gridtotals").tqarg(column).tqarg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::calculateTotals,gridtotals").arg(column).arg((*it_innergroup).m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Total column %1 out of grid range (%2)inPivotTable::calculateTotals,gridtotals").tqarg(totalcolumn).tqarg(m_grid.m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Total column %1 out of grid range (%2)inPivotTable::calculateTotals,gridtotals").arg(totalcolumn).arg(m_grid.m_total[ m_rowTypeList[i] ].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::assignCell").tqarg(column).tqarg(m_grid[outergroup][innergroup][row][eActual].count()));
thrownewMYMONEYEXCEPTION(TQString("Column %1 out of grid range (%2)inPivotTable::assignCell").arg(column).arg(m_grid[outergroup][innergroup][row][eActual].count()));
if(!stockSplit){
// Determine whether the value should be inverted before being placed in the row
result+=i18n("Report date range","%1 through %2").tqarg(KGlobal::locale()->formatDate(m_config_f.fromDate(),true)).tqarg(KGlobal::locale()->formatDate(m_config_f.toDate(),true));
result+=i18n("Report date range","%1 through %2").arg(KGlobal::locale()->formatDate(m_config_f.fromDate(),true)).arg(KGlobal::locale()->formatDate(m_config_f.toDate(),true));
msg+=i18n("The balance of %1 will drop below the minimum balance %2 in %3 days.").tqarg(acc.name()).tqarg(minBalance.formatMoney(acc,currency)).tqarg(dropMinimum-1);
msg+=i18n("The balance of %1 will drop below the minimum balance %2 in %3 days.").arg(acc.name()).arg(minBalance.formatMoney(acc,currency)).arg(dropMinimum-1);
TQStringheader=TQString("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"%1\">\n").tqarg(filename);
TQStringheader=TQString("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"%1\">\n").arg(filename);
msg=i18n("The balance of %1 is below the minimum balance %2 today.").tqarg((*it_account).name()).tqarg(minBalance.formatMoney(*it_account,currency));
msg=i18n("The balance of %1 is below the minimum balance %2 today.").arg((*it_account).name()).arg(minBalance.formatMoney(*it_account,currency));
msg=showColoredAmount(msg,true);
break;
default:
msg=i18n("The balance of %1 will drop below the minimum balance %2 in %3 days.").tqarg((*it_account).name()).tqarg(minBalance.formatMoney(*it_account,currency)).tqarg(dropMinimum-1);
msg=i18n("The balance of %1 will drop below the minimum balance %2 in %3 days.").arg((*it_account).name()).arg(minBalance.formatMoney(*it_account,currency)).arg(dropMinimum-1);
msg=i18n("The balance of %1 will drop below %2 in %3 days.").tqarg((*it_account).name()).tqarg(MyMoneyMoney().formatMoney(*it_account,currency)).tqarg(dropZero);
msg=i18n("The balance of %1 will drop below %2 in %3 days.").arg((*it_account).name()).arg(MyMoneyMoney().formatMoney(*it_account,currency)).arg(dropZero);
msg=i18n("The balance of %1 will raise above %2 in %3 days.").tqarg((*it_account).name()).tqarg(MyMoneyMoney().formatMoney(*it_account,currency)).tqarg(dropZero);
msg=i18n("The balance of %1 will raise above %2 in %3 days.").arg((*it_account).name()).arg(MyMoneyMoney().formatMoney(*it_account,currency)).arg(dropZero);
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("File <b>%1</b> contains the old binary format used by KMyMoney. Please use an older version of KMyMoney (0.8.x) that still supports this format to convert it to the new XML based format.").tqarg(filename)));
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("File <b>%1</b> contains the old binary format used by KMyMoney. Please use an older version of KMyMoney (0.8.x) that still supports this format to convert it to the new XML based format.").arg(filename)));
}else{
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("File <b>%1</b> contains an unknown file format!").tqarg(filename)));
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("File <b>%1</b> contains an unknown file format!").arg(filename)));
}
rc=false;
}
}else{
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("Cannot read from file <b>%1</b>!").tqarg(filename)));
KMessageBox::sorry(this,TQString("<qt>%1</qt>").arg(i18n("Cannot read from file <b>%1</b>!").arg(filename)));
KMessageBox::sorry(this,TQString("<p>")+i18n("You have selected to encrypt your data also with the KMyMoney recover key, but the key with id</p><p><center><b>%1</b></center></p>has not been found in your keyring at this time. Please make sure to import this key into your keyring. You can find it on the <a href=\"http://kmymoney2.sourceforge.net/\">KMyMoney web-site</a>. This time your data will not be encrypted with the KMyMoney recover key.").tqarg(RECOVER_KEY_ID),i18n("GPG-Key not found"));
KMessageBox::sorry(this,TQString("<p>")+i18n("You have selected to encrypt your data also with the KMyMoney recover key, but the key with id</p><p><center><b>%1</b></center></p>has not been found in your keyring at this time. Please make sure to import this key into your keyring. You can find it on the <a href=\"http://kmymoney2.sourceforge.net/\">KMyMoney web-site</a>. This time your data will not be encrypted with the KMyMoney recover key.").arg(RECOVER_KEY_ID),i18n("GPG-Key not found"));
KMessageBox::sorry(this,TQString("<p>")+i18n("You have specified to encrypt your data for the user-id</p><p><center><b>%1</b>.</center></p>Unfortunately, a valid key for this user-id was not found in your keyring. Please make sure to import a valid key for this user-id. This time, encryption is disabled.").tqarg(*it_s),i18n("GPG-Key not found"));
KMessageBox::sorry(this,TQString("<p>")+i18n("You have specified to encrypt your data for the user-id</p><p><center><b>%1</b>.</center></p>Unfortunately, a valid key for this user-id was not found in your keyring. Please make sure to import a valid key for this user-id. This time, encryption is disabled.").arg(*it_s),i18n("GPG-Key not found"));
TQStringerror=TQString(i18n("There was an error creating your report: \"%1\".\nPlease report this error to the developer's list: kmymoney2-developer@lists.sourceforge.net")).tqarg(e->what());
TQStringerror=TQString(i18n("There was an error creating your report: \"%1\".\nPlease report this error to the developer's list: kmymoney2-developer@lists.sourceforge.net")).arg(e->what());
if(KMessageBox::Continue==KMessageBox::warningContinueCancel(this,TQString("<qt>")+i18n("Are you sure you want to delete report <b>%1</b>? There is no way to recover it!").tqarg(report.name())+TQString("</qt>"),i18n("Delete Report?")))
if(KMessageBox::Continue==KMessageBox::warningContinueCancel(this,TQString("<qt>")+i18n("Are you sure you want to delete report <b>%1</b>? There is no way to recover it!").arg(report.name())+TQString("</qt>"),i18n("Delete Report?")))
{
// close the tab and then remove the report so that it is not
// generated again during the following loadView() call
KMessageBox::information(this,TQString("<qt>")+i18n("Sorry, <b>%1</b> is a default report. You may not delete it.").tqarg(report.name())+TQString("</qt>"),i18n("Delete Report?"));
KMessageBox::information(this,TQString("<qt>")+i18n("Sorry, <b>%1</b> is a default report. You may not delete it.").arg(report.name())+TQString("</qt>"),i18n("Delete Report?"));
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in a monthly budget of <b>%1</b>. Should this value be used to fill the monthly budget?").tqarg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in a monthly budget of <b>%1</b>. Should this value be used to fill the monthly budget?").arg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in a yearly budget of <b>%1</b>. Should this value be used to fill the monthly budget?").tqarg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in a yearly budget of <b>%1</b>. Should this value be used to fill the monthly budget?").arg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in an individual monthly budget of <b>%1</b>. Should this value be used to fill the monthly budgets?").tqarg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,TQString("<qt>")+i18n("You have entered budget values using a different base which would result in an individual monthly budget of <b>%1</b>. Should this value be used to fill the monthly budgets?").arg(newValue.formatMoney("",2))+TQString("</qt>"),i18n("Auto assignment (caption)","Auto assignment"),KStdGuiItem::yes(),KStdGuiItem::no(),"use_previous_budget_values")==KMessageBox::Yes){
msg=TQString("<qt>%1</qt>").tqarg(i18n("The transaction has a missing assignment of <b>%1</b>.").tqarg(m_transaction.splitSum().abs().formatMoney(m_account,sec)));
msg=TQString("<qt>%1</qt>").arg(i18n("The transaction has a missing assignment of <b>%1</b>.").arg(m_transaction.splitSum().abs().formatMoney(m_account,sec)));
}
returntrue;
}
@ -690,9 +690,9 @@ bool Transaction::maybeTip(const TQPoint& cpos, int row, int col, TQRect& r, TQS