* src/import-export/Account-matcher.c: Change "Account ID" text

to "Full account ID" an make it translatable.
	* src/import-export/ofx/gnc-ofx-import.c: Use the new account
	name field of LibOFX to help the user identify the account.
	Starting now, until furter notice you 	need LibOFX CVS available
	at http://sourceforge.net/cvs/?group_id=61170 to build the
	ofx module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7293 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Benoit Grégoire 2002-10-09 04:31:19 +00:00
parent d8070f1f40
commit 69fcd3292b
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,13 @@
2002-10-09 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/Account-matcher.c: Change "Account ID" text
to "Full account ID" and make it translateable.
* src/import-export/ofx/gnc-ofx-import.c: Use the new account
name field of LibOFX to help the user identify the account.
Starting now, until furter notice you need LibOFX CVS available
at http://sourceforge.net/cvs/?group_id=61170 to build the
ofx module.
2002-10-08 Derek Atkins <derek@ihtfp.com>
* books do not need to generate events
* however they should generate destroy events

View File

@ -246,7 +246,7 @@ Account * gnc_import_select_account(char * account_online_id_value,
strncat(account_description_text, account_human_description, ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));
strncat(account_description_text, "\n", ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));
}
strncat(account_description_text, "(Account ID: ", ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));
strncat(account_description_text,_("(Full account ID: "), ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));
strncat(account_description_text, account_online_id_value, ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));
strncat(account_description_text, ")", ACCOUNT_DESCRIPTION_MAX_SIZE-strlen(account_description_text));

View File

@ -64,7 +64,6 @@ void gnc_file_ofx_import (void)
extern int ofx_INFO_msg;
extern int ofx_STATUS_msg;
char *filenames[3];
char file[255] = "/home/bock/pfe/scratch/stmtrs_spec201.xml";
char *selected_filename;
ofx_PARSER_msg = false;
@ -77,7 +76,7 @@ void gnc_file_ofx_import (void)
gnc_should_log(MOD_IMPORT, GNC_LOG_TRACE);
DEBUG("gnc_file_ofx_import(): Begin...\n");
selected_filename = gnc_file_dialog ("Select an OFX/QFX file to process",
selected_filename = gnc_file_dialog("Select an OFX/QFX file to process",
NULL,
NULL);
@ -100,6 +99,11 @@ int ofx_proc_status(struct OfxStatusData data)
return 0;
}
int ofx_proc_security(const struct OfxSecurityData data)
{
return 0;
}
int ofx_proc_transaction(struct OfxTransactionData data)
{
char dest_string[255];
@ -321,7 +325,7 @@ int ofx_proc_account(struct OfxAccountData data)
}
}
selected_account = gnc_import_select_account(data.account_id, 1, NULL, default_commodity, default_type);
selected_account = gnc_import_select_account(data.account_id, 1, data.account_name, default_commodity, default_type);
}
else
{