From d7e5d554ab2bc0888a9bb72db7ba4a505db3b392 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Dec 2017 17:18:26 +0100 Subject: [PATCH] Better message --- htdocs/blockedlog/admin/blockedlog_list.php | 4 +--- htdocs/langs/en_US/blockedlog.lang | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index 4f7d6b44ea2..ee54f18348d 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -27,9 +27,7 @@ require_once DOL_DOCUMENT_ROOT.'/blockedlog/class/blockedlog.class.php'; require_once DOL_DOCUMENT_ROOT.'/blockedlog/class/authority.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; -$langs->load("admin"); -$langs->load("other"); -$langs->load("blockedlog"); +$langs->loadLangs(array("admin", "other", "blockedlog", "bills")); if (! $user->admin) accessforbidden(); diff --git a/htdocs/langs/en_US/blockedlog.lang b/htdocs/langs/en_US/blockedlog.lang index 3e13c97edb6..43cef53aef5 100644 --- a/htdocs/langs/en_US/blockedlog.lang +++ b/htdocs/langs/en_US/blockedlog.lang @@ -15,6 +15,7 @@ NotAddedByAuthorityYet=Not yet stored into remote authority ShowDetails=Show stored details logPAYMENT_ADD_TO_BANK=Payment added to bank logPAYMENT_CUSTOMER_CREATE=Payment of customer created +logPAYMENT_CUSTOMER_DELETE=Payment of customer deleted logBILL_PAYED=Customer bill payed logBILL_UNPAYED=Customer bill set unpayed logBILL_VALIDATE=Customer bill validated @@ -26,7 +27,7 @@ DownloadLogCSV=Download archive logs (CSV) logDOC_PREVIEW=Preview of a validated document in order to print or download logDOC_DOWNLOAD=Download of a validated document in order to print or send DataOfArchivedEvent=Full datas of archived event -ImpossibleToReloadObject=Object (type %s, id %s) removed +ImpossibleToReloadObject=Object (type %s, id %s) removed (see 'Full data' link for unerasable saved data) BlockedLogAreRequiredByYourCountryLegislation=Unalterable Logs module may be required by the legislation of your country. Disabling this module may render any future transactions invalid with respect to the law and the use of legal software as they can not be validated by a tax audit. BlockedLogActivatedBecauseRequiredByYourCountryLegislation=Unalterable Logs module was activated because of the legislation of your country. Disabling this module may render any future transactions invalid with respect to the law and the use of legal software as they can not be validated by a tax audit. BlockedLogDisableNotAllowedForCountry=Disable not allowed for this countries \ No newline at end of file