forked from extern/egroupware
89 lines
3.6 KiB
PHP
89 lines
3.6 KiB
PHP
|
<?php
|
|||
|
|
|||
|
function lang_calendar($message, $m1 = "", $m2 = "", $m3 = "", $m4 = "")
|
|||
|
{
|
|||
|
$message = strtolower($message);
|
|||
|
|
|||
|
switch($message)
|
|||
|
{
|
|||
|
case "today": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "this week": $s = "<EFBFBD>̹<EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "this month": $s = "<EFBFBD>̹<EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "generate printer-friendly version":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>ϱ<EFBFBD>"; break;
|
|||
|
|
|||
|
case "printer friendly": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>ϱ<EFBFBD>"; break;
|
|||
|
|
|||
|
case "you have not entered a\\nbrief description":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>."; break;
|
|||
|
|
|||
|
case "you have not entered a\\nvalid time of day.":
|
|||
|
$s = "<EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD> <20><>Ȯ<EFBFBD>ϰ<EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>."; break;
|
|||
|
|
|||
|
case "are you sure\\nyou want to\\ndelete this entry ?":
|
|||
|
$s = "<EFBFBD><EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD> ?"; break;
|
|||
|
|
|||
|
case "participants": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "calendar - edit": $s = "<EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "calendar - add": $s = "<EFBFBD><EFBFBD> - <20>߰<EFBFBD>"; break;
|
|||
|
case "brief description":$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>";break;
|
|||
|
case "full description": $s = "<EFBFBD>ڼ<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>";break;
|
|||
|
case "duration": $s = "<EFBFBD>Ⱓ"; break;
|
|||
|
case "minutes": $s = "<EFBFBD><EFBFBD>"; break;
|
|||
|
case "repeat type": $s = "<EFBFBD>ݺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "none": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "daily": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "weekly": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "monthly (by day)": $s = "<EFBFBD>ſ<EFBFBD> (by day) ";break;
|
|||
|
case "monthly (by date)":$s = "<EFBFBD>ſ<EFBFBD> (by date)";break;
|
|||
|
case "yearly": $s = "<EFBFBD>ų<EFBFBD>"; break;
|
|||
|
case "repeat end date": $s = "<EFBFBD>ݺ<EFBFBD> <20><><EFBFBD>ᳯ¥"; break;
|
|||
|
case "use end date": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>¥ <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "repeat day": $s = "<EFBFBD>ݺ<EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
case "(for weekly)": $s = ""; break;
|
|||
|
case "frequency": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "sun": $s = "<EFBFBD>Ͽ<EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "mon": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "tue": $s = "ȭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "wed": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "thu": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "fri": $s = "<EFBFBD>ݿ<EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "sat": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "search results": $s = "<EFBFBD>˻<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "no matches found.":$s = "<EFBFBD>˻<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD> <20>´<EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.";break;
|
|||
|
case "1 match found": $s = "1<EFBFBD><EFBFBD><EFBFBD><EFBFBD> ã<><C3A3>"; break;
|
|||
|
case "x matches found": $s = "$m1<6D><31> <20><EFBFBD> ã<><C3A3>";break;
|
|||
|
case "description": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; break;
|
|||
|
case "repetition": $s = "<EFBFBD>ݺ<EFBFBD>"; break;
|
|||
|
case "days repeated": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ݺ<EFBFBD><DDBA>Ǿ<EFBFBD><C7BE><EFBFBD>"; break;
|
|||
|
case "go!": $s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"; break;
|
|||
|
case "year": $s = "<EFBFBD><EFBFBD>"; break;
|
|||
|
case "month": $s = "<EFBFBD><EFBFBD>"; break;
|
|||
|
case "week": $s = "<EFBFBD><EFBFBD>"; break;
|
|||
|
case "new entry": $s = "<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> <20><EFBFBD>"; break;
|
|||
|
case "view this entry": $s = "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"; break;
|
|||
|
|
|||
|
case "the following conflicts with the suggested time:<ul>x</ul>":
|
|||
|
$s = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD>ȵ<EFBFBD> <20>ð<EFBFBD><C3B0><EFBFBD> <20>浹<EFBFBD>մϴ<D5B4>. :<ul>$m1</ul>"; break;
|
|||
|
|
|||
|
case "your suggested time of <B> x - x </B> conflicts with the following existing calendar entries:":
|
|||
|
$s = "<B> $m1 - $m2 </B><3E><> <20><EFBFBD><D7B8><EFBFBD> <20>¿<DEB7> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."; break;
|
|||
|
|
|||
|
case "you must enter one or more search keywords":
|
|||
|
$s = "<EFBFBD>ϳ<EFBFBD> <20>̻<EFBFBD><CCBB><EFBFBD> <20>˻<EFBFBD>Ű<EFBFBD><C5B0><EFBFBD>带 <20>Է<EFBFBD><D4B7>ϼž<CFBC> <20>մϴ<D5B4>."; break;
|
|||
|
|
|||
|
case "are you sure\\nyou want to\\ndelete this entry ?\\n\\nthis will delete\\nthis entry for all users.": $s = "<EFBFBD><EFBFBD> <20><EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?"; break;
|
|||
|
|
|||
|
case "": $s = ""; break;
|
|||
|
case "": $s = ""; break;
|
|||
|
case "": $s = ""; break;
|
|||
|
case "": $s = ""; break;
|
|||
|
case "": $s = ""; break;
|
|||
|
case "": $s = ""; break;
|
|||
|
default: $s = "<b>*</b> ". $message;
|
|||
|
}
|
|||
|
return $s;
|
|||
|
}
|
|||
|
?>
|