From 305e73c19001b28e15379a867f398aae04f3cd7a Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 15 Jun 2020 23:05:49 +0300 Subject: [PATCH] Added tooltip + improved error messages --- app/views/console/keys/index.phtml | 4 ++-- src/Appwrite/Network/Validator/CNAME.php | 2 +- src/Appwrite/Network/Validator/Origin.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/console/keys/index.phtml b/app/views/console/keys/index.phtml index 5b85b4a83a..0cb4c59cea 100644 --- a/app/views/console/keys/index.phtml +++ b/app/views/console/keys/index.phtml @@ -49,7 +49,7 @@ $scopes = $this->getParam('scopes', []); - + @@ -144,7 +144,7 @@ $scopes = $this->getParam('scopes', []); - + diff --git a/src/Appwrite/Network/Validator/CNAME.php b/src/Appwrite/Network/Validator/CNAME.php index 3f04b64bc6..fb000d22e9 100644 --- a/src/Appwrite/Network/Validator/CNAME.php +++ b/src/Appwrite/Network/Validator/CNAME.php @@ -21,7 +21,7 @@ class CNAME extends Validator public function getDescription() { - return 'Inavlid CNAME record'; + return 'Invalid CNAME record'; } /** diff --git a/src/Appwrite/Network/Validator/Origin.php b/src/Appwrite/Network/Validator/Origin.php index 76fe08b974..a1c0d1f568 100644 --- a/src/Appwrite/Network/Validator/Origin.php +++ b/src/Appwrite/Network/Validator/Origin.php @@ -85,8 +85,8 @@ class Origin extends Validator return 'Unsupported platform'; } - return 'Inavlid Origin. Register your new client ('.$this->host.') as a new ' - .$this->platforms[$this->client].' platform on your project console'; + return 'Invalid Origin. Register your new client ('.$this->host.') as a new ' + .$this->platforms[$this->client].' platform on your project console dashboard'; } /**