From f640bd37d6a57ef5ab9177f7dab4504e7c0c350d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 24 Sep 2005 17:33:40 +0000 Subject: [PATCH] Added localization system --- localize.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/localize.php b/localize.php index 2cd9c9b..5550bdb 100644 --- a/localize.php +++ b/localize.php @@ -71,6 +71,11 @@ class Localize */ function string($key) { + if ($this->localtable["$key"]) + { + return $this->localtable["$key"]; + } + return $key; } -- 2.43.5