mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
86 lines
2.4 KiB
PHP
Executable File
86 lines
2.4 KiB
PHP
Executable File
<?php
|
|
|
|
function lang_pref($message, $m1 = "", $m2 = "", $m3 = "", $m4 = "")
|
|
{
|
|
$message = strtolower($message);
|
|
|
|
switch($message)
|
|
{
|
|
case "max matchs per page":
|
|
$s = "Max matches per side"; break;
|
|
|
|
case "time zone offset":
|
|
$s = "Tids-sone offset"; break;
|
|
|
|
case "this server is located in the x timezone":
|
|
$s = "Denne server er i " . $m1 . " tids-sonen"; break;
|
|
|
|
case "date format": $s = "Dato format"; break;
|
|
case "time format": $s = "Tids format"; break;
|
|
case "language": $s = "Språke"; break;
|
|
|
|
case "show text on navigation icons":
|
|
$s = "Vis tekst på navigasjons ikoner"; break;
|
|
|
|
case "show current users on navigation bar":
|
|
$s = "Vis current brukere i navigation bar"; break;
|
|
|
|
case "show new messages on main screen":
|
|
$s = "Vis nye meldinger på hovedskjerm"; break;
|
|
|
|
case "email signature":
|
|
$s = "E-Post signatur"; break;
|
|
|
|
case "show birthday reminders on main screen":
|
|
$s = "Vis fødselsdags påminnere på hovedskjerm"; break;
|
|
|
|
case "show high priority events on main screen":
|
|
$s = "Vis høyprioritets events på hovedskjermen"; break;
|
|
|
|
case "weekday starts on":
|
|
$s = "Ukedag begynner på"; break;
|
|
|
|
case "work day starts on":
|
|
$s = "Arbeidsdag begynner på"; break;
|
|
|
|
case "work day ends on":
|
|
$s = "Arbeidsdag slutter på"; break;
|
|
|
|
case "select headline news sites":
|
|
$s = "Velg Headline News sites"; break;
|
|
|
|
case "change your password":
|
|
$s = "Endre passord"; break;
|
|
|
|
case "select different theme":
|
|
$s = "Velg annet tema"; break;
|
|
|
|
case "change your settings":
|
|
$s = "Endre innstillinger"; break;
|
|
|
|
case "enter your new password":
|
|
$s = "Skriv inn ditt nye passord"; break;
|
|
|
|
case "re-enter your password":
|
|
$s = "Skriv inn ditt passord igjen"; break;
|
|
|
|
case "the two passwords are not the same":
|
|
$s = "Passordene stemmer ikke overens"; break;
|
|
|
|
case "you must enter a password":
|
|
$s = "Du må skrive inn et passord"; break;
|
|
|
|
case "your current theme is: x":
|
|
$s = "Ditt tema er: <b>" . $m1 . "</b>"; break;
|
|
|
|
case "please, select a new theme":
|
|
$s = "Vennligst velg et nytt tema"; break;
|
|
|
|
case "note: this feature does *not* change your email password. this will need to be done manually.":
|
|
$s = "Noter: Denne funksonen endrer *ikke* ditt epost passord. Dette må gjøres manuellt."; break;
|
|
|
|
default: $s = "* $message";
|
|
}
|
|
return $s;
|
|
}
|