Commit 2e174885 authored by Jérome Perrin's avatar Jérome Perrin

use new terms from r26116

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26118 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 49a5b906
......@@ -123,7 +123,7 @@ if not skip_period_validation :\n
if apd.getStartDate().Date() <= transaction_date.Date() <= apd.getStopDate().Date():\n
valid_date = True\n
if not valid_date:\n
raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n
raise ValidationFailed(translateString("Date is not in a started Accounting Period "\n
"for source section."))\n
# do the same for destination section \n
if destination_section is not None:\n
......@@ -147,7 +147,7 @@ if not skip_period_validation :\n
if apd.getStartDate().Date() <= transaction_date.Date() <= apd.getStopDate().Date():\n
valid_date = True\n
if not valid_date:\n
raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n
raise ValidationFailed(translateString("Date is not in an started Accounting Period "\n
"for destination section."))\n
......
......@@ -89,7 +89,7 @@ for line in transaction.contentValues(filter=dict(\n
\n
if account is not None and account.getValidationState() != \'validated\':\n
raise ValidationFailed, translateString(\n
"Account ${account_title} is not opened.",\n
"Account ${account_title} is not validated.",\n
mapping=dict(account_title=unicode(\n
account.Account_getFormattedTitle(), \'utf8\')))\n
\n
......
892
\ No newline at end of file
893
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment