mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
CsvImp - fix error message displayed to user (and related comment)
This commit is contained in:
parent
31095c1205
commit
e175e53aac
@ -647,8 +647,8 @@ StrVec GncPreSplit::verify_essentials()
|
|||||||
err_msg.emplace_back (_("Transfer split is reconciled but transfer reconcile date column is missing or invalid."));
|
err_msg.emplace_back (_("Transfer split is reconciled but transfer reconcile date column is missing or invalid."));
|
||||||
|
|
||||||
|
|
||||||
/* In multisplit mode and where current account selections imply multi-
|
/* When current account selections imply multi-currency
|
||||||
* currency transactions, we require extra columns to ensure each split is
|
* transactions, we require extra columns to ensure each split is
|
||||||
* fully defined.
|
* fully defined.
|
||||||
* Note this check only involves splits created by the csv importer
|
* Note this check only involves splits created by the csv importer
|
||||||
* code. The generic import matcher may add a balancing split
|
* code. The generic import matcher may add a balancing split
|
||||||
@ -662,7 +662,7 @@ StrVec GncPreSplit::verify_essentials()
|
|||||||
err_msg.emplace_back( _("Choice of accounts makes this a multi-currency transaction but price or (negated) value column is missing or invalid."));
|
err_msg.emplace_back( _("Choice of accounts makes this a multi-currency transaction but price or (negated) value column is missing or invalid."));
|
||||||
else if (!m_pre_trans->m_multi_split &&
|
else if (!m_pre_trans->m_multi_split &&
|
||||||
!m_price && !m_value && !m_value_neg && !m_tamount && !m_tamount_neg )
|
!m_price && !m_value && !m_value_neg && !m_tamount && !m_tamount_neg )
|
||||||
err_msg.emplace_back( _("Choice of account makes this a multi-currency transaction but price, (negated) value or (negated) transfer column is missing or invalid."));
|
err_msg.emplace_back( _("Choice of accounts makes this a multi-currency transaction but price, (negated) value or (negated) transfer amount column is missing or invalid."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return err_msg;
|
return err_msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user