From f6f39689a5e197c79e718ed26dc10c2dec6e560a Mon Sep 17 00:00:00 2001 From: yanghang Date: Mon, 17 Jun 2024 17:21:37 +0800 Subject: [PATCH] fix: Error message English grammar optimization Signed-off-by: yanghang --- state_manager/frameworks/napi/brightness.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state_manager/frameworks/napi/brightness.cpp b/state_manager/frameworks/napi/brightness.cpp index 2777332..a3168a3 100644 --- a/state_manager/frameworks/napi/brightness.cpp +++ b/state_manager/frameworks/napi/brightness.cpp @@ -51,7 +51,7 @@ const std::string SET_KEEP_SCREENON_ERROR_MGR = "value is not an available boole } // namespace std::map Brightness::Result::errorTable_ = { - {DisplayErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."}, + {DisplayErrors::ERR_CONNECTION_FAIL, "Failed to connect to the service."}, {DisplayErrors::ERR_PERMISSION_DENIED, "Permission is denied" }, {DisplayErrors::ERR_SYSTEM_API_DENIED, "System permission is denied" }, {DisplayErrors::ERR_PARAM_INVALID, "Invalid input parameter." } -- Gitee