# HG changeset patch # User Matti Hamalainen # Date 1351116382 -10800 # Node ID f9cd4c5ca3d6cfb2968c5684857a858e8c9ee61e # Parent d78a063b20536ea9d38f04896141c8d833bad8db Translate one more error message. diff -r d78a063b2053 -r f9cd4c5ca3d6 index.php --- a/index.php Thu Oct 25 01:02:35 2012 +0300 +++ b/index.php Thu Oct 25 01:06:22 2012 +0300 @@ -47,6 +47,15 @@ "en" => "Class not set, using default %1.", "fi" => "Luokkaa ei asetettu, käytetään vakioarvoa %1.", ), + + "classDataNotFound" => array( + "fi" => "Luokan %1 tietoja ei löytynyt! Jos luokkakoodi on uusi, ". + "ilmestyy se järjestelmään seuraavan päivityksen aikana. Luokkatiedot ". + "päivitetään kerran viikossa.", + "en" => "Data for class %1 was not found. If the class code is new, it ". + "should appear in this system during the next update. The data is updated ". + "once per week.", + ), "Style" => array("fi" => "Tyyli"), // "" => array("fi" => ), @@ -360,9 +369,7 @@ $dataFile = $cachePath.$luokka.".data"; if (!file_exists($dataFile)) { - errorMsg("Luokan ".lukChEntities($luokka)." tietoja ei löytynyt! ". - "Jos luokkakoodi on uusi, ilmestyy se järjestelmään seuraavan ". - "päivityksen aikana. Luokkatiedot päivitetään kerran viikossa."); + errorMsg(lukMsg("classDataNotFound", lukChEntities($luokka))); $haveData = FALSE; } else