mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
103 lines
4.1 KiB
PHP
103 lines
4.1 KiB
PHP
|
<?php
|
|||
|
|
|||
|
function lang_admin($message, $m1 = "", $m2 = "", $m3 = "", $m4 = "")
|
|||
|
{
|
|||
|
$message = strtolower($message);
|
|||
|
|
|||
|
switch($message)
|
|||
|
{
|
|||
|
case "last x logins": $s = "Last $m1 logins"; break;
|
|||
|
case "loginid": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID"; break;
|
|||
|
case "ip": $s = "IP"; break;
|
|||
|
case "total records": $s = "Total records"; break;
|
|||
|
case "user accounts": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "new group name": $s = "<EFBFBD><EFBFBD> <20><EFBFBD> <20≯<EFBFBD>"; break;
|
|||
|
case "create group": $s = "<EFBFBD><EFBFBD> <20><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "kill": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "idle": $s = "idle"; break;
|
|||
|
case "login time": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ð<EFBFBD>"; break;
|
|||
|
case "anonymous user": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "manager": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "account active": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȱ<><C8B0>ȭ"; break;
|
|||
|
case "re-enter password": $s = "<EFBFBD><EFBFBD><EFBFBD>й<EFBFBD>ȣ <20><><EFBFBD>Է<EFBFBD>"; break;
|
|||
|
case "group name": $s = "<EFBFBD><EFBFBD><EFBFBD≯<EFBFBD>"; break;
|
|||
|
case "display": $s = "Display"; break;
|
|||
|
case "base url": $s = "<EFBFBD>⺻ URL"; break;
|
|||
|
case "news file": $s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "minutes between reloads": $s = "<EFBFBD><EFBFBD><EFBFBD>ε<EFBFBD> <20>ð<EFBFBD>(<28>д<EFBFBD><D0B4><EFBFBD>)"; break;
|
|||
|
case "listings displayed": $s = "Listings Displayed"; break;
|
|||
|
case "news type": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ÿ<><C5B8>"; break;
|
|||
|
case "user groups": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD>"; break;
|
|||
|
case "headline sites": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ"; break;
|
|||
|
case "network news": $s = "<EFBFBD><EFBFBD>Ʈ<EFBFBD><EFBFBD>ũ <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "site": $s = "Site"; break;
|
|||
|
case "view sessions": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "view access log": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>α<EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "active": $s = "Ȱ<EFBFBD><EFBFBD>ȭ"; break;
|
|||
|
case "disabled": $s = "<EFBFBD><EFBFBD>Ȱ<EFBFBD><EFBFBD>ȭ"; break;
|
|||
|
case "last time read": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ð<EFBFBD>"; break;
|
|||
|
case "manager": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "are you sure you want to delete this group ?":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><EFBFBD><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD> ?"; break;
|
|||
|
|
|||
|
case "are you sure you want to kill this session ?":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ű<EFBFBD>ðڽ<C3B0><DABD>ϱ<EFBFBD> ?"; break;
|
|||
|
|
|||
|
case "all records and account information will be lost!":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڷ<EFBFBD><DAB7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>˴ϴ<CBB4>."; break;
|
|||
|
|
|||
|
case "are you sure you want to delete this account ?":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD> ?"; break;
|
|||
|
|
|||
|
case "are you sure you want to delete this news site ?":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?"; break;
|
|||
|
|
|||
|
case "* make sure that you remove users from this group before you delete it.":
|
|||
|
$s = "* <20><> <20>쿡<D7B7><ECBFA1> <20><><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?"; break;
|
|||
|
|
|||
|
case "percent of users that logged out":
|
|||
|
$s = "<EFBFBD>ۼ<EFBFBD>Ʈ<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD> <20>αƿ<D7BE> <20>Ͽ<EFBFBD><CFBF><EFBFBD><EFBFBD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "list of current users":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "new password [ leave blank for no change ]":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD>[ <20>ٲ<EFBFBD><D9B2><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ĭ<EFBFBD><C4AD><EFBFBD><EFBFBD> <20><><EFBFBD>ܵμ<DCB5><CEBC><EFBFBD> ]"; break;
|
|||
|
|
|||
|
case "the two passwords are not the same":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>й<EFBFBD>ȣ<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "the login and password can not be the same":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʾƾ<CABE> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "you must enter a password": $s = "<EFBFBD>н<EFBFBD><EFBFBD><EFBFBD><EFBFBD>带 <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "that loginid has already been taken":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>̹<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>."; break;
|
|||
|
|
|||
|
case "you must enter a display": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
case "you must enter a base url": $s = "<EFBFBD>⺻ URL<52><4C> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
case "you must enter a news url": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> URL<52><4C> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "you must enter the number of minutes between reload":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <20>ð<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "you must enter the number of listings display":
|
|||
|
$s = "<EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "you must select a file type":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ÿ<><C5B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "that site has already been entered":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20>̹<EFBFBD> <20>ԷµǾ<C2B5> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "select users for inclusion":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>."; break;
|
|||
|
|
|||
|
default: $s = "<b>*</b> ". $message;
|
|||
|
}
|
|||
|
return $s;
|
|||
|
}
|
|||
|
?>
|