Improve link warning message to show actual data tried

This commit is contained in:
Nathan Gray 2012-02-02 17:22:23 +00:00
parent b6453f77c6
commit 670dcdcb71
2 changed files with 3 additions and 3 deletions

View File

@ -556,8 +556,8 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
if(count($result) != 1)
{
$this->warnings[$record_num] .= ($this->warnings[$record_num] ? "\n" : '') .
lang('Unable to link to %3 by custom field "%1". %2 matches.',
$custom_field, count($result), lang($app)
lang('Unable to link to %3 by custom field "%1": "%4". %2 matches.',
$custom_field, count($result), lang($app), $options['filter'][0]
);
return false;
}

View File

@ -430,7 +430,7 @@ type infolog en Type
type ... infolog en Type ...
type of customfield infolog en Type of custom field
type of the log-entry: note, phonecall or todo infolog en Type of the InfoLog entry: Note, Phone call or ToDo
unable to link to %3 by custom field "%1". %2 matches. infolog en Unable to link to %3 by custom field "%1". %2 matches.
unable to link to %3 by custom field "%1": "%4". %2 matches. infolog en Unable to link to %3 by custom field "%1": "%4". %2 matches.
unlink infolog en Unlink
unlinked from %1 infolog en Unlinked from %1
upcoming infolog en Upcoming