diff --git a/lang/test.php b/lang/test.php new file mode 100644 index 0000000..fca09f4 --- /dev/null +++ b/lang/test.php @@ -0,0 +1,71 @@ +Back to game 1234"); +define("MUNZEE_FAILED_HTML", "Munzee is having problems right now. Try again later.
Back to game 1234"); + +/* + * onlyloggedin.php, ping.php + */ +define("SESSION_EXPIRED", "Your session has expired. Please log in again. 1234"); + +/* + * processiap.php + */ +define("INVALID_IAP", "Purchase not valid! 1234"); + +/* + * setteam.php + */ +define("INVALID_TEAM_ID", "Invalid team ID. 1234"); +define("TEAM_ALREADY_CHOSEN", "You have already chosen a team. Contact support for problems. 1234"); \ No newline at end of file diff --git a/required.php b/required.php index f39c10c..0f8c9fb 100644 --- a/required.php +++ b/required.php @@ -69,14 +69,12 @@ function is_empty($str) { } if (is_empty($VARS['lang'])) { - require "lang/en_us.php"; + require_once "lang/en_us.php"; } else { switch ($VARS['lang']) { - case "en": - require "lang/en_us.php"; - case "en_us": - require "lang/en_us.php"; + case "test": + require_once "lang/test.php"; default: - require "lang/en_us.php"; + require_once "lang/en_us.php"; } } \ No newline at end of file