[Phpfreechat-svn] SF.net SVN: phpfreechat: [992] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-03-08 14:53:46
|
Revision: 992 http://svn.sourceforge.net/phpfreechat/?rev=992&view=rev Author: kerphi Date: 2007-03-08 06:53:41 -0800 (Thu, 08 Mar 2007) Log Message: ----------- New Norwegian Nynorsk translation (thanks to Yngve Spjeld Landro) Modified Paths: -------------- trunk/demo/index.php trunk/src/pfci18n.class.php Added Paths: ----------- trunk/demo/demo59_in_norwegian_nynorsk.php trunk/i18n/nn_NO/ trunk/i18n/nn_NO/main.php Added: trunk/demo/demo59_in_norwegian_nynorsk.php =================================================================== --- trunk/demo/demo59_in_norwegian_nynorsk.php (rev 0) +++ trunk/demo/demo59_in_norwegian_nynorsk.php 2007-03-08 14:53:41 UTC (rev 992) @@ -0,0 +1,36 @@ +<?php + +require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; + +$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat +$params["language"] = "nn_NO"; +$chat = new phpFreeChat( $params ); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>phpFreeChat demo</title> + + <?php $chat->printJavascript(); ?> + <?php $chat->printStyle(); ?> + + </head> + + <body> + <?php $chat->printChat(); ?> + +<?php + // print the current file + echo "<h2>The source code</h2>"; + $filename = __FILE__; + echo "<p><code>".$filename."</code></p>"; + echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">"; + $content = file_get_contents($filename); + echo htmlentities($content); + echo "</pre>"; +?> + + </body> +</html> Modified: trunk/demo/index.php =================================================================== --- trunk/demo/index.php 2007-03-08 14:47:32 UTC (rev 991) +++ trunk/demo/index.php 2007-03-08 14:53:41 UTC (rev 992) @@ -124,6 +124,7 @@ <li><a href="demo56_in_romanian.php">demo56 - Romanian translation of the chat</a></li> <li><a href="demo57_in_korean.php">demo57 - Korean translation of the chat</a></li> <li><a href="demo58_in_danish.php">demo58 - Danish translation of the chat</a></li> + <li><a href="demo59_in_norwegian_nynorsk.php">demo58 - Norwegian Nynorsk translation of the chat</a></li> </ul> </div> Added: trunk/i18n/nn_NO/main.php =================================================================== --- trunk/i18n/nn_NO/main.php (rev 0) +++ trunk/i18n/nn_NO/main.php 2007-03-08 14:53:41 UTC (rev 992) @@ -0,0 +1,384 @@ +<?php +/** + * i18n/nn_NO/main.php + * + * Copyright © 2006 Stephane Gully <ste...@gm...> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +/** + * Norwegian (Nynorsk) translation of the messages (utf8 encoded!) + * + * @author Yngve Spjeld Landro <nynorsk[ at ]strilen.net> + */ + +// line 45 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["My Chat"] = "Praten min"; + +// line 201 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "fann ikkje %s, finn ikkje biblioteksfila %s."; + +// line 355 in phpfreechat.class.php +$GLOBALS["i18n"]["Please enter your nickname"] = "Skriv kallenamnet ditt"; + +// line 565 in phpfreechat.class.php +$GLOBALS["i18n"]["Text cannot be empty"] = "Tekststrengen kan ikkje vera tom"; + +// line 392 in phpfreechat.class.php +$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s endrar kallenamnet sitt til %s"; + +// line 398 in phpfreechat.class.php +$GLOBALS["i18n"]["%s is connected"] = "%s er tilkopla"; + +// line 452 in phpfreechat.class.php +$GLOBALS["i18n"]["%s quit"] = "%s forlét praten"; + +// line 468 in phpfreechat.class.php +$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s fråkopla (tidsavbrot)"; + +// line 262 in phpfreechat.class.php +$GLOBALS["i18n"]["Unknown command [%s]"] = "Ukjent kommando [%s]"; + +// line 149 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s finst ikkje: %s"; + +// line 180 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["You need %s"] = "Du treng %s"; + +// line 241 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s finst ikkje, finn ikkje biblioteksfila %"; + +// line 280 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist"] = "%s finst ikkje"; + +// line 433 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s directory must be specified"] = "ein må oppgje %s-katalogen"; + +// line 439 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s must be a directory"] = "%s må vera ein filkatalog"; + +// line 446 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s can't be created"] = "%s kan ikkje lagast"; + +// line 451 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not writeable"] = "kan ikkje skriva til %s"; + +// line 496 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not readable"] = "kan ikkje lesa %s"; + +// line 469 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a file"] = "%s er ikkje ei fil"; + +// line 491 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a directory"] = "%s er ikkje een filkatalog"; + +// line 23 in chat.html.tpl.php +$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [driven av phpFreeChat-%s]"; + +// line 296 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide nickname marker"] = "Skjul kallenamnfarge"; + +// line 304 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show nickname marker"] = "Vis kallenamnfarge"; + +// line 389 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Disconnect"] = "Kopla frå"; + +// line 395 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Connect"] = "Kopla til"; + +// line 427 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Magnify"] = "Gjer større"; + +// line 434 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Cut down"] = "Avgrens"; + +// line 345 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide dates and hours"] = "Skjul datoar og timar"; + +// line 353 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show dates and hours"] = "Vis datoar og timar"; + +// line 21 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your message here"] = "Skriv meldinga di her"; + +// line 24 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your nickname here"] = "Før opp kallenamnet ditt"; + +// line 93 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Feil: parameteren '%s' er ikkje definert, eller er forelda. Korriger eller fjern parameteren"; + +// line 48 in phpfreechattemplate.class.php +$GLOBALS["i18n"]["%s template could not be found"] = "fann ikkje %s-malen"; + +// line 512 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "Feil: Fann ikkje '%s'. Sjå etter om temabana '%s' og temaet ditt '%s' er rette"; + +// line 33 in chat.html.tpl.php +$GLOBALS["i18n"]["Bold"] = "Feit"; + +// line 34 in chat.html.tpl.php +$GLOBALS["i18n"]["Italics"] = "Kursiv"; + +// line 35 in chat.html.tpl.php +$GLOBALS["i18n"]["Underline"] = "Understrek"; + +// line 36 in chat.html.tpl.php +$GLOBALS["i18n"]["Delete"] = "Slett"; + +// line 37 in chat.html.tpl.php +$GLOBALS["i18n"]["Pre"] = "Pre"; + +// line 38 in chat.html.tpl.php +$GLOBALS["i18n"]["Mail"] = "E-post"; + +// line 39 in chat.html.tpl.php +$GLOBALS["i18n"]["Color"] = "Farge"; + +// line 86 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide smiley box"] = "Skjul smilefjesvindauge"; + +// line 87 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show smiley box"] = "Vis smilefjesvindauge"; + +// line 88 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide online users box"] = "Skjul tilkopla brukarar"; + +// line 89 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show online users box"] = "Vis tilkopla brukarar"; + +// line 75 in pfccommand.class.php +$GLOBALS["i18n"]["%s must be implemented"] = "%s må vera brukt"; + +// line 343 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s'-parameteren er obligatorisk. Bruk '%s' som standardverdi"; + +// line 378 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "Parameteren '%s' må større enn null"; + +// line 386 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "Parameteren '%s' er ikkje gyldig. Tilgjengelege verdiar er : '%s'"; + + +// line 186 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["My room"] = "Rommet mitt"; + +// line 19 in unban.class.php +$GLOBALS["i18n"]["Missing parameter"] = "Manglande parameter"; + +// line 38 in ban.class.php +$GLOBALS["i18n"]["banished from %s by %s"] = "bortvist frå %s av %s"; + +// line 23 in banlist.class.php +$GLOBALS["i18n"]["The banished user's id list is:"] = "Den bortviste brukaren si ID-liste er:"; + +// line 32 in banlist.class.php +$GLOBALS["i18n"]["Empty"] = "Tom"; + +// line 34 in banlist.class.php +$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "'/unban {id}' vil oppheva bortvisinga av brukaren med ID-en {id}"; + +// line 35 in banlist.class.php +$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' vil oppheva bortvisinga av alle brukarane på denne kanalen"; + +// line 24 in update.class.php +$GLOBALS["i18n"]["%s quit (timeout)"] = "%s slutt (tidsavbrot)"; + +// line 46 in join.class.php +$GLOBALS["i18n"]["%s joins %s"] = "%s blir med i %s"; + +// line 31 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s"] = "sparka ut frå %s av %s"; + +// line 38 in send.class.php +$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Klarer ikkje senda meldinga - %s er ikkje tilkopla"; + +// line 27 in unban.class.php +$GLOBALS["i18n"]["Nobody has been unbanished"] = "Ingen er blitt bortviste"; + +// line 42 in unban.class.php +$GLOBALS["i18n"]["%s has been unbanished"] = "Bortvisinga av %s er oppheva"; + +// line 49 in unban.class.php +$GLOBALS["i18n"]["%s users have been unbanished"] = "%s brukarar har fått bortvisinga oppheva"; + +// line 47 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Du har ikkje lov til å kjøra kommandoen '%s'"; + +// line 66 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Kan ikkje bli med i %s fordi du er bortvist"; + +// line 76 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Kan ikkje bli med i %s sia tilgangen til kanallista er avgrensa"; + +// line 89 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Du har ikkje lov til å endra kallenamnet ditt"; + +// line 56 in noflood.class.php +$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Send ikkje så mange meldingar. Fløyming blir ikkje godteke"; + +// line 109 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Private message"] = "Privat melding"; + +// line 110 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Close this tab"] = "Lukk denne fana"; + +// line 199 in pfcgui.js.tpl.php +$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Vil du verkeleg forlata dette rommet?"; + +// line 169 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Feil: '%s' er ein privat parameter. Du har ikkje lov til å endra han."; + +// line 253 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s'-parameteren må vera ein tabell"; + +// line 265 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s'-parameteren må vera boolsk"; + +// line 271 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s'-parameteren må vera ein teiknstreng"; + +// line 395 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' must be writable"] = "Ein må kunna skriva til '%s'"; + +// line 425 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s'-katalogen finst ikkje"; + +// line 544 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Please correct these errors"] = "Rett desse feila"; + +// line 21 in pfcinfo.class.php +$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Feil: den mellomlagra innstillingsfila finst ikkje"; + +// line 190 in phpfreechat.class.php +$GLOBALS["i18n"]["Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum"] = "Feil: praten kan ikkje lastast. Det kan vera to grunnar til dette: nettlesaren din støttar ikkje JavaScript, eller det er feil i tilgangsrettane på tenarmappene. Spør om hjelp i forumet"; + +// line 31 in help.class.php +$GLOBALS["i18n"]["Here is the command list:"] = "Her er kommandolista:"; + +// line 63 in identify.class.php +$GLOBALS["i18n"]["Succesfully identified"] = "Rett identifisert"; + +// line 68 in identify.class.php +$GLOBALS["i18n"]["Identification failure"] = "Identifiseringsfeil"; + +// line 25 in send.class.php +$GLOBALS["i18n"]["Your must be connected to send a message"] = "Du må vera tilkopla for å kunna senda ei melding"; + +// line 87 in chat.js.tpl.php +$GLOBALS["i18n"]["Click here to send your message"] = "Klikk her for å senda meldinga di"; + +// line 80 in chat.js.tpl.php +$GLOBALS["i18n"]["Enter the text to format"] = "Skriv inn teksten som skal formaterast"; + +// line 81 in chat.js.tpl.php +$GLOBALS["i18n"]["Configuration has been rehashed"] = "Innstillingane er blitt oppdatert"; + +// line 82 in chat.js.tpl.php +$GLOBALS["i18n"]["A problem occurs during rehash"] = "Det oppstod eit problem under oppdateringa"; + +// line 83 in chat.js.tpl.php +$GLOBALS["i18n"]["Choosen nickname is allready used"] = "Kallenamnet er allereie i bruk"; + +// line 84 in chat.js.tpl.php +$GLOBALS["i18n"]["phpfreechat current version is %s"] = "Gjeldande versjon av phpfreechat er %s"; + +// line 85 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "Har nådd grensa for tilkopla kanalar"; + +// line 86 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = "Har nådd grensa for private samtaler"; + +// line 88 in chat.js.tpl.php +$GLOBALS["i18n"]["Send"] = "Send"; + +// line 86 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql container: tilkoplingsfeil"; + +// line 101 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql container: databaseopprettingsfeil '%s'"; + +// line 112 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql container: tabellopprettingsfeil '%s'"; + +// line 80 in chat.js.tpl.php +$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "Du kan ikkje tala med deg sjølv"; + +// line 82 in chat.js.tpl.php +$GLOBALS["i18n"]["Choosen nickname is not allowed"] = "Du har ikkje lov til ta det valde kallenamnet"; + +// line 83 in chat.js.tpl.php +$GLOBALS["i18n"]["Enable sound notifications"] = "Bruk meldingslydar"; + +// line 84 in chat.js.tpl.php +$GLOBALS["i18n"]["Disable sound notifications"] = "Slå av meldingslydar"; + +// line 23 in kick.class.php +$GLOBALS["i18n"]["no reason"] = "utan grunn"; + +// line 24 in banlist.class.php +$GLOBALS["i18n"]["The banished user list is:"] = "Bortvistbrukarlista er:"; + +// line 39 in banlist.class.php +$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {kallenamn}' vil oppheva bortvisinga av brukaren med {kallenamn}"; + +// line 43 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "sparka ut frå %s av %s. Årsak: %s"; + +// line 20 in quit.class.php +$GLOBALS["i18n"]["%s quit (%s)"] = "%s avslutta (%s)"; + +// line 124 in chat.js.tpl.php +$GLOBALS["i18n"]["Chat loading ..."] = "Lastar praten …"; + +// line 124 in chat.js.tpl.php +$GLOBALS["i18n"]["Please wait"] = "Vent"; + +// line 139 in chat.js.tpl.php +$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s er anten ikkje i bruk eller er ikkje støtta av nettlesaren din."; + +// line 139 in chat.js.tpl.php +$GLOBALS["i18n"]["This web application requires %s to work properly."] = "Denne nettapplikasjonen treng %s for å kunna brukast skikkeleg."; + +// line 135 in chat.js.tpl.php +$GLOBALS["i18n"]["Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."] = "Slå på %s i nettlesarinnstillingane, eller oppgrader til ein nettlesar med støtte for %s og prøv igjen."; + +// line 137 in chat.js.tpl.php +$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = "Oppgrader til ein nettlesar med støtte for %s og prøv igjen."; + +// line 139 in chat.js.tpl.php +$GLOBALS["i18n"]["In Internet Explorer versions earlier than 7.0, Ajax is implemented using ActiveX. Please enable ActiveX in your browser security settings or upgrade to a browser with Ajax support and try again."] = "I Internet Explorer-utgåvene før 7.0 var Ajax teken i bruk gjennom ActiveX. Slå på ActiveX i nettlesaren din, eller oppgrader til ein nettlesar med Ajax-støtte og prøv igjen."; + +// line 359 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s finst ikkje. Klarer ikkje installera data_public_path"; + +// line 73 in invite.class.php +$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "Du må vera med i %s for å kunna invitera brukarar til kanalen"; + +// line 47 in chat.html.tpl.php +$GLOBALS["i18n"]["Ping"] = "Ping"; + +// line 477 in phpfreechat.class.php +$GLOBALS["i18n"]["Input Required"] = "Inndata er påkravd"; + +// line 478 in phpfreechat.class.php +$GLOBALS["i18n"]["OK"] = "OK"; + +// line 479 in phpfreechat.class.php +$GLOBALS["i18n"]["Cancel"] = "Avbryt"; + +?> Modified: trunk/src/pfci18n.class.php =================================================================== --- trunk/src/pfci18n.class.php 2007-03-08 14:47:32 UTC (rev 991) +++ trunk/src/pfci18n.class.php 2007-03-08 14:53:41 UTC (rev 992) @@ -97,7 +97,7 @@ */ function GetAcceptedLanguage($type="main") { - return /*<GetAcceptedLanguage>*/array('ar_LB','sv_SE','ja_JP','ba_BA','pt_PT','el_GR','tr_TR','hy_AM','nb_NO','zh_TW','ru_RU','fr_FR','es_ES','bg_BG','zh_CN','nl_NL','de_DE-informal','pl_PL','pt_BR','it_IT','id_ID','hu_HU','en_US','sr_CS','de_DE-formal','eo','bn_BD','uk_UA','uk_RO','ko_KR','da_DK');/*</GetAcceptedLanguage>*/ + return /*<GetAcceptedLanguage>*/array('ar_LB','sv_SE','ja_JP','ba_BA','pt_PT','el_GR','tr_TR','hy_AM','nb_NO','zh_TW','ru_RU','fr_FR','es_ES','bg_BG','zh_CN','nl_NL','de_DE-informal','pl_PL','pt_BR','it_IT','id_ID','hu_HU','en_US','sr_CS','de_DE-formal','eo','bn_BD','uk_UA','uk_RO','ko_KR','da_DK','nn_NO');/*</GetAcceptedLanguage>*/ } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |