"All the web",
"be redirected" => "You will be redirected to %s",
"copyright" => "Copyright © %s %s. All rights reserved.",
"empty page" => "Empty page",
"error page" => "Error page",
"go" => "GO",
"logo" => "%s logo",
"made" => "This site is using SimpleWeb.",
"maintainer" => "SimpleWeb maintainer",
"no name" => "No name",
"nothing" => "Nothing yet!",
"this site" => "This site",
"page created" => "Page created: ",
"page modified" => "Page last modified: ",
"search" => "Search",
"search page" => "Search page",
"search results" => "Search results for ",
"send comments" => "Send any comments to ",
"unknown member" => "Unknown member",
"word appear" => "Word %s appears %d times in %s site.",
"word not appear" => "Word %s does not appear in any page of %s site.",
"x times in" => "%d times in %s.");
// French messages
$Messages["FR"] = array ("all the web" => "Toute la toile",
"be redirected" => "Vous allez être redirigé vers %s.",
"copyright" => "Copyright © %s %s. Tout droit réservé.",
"empty page" => "Page vide",
"error page" => "Page érronée",
"go" => "Lancez",
"logo" => "Logo %s",
"made" => "Ce site utilise SimpleWeb.",
"maintainer" => "Responsable SimpleWeb",
"no name" => "Sans nom",
"nothing" => "Toujours rien !",
"this site" => "Ce site",
"page created" => "Page crée le ",
"page modified" => "Page modifiée dernièrement le ",
"search" => "Rechercher",
"search page" => "Page de recherche",
"search results" => "Recherche correspondant à ",
"send comments" => "Envoyez tout commentaire à ",
"unknown member" => "Membre inconnu",
"word appear" => "Le mot %s apparaìt %d fois sur le site %s.",
"word not appear" => "Le mot %s n'apparaît sur aucune page du site %s.",
"x times in" => "%d fois dans %s.");
// Italian messages
$Messages["IT"] = array ("all the web" => "Tutto il web",
"be redirected" => "Voi sarete rindirizzati verso %s.",
"copyright" => "Copyright © %s %s. Tutti i diritti sono riservati.",
"empty page" => "Pagina vuota",
"error page" => "Pagine errata",
"go" => "Vai",
"logo" => "Marchio di %s",
"made" => "Questo sito sta usando SimpleWeb.",
"maintainer" => "Gestore SimpleWeb",
"no name" => "Senza nome",
"nothing" => "Niente ancora !",
"this site" => "Questo sito",
"page created" => "Pagina creata il ",
"page modified" => "Ultima modifica il ",
"search" => "Cerca",
"search page" => "Pagina di cerca",
"search results" => "Risultati di ricerca perr ",
"send comments" => "Per ogni suggerimento inviare un e-mail a ",
"unknown member" => "Utente sconosciuto",
"word appear" => "Parola %s appare %d volte nel %s sito.",
"word not appear" => "Parola %s non appare in alcuna pagina del %s sito.",
"x times in" => "%d volte nella %s.");
// Spanish messages
$Messages["ES"] = array ("all the web" => "Todo el web",
"be redirected" => "Le volverán a dirigir a %s.",
"copyright" => "Copyright © %s %s. Todos los derechos reservados.",
"empty page" => "Página en blanco",
"error page" => "Página errónea",
"go" => "IR",
"logo" => "Insignia de %s",
"made" => "Esta sitio está utilizando SimpleWeb.",
"maintainer" => "Responsable de el SimpleWeb",
"no name" => "Sin nombre",
"nothing" => "¡ Nada todavía !",
"this site" => "Este sitio",
"page created" => "Página creada el ",
"page modified" => "Página modificada últimamente el ",
"search" => "Buscar",
"search page" => "Página de la búsqueda",
"search results" => "Resultados de la búsqueda para ",
"send comments" => "Envíe cualquier comentario a ",
"unknown member" => "Miembro desconocido ",
"word appear" => "la palabra %s aparece %d veces en sitio %s.",
"word not appear" => "La palabra %s no aparece en ninguna página del sitio %s",
"x times in" => "%d veces en %s.");
// English messages
$Messages["DE"] = array ("all the web" => "Das ganze Netz",
"be redirected" => "Sie werden zu %s umgeleitet.",
"copyright" => "Copyright © %s %s. Alle Rechte vorbehalten.",
"empty page" => "Leere Seite",
"error page" => "Fehler Seite",
"go" => "OK",
"logo" => "%s Firmenzeichen",
"made" => "Diese Site verwendet SimpleWebi.",
"maintainer" => "Der SimpleWeb Verantwortliche",
"no name" => "Ohne Name",
"nothing" => "Noch nichts !",
"this site" => "Diese Site",
"page created" => "Seite entworfen am ",
"page modified" => "Letzte Änderung am ",
"search" => "Suche",
"search page" => "Suchseite",
"search results" => "Suchresultate für" ,
"send comments" => "Schicken Sie Ihre Anmerkungen an ",
"unknown member" => "Unbekannter User",
"word appear" => "Wort %s erscheint %d mal in der %s Site.",
"word not appear" => "Wort %s erscheint in keiner Seite der %s Site.",
"x times in" => "%d mal in %s.");
// Get message
function GetMessage($msg, $lang = null) {
global $Messages;
if (!$lang)
$lang = GetLanguage();
return $Messages[$lang][$msg];
}
// Format date
function FormatDate($timestamp = null) {
if (!isset($timestap))
$date = getdate($timestamp);
else
$date = getdate();
$string = "";
switch (GetLanguage()) {
case "EN" :
$days = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
$string .= $days[$date["wday"]] . " " . sprintf("% 2d", $date["mday"]);
$string .= ($date["mday"] == 1) ? "st" : (($date["mday"] == 2) ? "nd" : (($date["mday"] == 2) ? "rd" : "th"));
$string .= " of ";
$months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$string .= $months[$date["mon"]-1] . " " . $date["year"];
break;
case "FR" :
$days = array("dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi");
$string .= $days[$date["wday"]] . " " . sprintf("% 2d", $date["mday"]) . " ";
$months = array("janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre");
$string .= $months[$date["mon"]-1] . " " . $date["year"];
break;
case "IT":
$days = array("Domenica", "Lunedí", "Martedí", "Mercoledí", "Giovedí", "Venerdí", "Sabato");
$string .= $days[$date["wday"]] . " " . sprintf("% 2d", $date["mday"]);
$string .= " ";
$months = array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre");
$string .= $months[$date["mon"]-1] . " " . $date["year"];
break;
case "ES":
$days = array("domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado");
$string .= $days[$date["wday"]] . " " . sprintf("% 2d", $date["mday"]);
$string .= " de ";
$months = array("enero", "febrero", "marcha", "abril", "puede", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre");
$string .= $months[$date["mon"]-1] . " de " . $date["year"];
break;
case "DE":
$days = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
$string .= $days[$date["wday"]] . ", " . sprintf("% 2d", $date["mday"]);
$string .= ". ";
$months = array("Januar", "Februar", "März", "April", "Mag", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember");
$string .= $months[$date["mon"]-1] . " " . $date["year"];
break;
}
if (($date["hours"]) && ($date["minutes"]) && ($date["seconds"]))
$string .= sprintf(", %d:%02d:%02d",
$date["hours"], $date["minutes"], $date["seconds"]);
return $string;
}
$included["Simpleweb/messages$.php"] = 1;
}
?>