mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
148 lines
5.7 KiB
PHP
Executable File
148 lines
5.7 KiB
PHP
Executable File
<?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 = "LoginID"; break;
|
|
case "ip": $s = "IP"; break;
|
|
case "total records": $s = "Total records"; break;
|
|
case "user accounts": $s = "User accounts"; break;
|
|
case "new group name": $s = "New group name"; break;
|
|
case "create group": $s = "Create Group"; break;
|
|
case "kill": $s = "Kill"; break;
|
|
case "idle": $s = "idle"; break;
|
|
case "login time": $s = "Login Time"; break;
|
|
case "anonymous user": $s = "Anonymous user"; break;
|
|
case "manager": $s = "Manager"; break;
|
|
case "account active": $s = "Account active"; break;
|
|
case "re-enter password": $s = "Re-enter password"; break;
|
|
case "group name": $s = "Group Name"; break;
|
|
case "display": $s = "Display"; break;
|
|
case "base url": $s = "Base URL"; break;
|
|
case "news file": $s = "News File"; break;
|
|
case "minutes between reloads": $s = "Minutes between Reloads"; break;
|
|
case "listings displayed": $s = "Listings Displayed"; break;
|
|
case "news type": $s = "News Type"; break;
|
|
case "user groups": $s = "User groups"; break;
|
|
case "headline sites": $s = "Headline Sites"; break;
|
|
case "network news": $s = "Network News"; break;
|
|
case "site": $s = "Site"; break;
|
|
case "view sessions": $s = "View sessions"; break;
|
|
case "view access log": $s = "View Access Log"; break;
|
|
case "active": $s = "Active"; break;
|
|
case "disabled": $s = "Disabled"; break;
|
|
case "last time read": $s = "Last Time Read"; break;
|
|
case "permissions": $s = "Permissions"; break;
|
|
case "title": $s = "Title"; break;
|
|
case "enabled": $s = "Enabled"; break;
|
|
case "applications": $s = "Applications"; break;
|
|
case "edit group": $s = "Edit Group"; break;
|
|
case "submit changes": $s = "Submit Changes"; break;
|
|
|
|
case "you must add at least 1 permission to this account":
|
|
$s = "You must add at least 1 permission to this account"; break;
|
|
|
|
case "installed applications":
|
|
$s = "Installed applications"; break;
|
|
|
|
case "remove all users from this group":
|
|
$s = "Remove all users from this group"; break;
|
|
|
|
case "permissions this group has":
|
|
$s = "Permissions this group has"; break;
|
|
|
|
case "select permissions this group will have":
|
|
$s = "Select permissions this group will have"; break;
|
|
|
|
case "sorry, that group name has already been taking.":
|
|
$s = "Sorry, that group name has already been taking."; break;
|
|
|
|
case "add new application":
|
|
$s = "Add new application"; break;
|
|
|
|
case "application name":
|
|
$s = "Application name"; break;
|
|
|
|
case "application title":
|
|
$s = "Application title"; break;
|
|
|
|
case "edit application":
|
|
$s = "Edit application"; break;
|
|
|
|
case "you must enter an application name and title.":
|
|
$s = "You must enter an application name and title."; break;
|
|
|
|
case "are you sure you want to delete this application ?":
|
|
$s = "Are you sure you want to delete this application ?"; break;
|
|
|
|
case "are you sure you want to delete this group ?":
|
|
$s = "Are you sure you want to delete this group ?"; break;
|
|
|
|
case "are you sure you want to kill this session ?":
|
|
$s = "Are you sure you want to kill this session ?"; break;
|
|
|
|
case "all records and account information will be lost!":
|
|
$s = "All records and account information will be lost!"; break;
|
|
|
|
case "are you sure you want to delete this account ?":
|
|
$s = "Are you sure you want to delete this account ?"; break;
|
|
|
|
case "are you sure you want to delete this news site ?":
|
|
$s = "Are you sure you want to delete this news site ?"; break;
|
|
|
|
case "percent of users that logged out":
|
|
$s = "Percent of users that logged out"; break;
|
|
|
|
case "list of current users":
|
|
$s = "list of current users"; break;
|
|
|
|
case "new password [ leave blank for no change ]":
|
|
$s = "New password [ Leave blank for no change ]"; break;
|
|
|
|
case "the two passwords are not the same":
|
|
$s = "The two passwords are not the same"; break;
|
|
|
|
case "the login and password can not be the same":
|
|
$s = "The login and password can not be the same"; break;
|
|
|
|
case "you must enter a password": $s = "You must enter a password"; break;
|
|
|
|
case "that loginid has already been taken":
|
|
$s = "That loginid has already been taken"; break;
|
|
|
|
case "you must enter a display": $s = "You must enter a display"; break;
|
|
case "you must enter a base url": $s = "You must enter a base url"; break;
|
|
case "you must enter a news url": $s = "You must enter a news url"; break;
|
|
|
|
case "you must enter the number of minutes between reload":
|
|
$s = "You must enter the number of minutes between reload"; break;
|
|
|
|
case "you must enter the number of listings display":
|
|
$s = "You must enter the number of listings display"; break;
|
|
|
|
case "you must select a file type":
|
|
$s = "You must select a file type"; break;
|
|
|
|
case "that site has already been entered":
|
|
$s = "That site has already been entered"; break;
|
|
|
|
case "select users for inclusion":
|
|
$s = "Select users for inclusion"; break;
|
|
|
|
case "sorry, the follow users are still a member of the group x":
|
|
$s = "Sorry, the follow users are still a member of the group $m1"; break;
|
|
|
|
case "they must be removed before you can continue":
|
|
$s = "They must be removed before you can continue"; break;
|
|
|
|
|
|
default: $s = "* ". $message;
|
|
}
|
|
return $s;
|
|
}
|
|
?>
|