From 586658ec95acdd0ee0257b528763a6e0f4170ad1 Mon Sep 17 00:00:00 2001 From: "k.verschoor@pay.nl" Date: Tue, 18 Oct 2022 14:59:45 +0200 Subject: [PATCH] PLUG-1320 - Make logging options clearer --- Model/Config/Source/LogOptions.php | 8 ++++---- i18n/nl_NL.csv | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Model/Config/Source/LogOptions.php b/Model/Config/Source/LogOptions.php index 21394b83..00ab7eb6 100644 --- a/Model/Config/Source/LogOptions.php +++ b/Model/Config/Source/LogOptions.php @@ -36,10 +36,10 @@ public function toOptionArray() public function toArray() { return [ - self::LOG_NONE => __('None'), - self::LOG_ONLY_CRITICAL => __('Only critical'), - self::LOG_CRITICAL_NOTICE => __('Critical + Notice'), - self::LOG_ALL => __('All'), + self::LOG_NONE => __('No logging'), + self::LOG_ONLY_CRITICAL => __('Only Critical errors are logged'), + self::LOG_CRITICAL_NOTICE => __('Only Critical errors and Notices are logged'), + self::LOG_ALL => __('Everything is logged, including Critical, Notice, Info and Debug'), ]; } } diff --git a/i18n/nl_NL.csv b/i18n/nl_NL.csv index 00533724..5e47f29f 100644 --- a/i18n/nl_NL.csv +++ b/i18n/nl_NL.csv @@ -174,3 +174,7 @@ "PAY.: Unable to send E-mail", "PAY.: Kan geen e-mail verzenden" "PAY.: Customer E-mail is empty cannot send E-mail.", "PAY.: E-mail klant is leeg kan geen e-mail verzenden." "Payment pending","Betaling in behandeling" +"No logging","Geen logging" +"Only Critical errors are logged","Alleen kritieke fouten worden gelogd" +"Only Critical errors and Notices are logged","Alleen kritieke fouten en waarschuwingen worden gelogd" +"Everything is logged, including Critical, Notice, Info and Debug","Alles wordt gelogd, inclusief kritieke fouten, waarschuwingen, informatie en debugging" \ No newline at end of file