From bcf82a0830d9ebd7f64476f5ae5b7417016e5c8c Mon Sep 17 00:00:00 2001 From: objecttothis <17935339+objecttothis@users.noreply.github.com> Date: Tue, 26 Feb 2019 13:49:48 +0400 Subject: [PATCH] Update Attributes.php Unified format changes. All lang lines should be _definition_ or _definitions_ but not a mix of both. --- application/controllers/Attributes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Attributes.php b/application/controllers/Attributes.php index ee2fd3e90..b6e50ed22 100644 --- a/application/controllers/Attributes.php +++ b/application/controllers/Attributes.php @@ -105,7 +105,7 @@ class Attributes extends Secure_Controller } else//failure { - echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attribute_definitions_error_adding_updating').' '. + echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attribute_definition_error_adding_updating').' Attribute: '. $definition_name, 'id' => -1)); } } @@ -179,4 +179,4 @@ class Attributes extends Secure_Controller } } -} \ No newline at end of file +}