mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-03 05:14:12 +01:00
89 lines
2.4 KiB
PHP
89 lines
2.4 KiB
PHP
|
<?php
|
|||
|
|
|||
|
function lang_pref($message, $m1 = "", $m2 = "", $m3 = "", $m4 = "")
|
|||
|
{
|
|||
|
$message = strtolower($message);
|
|||
|
|
|||
|
switch($message)
|
|||
|
{
|
|||
|
case "max matchs per page":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20>˻<EFBFBD> <20><><EFBFBD><EFBFBD> <20><EFBFBD> <20><>"; break;
|
|||
|
|
|||
|
case "time zone offset":
|
|||
|
$s = "<EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "this server is located in the x timezone":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> " . $m1 . " <20><> <20>ð<EFBFBD><C3B0>븦 <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "date format": $s = "<EFBFBD><EFBFBD>¥ <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "time format": $s = "<EFBFBD>ð<EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "language": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "show text on navigation icons":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "show current users on navigation bar":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> navigation bar<61><72> ǥ<><C7A5><EFBFBD>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "show new messages on main screen":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><EFBFBD><DEBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ȭ<EFBFBD>鿡 <20><><EFBFBD><EFBFBD><EFBFBD>ݴϴ<DDB4>."; break;
|
|||
|
|
|||
|
case "email signature":
|
|||
|
$s = "E-Mail <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "show birthday reminders on main screen":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>˷<EFBFBD><CBB7>ֱ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "show high priority events on main screen":
|
|||
|
$s = "<EFBFBD>߿䵵<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>۾<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>"; break;
|
|||
|
|
|||
|
case "weekday starts on":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "work day starts on":
|
|||
|
$s = "<EFBFBD>ٹ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ð<EFBFBD>"; break;
|
|||
|
|
|||
|
case "work day ends on":
|
|||
|
$s = "<EFBFBD>ٹ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ð<EFBFBD>"; break;
|
|||
|
|
|||
|
case "select headline news sites":
|
|||
|
$s = "ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "change your password":
|
|||
|
$s = "<EFBFBD><EFBFBD>ȣ <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "select different theme":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20>ٲٱ<D9B2>"; break;
|
|||
|
|
|||
|
case "change your settings":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ٲٱ<D9B2>"; break;
|
|||
|
|
|||
|
case "enter your new password":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><>ȣ "; break;
|
|||
|
|
|||
|
case "re-enter your password":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><>ȣ Ȯ<><C8AE>"; break;
|
|||
|
|
|||
|
case "the two passwords are not the same":
|
|||
|
$s = "<EFBFBD><EFBFBD>ȣ<EFBFBD><EFBFBD> <20>߸<EFBFBD> <20>ԷµǾ<C2B5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "you must enter a password":
|
|||
|
$s = "<EFBFBD><EFBFBD>ȣ<EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ؾ߸<D8BE> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "your current theme is: x":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <b>" . $m1 . "</b> <20>Դϴ<D4B4>."; break;
|
|||
|
|
|||
|
case "please, select a new theme":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>."; break;
|
|||
|
|
|||
|
case "note: this feature does *not* change your email password. this will need to be done manually.":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: e-mail<69><6C> <20><>ȣ<EFBFBD><C8A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻʽÿ<CABD>."; break;
|
|||
|
|
|||
|
|
|||
|
default: $s = "<b>*</b> ". $message;
|
|||
|
}
|
|||
|
return $s;
|
|||
|
}
|
|||
|
|
|||
|
|