[Phpfreechat-svn] SF.net SVN: phpfreechat: [967] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-02-19 09:29:23
|
Revision: 967 http://svn.sourceforge.net/phpfreechat/?rev=967&view=rev Author: kerphi Date: 2007-02-19 01:29:16 -0800 (Mon, 19 Feb 2007) Log Message: ----------- [en] New danish da_DK translation [0h20] [fr] Nouvelle traduction danoise da_DK [0h20] Modified Paths: -------------- trunk/demo/index.php trunk/src/pfci18n.class.php Added Paths: ----------- trunk/demo/demo58_in_danish.php trunk/i18n/da_DK/ trunk/i18n/da_DK/admin.php trunk/i18n/da_DK/main.php Added: trunk/demo/demo58_in_danish.php =================================================================== --- trunk/demo/demo58_in_danish.php (rev 0) +++ trunk/demo/demo58_in_danish.php 2007-02-19 09:29:16 UTC (rev 967) @@ -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"] = "da_DK"; +$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-02-19 09:11:17 UTC (rev 966) +++ trunk/demo/index.php 2007-02-19 09:29:16 UTC (rev 967) @@ -123,6 +123,7 @@ <li><a href="demo54_in_esperanto.php">demo54 - Esperanto translation of the chat</a></li> <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> </ul> </div> Added: trunk/i18n/da_DK/admin.php =================================================================== --- trunk/i18n/da_DK/admin.php (rev 0) +++ trunk/i18n/da_DK/admin.php 2007-02-19 09:29:16 UTC (rev 967) @@ -0,0 +1,72 @@ +<?php +/** + * i18n/da_DK/admin.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 + */ + +/** + * Danish translation of the messages (utf8 encoded!) + * + * @author Mads Ovesen <mo...@wi...> + */ + +$GLOBALS["i18n"]["lang"] = "Dansk"; + +// admin/index.php +$GLOBALS["i18n"]["Administration"] = "Administration"; +$GLOBALS["i18n"]["Available Languages"] = "Tilgængelige sprog"; +$GLOBALS["i18n"]["PFC version verification"] = "PFC version verifikation"; +$GLOBALS["i18n"]["Internet connection is not possible"] = "Internet-forbindelse er ikke mulig"; +$GLOBALS["i18n"]["PFC is update"] = "PFC er opdateret"; +$GLOBALS["i18n"]["PFC version"] = "PFC version"; +$GLOBALS["i18n"]["The last official version"] = "Den sidste officielle version"; +$GLOBALS["i18n"]["PFC is not update"] = "PFC er ikke opdateret"; +$GLOBALS["i18n"]["Your version"] = "Din version"; +$GLOBALS["i18n"]["Download the last version %s here %s."] = "Hent den sidste version %s her %s."; + + +// admin/user.php +$GLOBALS["i18n"]["Users management"] = "Brugerhåndtering"; +$GLOBALS["i18n"]["At least one user must be declare to activate authentication."] = "Mindst en bruger skal være erklæret for at aktivere autentifikationen."; +$GLOBALS["i18n"]["It is not possible to delete the last user."] = "Det er ikke muligt at slette den sidste bruger."; + +$GLOBALS["i18n"]["User %s deleted."] = "Bruger %s slettet."; +$GLOBALS["i18n"]["User %s added."] = "Bruger %s tilføjet."; +$GLOBALS["i18n"]["User %s edited."] = "Bruger %s redigeret."; + +$GLOBALS["i18n"]["Authentication disable"] = "Deaktiver autentificering"; +$GLOBALS["i18n"]["Enable here"] = "Aktiver her"; +$GLOBALS["i18n"]["Authentication enable"] = "Aktiver autentificering"; +$GLOBALS["i18n"]["Disable here"] = "Deaktiver her"; + +$GLOBALS["i18n"]["Username"] = "Brugernavn"; +$GLOBALS["i18n"]["Password"] = "Kodeord"; +$GLOBALS["i18n"]["Group"] = "Gruppe"; + +$GLOBALS["i18n"]["Do you really want to delete %s ?"] = "Ønsker du virkelig at slette %s ?"; +$GLOBALS["i18n"]["Add a new user"] = "Tilføj en ny bruger"; + +$GLOBALS["i18n"]["Edit"] = "Rediger"; +$GLOBALS["i18n"]["Delete"] = "Slet"; + +// admin/themes.php +$GLOBALS["i18n"]["Available themes"] = "Tilgængelige temaer"; +$GLOBALS["i18n"]["Screenshot"] = "Screenshot"; + +?> Added: trunk/i18n/da_DK/main.php =================================================================== --- trunk/i18n/da_DK/main.php (rev 0) +++ trunk/i18n/da_DK/main.php 2007-02-19 09:29:16 UTC (rev 967) @@ -0,0 +1,375 @@ +<?php +/** + * i18n/da_DK/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 + */ + +/** + * Danish translation of the messages (utf8 encoded!) + * + * @author Mads Ovesen <mo...@wi...> + */ + +// line 45 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["My Chat"] = "Min chat"; + +// line 201 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s ikke fundet, %s biblioteket findes ikke."; + +// line 355 in phpfreechat.class.php +$GLOBALS["i18n"]["Please enter your nickname"] = "Venligst indtast dit chatnavn"; + +// line 565 in phpfreechat.class.php +$GLOBALS["i18n"]["Text cannot be empty"] = "Teksten må ikke være tom"; + +// line 392 in phpfreechat.class.php +$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s ændrer sit chatnavn til %s"; + +// line 398 in phpfreechat.class.php +$GLOBALS["i18n"]["%s is connected"] = "%s er tilsluttet"; + +// line 452 in phpfreechat.class.php +$GLOBALS["i18n"]["%s quit"] = "%s har forladt chatten"; + +// line 468 in phpfreechat.class.php +$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s ikke tilsluttet (tidsgrænse nået)"; + +// line 262 in phpfreechat.class.php +$GLOBALS["i18n"]["Unknown command [%s]"] = "ukendt kommando [%s]"; + +// line 149 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s eksisterer ikke: %s"; + +// line 180 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["You need %s"] = "Du har brug for %s"; + +// line 241 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s eksisterer ikke, %s biblioteket findes ikke"; + +// line 280 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist"] = "%s eksisterer ikke"; + +// line 433 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s directory must be specified"] = "%s filkataloget skal specificeres"; + +// line 439 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s must be a directory"] = "%s skal være en filkatalog"; + +// line 446 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s can't be created"] = "%s kan ikke oprettes"; + +// line 451 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not writeable"] = "%s er ikke skrivbar"; + +// line 496 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not readable"] = "%s er ikke læsbar"; + +// line 469 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a file"] = "%s er ikke en fil"; + +// line 491 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a directory"] = "%s er ikke en filkatalog"; + +// line 23 in chat.html.tpl.php +$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; + +// line 296 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide nickname marker"] = "Gem farver på chatnavne"; + +// line 304 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show nickname marker"] = "Vis farver på chatnavne"; + +// line 389 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Disconnect"] = "Afbryd"; + +// line 395 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Connect"] = "Tilslut"; + +// line 427 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Magnify"] = "Maksimer"; + +// line 434 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Cut down"] = "Minimer"; + +// line 345 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide dates and hours"] = "Gem dato og tid"; + +// line 353 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show dates and hours"] = "Vis dato og tid"; + +// line 21 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your message here"] = "Skriv din besked her"; + +// line 24 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your nickname here"] = "Skriv dit chatnavn her"; + +// line 93 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Fejl: Udefineret eller overflødig parameter '%s', Venligst ret eller fjern denne parameter"; + +// line 86 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide smiley box"] = "Gem smileyboks"; + +// line 87 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show smiley box"] = "Vis smileyboks"; + +// line 88 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide online users box"] = "Gem online brugerboks"; + +// line 89 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show online users box"] = "Vis online brugerboks"; + +// line 33 in chat.html.tpl.php +$GLOBALS["i18n"]["Bold"] = "Fed"; + +// line 34 in chat.html.tpl.php +$GLOBALS["i18n"]["Italics"] = "Kursiv"; + +// line 35 in chat.html.tpl.php +$GLOBALS["i18n"]["Underline"] = "Understreget"; + +// line 36 in chat.html.tpl.php +$GLOBALS["i18n"]["Delete"] = "Slet"; + +// line 37 in chat.html.tpl.php +$GLOBALS["i18n"]["Pre"] = "Præ"; + +// line 38 in chat.html.tpl.php +$GLOBALS["i18n"]["Mail"] = "Mail"; + +// line 39 in chat.html.tpl.php +$GLOBALS["i18n"]["Color"] = "Farve"; + +// line 48 in phpfreechattemplate.class.php +$GLOBALS["i18n"]["%s template could not be found"] = "%s visningen blev ikke fundet"; + +// 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"] = "Fejl: '%s' kunne ikke findes, venligst undersøg stien til temaet '%s' og dit tema '%s' er korrekt"; + +// line 75 in pfccommand.class.php +$GLOBALS["i18n"]["%s must be implemented"] = "%s skal implementeres"; + +// line 343 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter er obligatorisk ved default brug '%s' værdi"; + +// line 378 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "'%s' parameter skal være et positivt tal"; + +// line 386 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "'%s' parameter er ikke gyldig. Mulige værdier er: '%s'"; + +// line 185 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["My room"] = "Mit rum"; + +// line 109 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Private message"] = "Privat besked"; + +// line 110 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Close this tab"] = "Luk dette faneblad"; + +// line 225 in pfcgui.js.tpl.php +$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Ønsker du at forlade dette rum?"; + +// line 19 in unban.class.php +$GLOBALS["i18n"]["Missing parameter"] = "Manglende parameter"; + +// line 38 in ban.class.php +$GLOBALS["i18n"]["banished from %s by %s"] = "nægtet adgang til %s af %s"; + +// line 23 in banlist.class.php +$GLOBALS["i18n"]["The banished user's id list is:"] = "Listen over brugerid med nægtet adgang 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 tillade adgang til brugeren med id'et {id}"; + +// line 35 in banlist.class.php +$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' vil tillade alle brugere adgang til dette rum"; + +// line 24 in update.class.php +$GLOBALS["i18n"]["%s quit (timeout)"] = "%s har forladt chatten (tidsgrænse nået)"; + +// line 46 in join.class.php +$GLOBALS["i18n"]["%s joins %s"] = "%s tilslutter til %s"; + +// line 31 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s"] = "udelukket fra %s af %s"; + +// line 38 in send.class.php +$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Kan ikke sende besked, %s er offline"; + +// line 27 in unban.class.php +$GLOBALS["i18n"]["Nobody has been unbanished"] = "Ingen er nægtet adgang"; + +// line 42 in unban.class.php +$GLOBALS["i18n"]["%s has been unbanished"] = "%s er blevet tilladt adgang"; + +// line 49 in unban.class.php +$GLOBALS["i18n"]["%s users have been unbanished"] = "%s brugere er blevet tilladt adgang"; + +// line 47 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Du har ikke tilladelse til at eksekverer '%s' kommandoen"; + +// line 67 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Kan ikke tilslutte til %s fordi du er blevet nægtet adgang"; + +// line 79 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Du har ikke lov til at ændre dit chatnavn"; + +// line 76 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Kan ikke logge ind i %s fordi rummet er privat"; + +// line 56 in noflood.class.php +$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Venligst lad være med at sende så mange beskeder, flood er ikke tolereret"; + +// line 169 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Fejl: '%s' er en privat parameter, du har ikke adgang til at ændre den"; + +// line 253 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s' parameter skal være et array"; + +// line 265 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' parameter skal være en boolean"; + +// line 271 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s' parameter skal være en string af karakterer"; + +// line 395 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' must be writable"] = "'%s' skal være skrivbar"; + +// line 425 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s' filkataloget eksisterer ikke"; + +// line 544 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Please correct these errors"] = "Venligst ret disse fejl"; + +// line 21 in pfcinfo.class.php +$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Fejl: Den gemte konfigfil findes ikke"; + +// 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"] = "Fejl: Chatten kunne ikke startes! To muligheder: Din browser understøtter ikke javascript eller rettighederne til filkatalogerne er forkerte - tøv ikke med at spørge om hjælp på forumet"; + +// line 31 in help.class.php +$GLOBALS["i18n"]["Here is the command list:"] = "Her er kommandolisten:"; + +// line 63 in identify.class.php +$GLOBALS["i18n"]["Succesfully identified"] = "Succesful identifikation"; + +// line 68 in identify.class.php +$GLOBALS["i18n"]["Identification failure"] = "Identifikationsfejl"; + +// line 25 in send.class.php +$GLOBALS["i18n"]["Your must be connected to send a message"] = "Du skal være tilsluttet for at sende en besked"; + +// line 87 in chat.js.tpl.php +$GLOBALS["i18n"]["Click here to send your message"] = "Klik her for at sende din besked"; + +// line 80 in chat.js.tpl.php +$GLOBALS["i18n"]["Enter the text to format"] = "Indtast den tekst der skal formateres"; + +// line 81 in chat.js.tpl.php +$GLOBALS["i18n"]["Configuration has been rehashed"] = "Konfigurationen er blevet rehashed"; + +// line 82 in chat.js.tpl.php +$GLOBALS["i18n"]["A problem occurs during rehash"] = "Der opstår et problem under rehash"; + +// line 83 in chat.js.tpl.php +$GLOBALS["i18n"]["Choosen nickname is allready used"] = "Det valgte chatnavn er allerede i brug"; + +// line 84 in chat.js.tpl.php +$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat nuværende version er %s"; + +// line 85 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "Det maksimale antal login er nået"; + +// line 86 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = "Det maksimale antal af private chats er nået"; + +// line 88 in chat.js.tpl.php +$GLOBALS["i18n"]["Send"] = "Send"; + + +// line 335 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = ""; + +// line 472 in phpfreechat.class.php +$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = ""; + +// line 474 in phpfreechat.class.php +$GLOBALS["i18n"]["Choosen nickname is not allowed"] = ""; + +// line 475 in phpfreechat.class.php +$GLOBALS["i18n"]["Enable sound notifications"] = ""; + +// line 476 in phpfreechat.class.php +$GLOBALS["i18n"]["Disable sound notifications"] = ""; + +// line 23 in kick.class.php +$GLOBALS["i18n"]["no reason"] = ""; + +// line 24 in banlist.class.php +$GLOBALS["i18n"]["The banished user list is:"] = ""; + +// line 39 in banlist.class.php +$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = ""; + +// line 73 in invite.class.php +$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = ""; + +// line 44 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = ""; + +// line 20 in quit.class.php +$GLOBALS["i18n"]["%s quit (%s)"] = ""; + +// line 103 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: connect error"] = ""; + +// line 118 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = ""; + +// line 137 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = ""; + +// line 47 in chat.html.tpl.php +$GLOBALS["i18n"]["Ping"] = ""; + +// line 8 in chat.js.tpl.php +$GLOBALS["i18n"]["Chat loading ..."] = ""; + +// line 8 in chat.js.tpl.php +$GLOBALS["i18n"]["Please wait"] = ""; + +// line 140 in chat.js.tpl.php +$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = ""; + +// line 140 in chat.js.tpl.php +$GLOBALS["i18n"]["This web application requires %s to work properly."] = ""; + +// line 136 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."] = ""; + +// line 138 in chat.js.tpl.php +$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = ""; + +// line 140 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."] = ""; + +?> \ No newline at end of file Modified: trunk/src/pfci18n.class.php =================================================================== --- trunk/src/pfci18n.class.php 2007-02-19 09:11:17 UTC (rev 966) +++ trunk/src/pfci18n.class.php 2007-02-19 09:29:16 UTC (rev 967) @@ -97,7 +97,7 @@ */ function GetAcceptedLanguage($type="main") { - return /*<GetAcceptedLanguage>*/array('ar_LB','bg_BG','de_DE-formal','el_GR','eo','fr_FR','hy_AM','it_IT','ko_KR','nl_NL', 'pt_BR','ru_RU','sv_SE','uk_RO','zh_CN','ba_BA','bn_BD','de_DE-informal','en_US','es_ES','hu_HU','id_ID','ja_JP','nb_NO','pl_PL','pt_PT','sr_CS','tr_TR','uk_UA','zh_TW');/*</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');/*</GetAcceptedLanguage>*/ } /** @@ -118,9 +118,10 @@ closedir($dh); $i18n_accepted_lang_str = "array('" . implode("','", $i18n_accepted_lang) . "');"; $data = file_get_contents(__FILE__); - $data = preg_replace("/\/\*<GetAcceptedLanguage>\*\/(.*)\/\*<\/GetAcceptedLanguage>\*\//", - "/*<GetAcceptedLanguage>*/$i18n_accepted_lang_str/*</GetAcceptedLanguage>*/", + $data = preg_replace("/(\/\*<GetAcceptedLanguage>\*\/)(.*)(\/\*<\/GetAcceptedLanguage>\*\/)/", + "$1".$i18n_accepted_lang_str."$3", $data); + file_put_contents(__FILE__,$data); // Now scan the source code in order to find "_pfc" patterns $files = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |