r15342 - gnucash/branches/2.0/src/gnome - Translate expenses in mortgage/loan druid. Fixes #393436. Merges 15327 from trunk. Changes i18n but since it fixes a bug this is tolerated.
Christian Stimming
cstim at cvs.gnucash.org
Fri Jan 12 08:02:00 EST 2007
Author: cstim
Date: 2007-01-12 08:02:00 -0500 (Fri, 12 Jan 2007)
New Revision: 15342
Trac: http://svn.gnucash.org/trac/changeset/15342
Modified:
gnucash/branches/2.0/src/gnome/druid-loan.c
Log:
Translate expenses in mortgage/loan druid. Fixes #393436. Merges 15327 from trunk. Changes i18n but since it fixes a bug this is tolerated.
Modified: gnucash/branches/2.0/src/gnome/druid-loan.c
===================================================================
--- gnucash/branches/2.0/src/gnome/druid-loan.c 2007-01-12 12:48:00 UTC (rev 15341)
+++ gnucash/branches/2.0/src/gnome/druid-loan.c 2007-01-12 13:02:00 UTC (rev 15342)
@@ -149,10 +149,10 @@
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 }
};
@@ -835,9 +835,9 @@
= 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;
More information about the gnucash-changes
mailing list