From 54f84daa627abd2b067ce7adfaac4767c7a7a6e8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 12 Mar 2006 23:56:07 +0000 Subject: [PATCH] Make the strings a little more clear --- api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.php b/api.php index 8717d86..cddd2d7 100644 --- a/api.php +++ b/api.php @@ -599,7 +599,7 @@ class API { if ($this->values["$field"] == 0) { - return sprintf($this->registry->modules['localize']->string('The field %1$s cannot be zero'), $field); + return sprintf($this->registry->modules['localize']->string('The field "%1$s" cannot be zero'), $field); } return true; @@ -615,7 +615,7 @@ class API { if (empty($this->values["$field"])) { - return sprintf($this->registry->modules['localize']->string('The field %1$s cannot be empty'), $field); + return sprintf($this->registry->modules['localize']->string('The field "%1$s" cannot be empty'), $field); } return true; -- 2.22.5