mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-02 09:49:06 -06:00
Translate expenses in mortgage/loan druid. Fix #393436.
Mark the names and memos of expenses (Taxes, Insurance, PMI, Other Expenses) in the Mortgage/Loan Setup Druid for translation. Spotted by Fabrice Kurz. Introduces new i18n strings BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15327 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
3657baff03
commit
4ef738101e
1 file changed
+7
-7
@@ -159,10 +159,10 @@ typedef struct RepayOptDataDefault_ {
|
||||
|
||||
static RepayOptDataDefault REPAY_DEFAULTS[] = {
|
||||
/* { name, default txn memo, throughEscrowP, specSrcAcctP } */
|
||||
{ "Taxes", "Tax Payment", TRUE, FALSE },
|
||||
{ "Insurance", "Insurance Payment", TRUE, FALSE },
|
||||
{ "PMI", "PMI Payment", TRUE, FALSE },
|
||||
{ "Other Expense", "Miscellaneous Payment", FALSE, FALSE },
|
||||
{ N_("Taxes"), N_("Tax Payment"), TRUE, FALSE },
|
||||
{ N_("Insurance"), N_("Insurance Payment"), TRUE, FALSE },
|
||||
{ N_("PMI"), N_("PMI Payment"), TRUE, FALSE },
|
||||
{ N_("Other Expense"), N_("Miscellaneous Payment"), FALSE, FALSE },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
@@ -823,9 +823,9 @@ gnc_loan_druid_data_init( LoanDruidData *ldd )
|
||||
= g_new0( RepayOptData, 1 );
|
||||
|
||||
optData->enabled = FALSE;
|
||||
optData->name = g_strdup( REPAY_DEFAULTS[i].name );
|
||||
optData->txnMemo = g_strdup( REPAY_DEFAULTS[i].
|
||||
defaultTxnMemo );
|
||||
optData->name = g_strdup( _(REPAY_DEFAULTS[i].name) );
|
||||
optData->txnMemo = g_strdup( _(REPAY_DEFAULTS[i].
|
||||
defaultTxnMemo) );
|
||||
optData->amount = 0.0;
|
||||
optData->throughEscrowP = REPAY_DEFAULTS[i].escrowDefault;
|
||||
optData->specSrcAcctP = REPAY_DEFAULTS[i].specSrcAcctDefault;
|
||||
|
||||
Reference in new issue
Block a user