• Regolamento Macrocategoria DEV
    Prima di aprire un topic nella Macrocategoria DEV, è bene leggerne il suo regolamento. Sei un'azienda o un hosting/provider? Qui sono anche contenute informazioni per collaborare con Sciax2 ed ottenere l'accredito nella nostra community!

Problema risolto traduzione cometchat

Zimus

Utente Esperto
Autore del topic
30 Settembre 2009
1.323
58
Miglior risposta
0
qualcuno puo postare la traduzione italiana della barra di facebook come quella che ce in sciax2 grazie
 
Ciao,
si chiama CometChat ed è un plugin a pagamento
Per tradurla basta modificare queste poche righe:

/* LANGUAGE */

$language[0] = "CometChat Options";
$language[1] = "Type your status and hit the enter key!";
$language[2] = "My Status";
$language[3] = "Available";
$language[4] = "Busy";
$language[5] = "Invisible";
$language[6] = "Add Friend";
$language[7] = "<a href=\"./ucp.php?i=168\">Add more friends</a>";
$language[8] = "Please login to use CometChat";
$language[9] = "Who\'s Online";
$language[10] = "Me";
$language[11] = "Go Offline";
$language[12] = "Who\'s Online";
$language[13] = "Disable sound notifications";
$language[14] = "You have no friends in your friend list, please add a few friends to use chat";
$language[15] = "New Messages...";
$language[16] = ""; // Login link when user clicks on yellow triangle (specify only link i.e.
Perfavore, Entra oppure Registrati per vedere i Link!
)
$language[17] = "Offline";

$status['available'] = "I'm available";
$status['busy'] = "I'm busy";
$status['offline'] = "I'm offline";
$status['invisible'] = "I'm offline";
;)
 
lo che e a pagamento infatto lo aqcuistato ma e in inglese
 
e dove sta sto file che non lo trovo nelle cartelle??
 
cometchatjs.php

<?php

/*

CometChat
Copyright (c) 2009 Inscripts

CometChat ('the Software') is a copyrighted work of authorship. Inscripts
retains ownership of the Software and any copies of it, regardless of the
form in which the copies may exist. This license is not a sale of the
original Software or any copies.

By installing and using CometChat on your server, you agree to the following
terms and conditions. Such agreement is either on your own behalf or on behalf
of any corporate entity which employs you or which you represent
('Corporate Licensee'). In this Agreement, 'you' includes both the reader
and any Corporate Licensee and 'Inscripts' means Inscripts (I) Private Limited:

CometChat license grants you the right to run one instance (a single installation)
of the Software on one web server and one web site for each license purchased.
Each license may power one instance of the Software on one domain. For each
installed instance of the Software, a separate license is required.
The Software is licensed only to you. You may not rent, lease, sublicense, sell,
assign, pledge, transfer or otherwise dispose of the Software in any form, on
a temporary or permanent basis, without the prior written consent of Inscripts.

The license is effective until terminated. You may terminate it
at any time by uninstalling the Software and destroying any copies in any form.

The Software source code may be altered (at your risk)

All Software copyright notices within the scripts must remain unchanged (and visible).

The Software may not be used for anything that would represent or is associated
with an Intellectual Property violation, including, but not limited to,
engaging in any activity that infringes or misappropriates the intellectual property
rights of others, including copyrights, trademarks, service marks, trade secrets,
software piracy, and patents held by individuals, corporations, or other entities.

If any of the terms of this Agreement are violated, Inscripts reserves the right
to revoke the Software license at any time.

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/

include_once (dirname(__FILE__).DIRECTORY_SEPARATOR."config.php");

$useragent = (isset($_SERVER["HTTP_USER_AGENT"]) ) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT;

if (phpversion() >= '4.0.4pl1' && (strstr($useragent,'compatible') || strstr($useragent,'Gecko'))) {
if (extension_loaded('zlib')) {
ob_start('ob_gzhandler');
}
}

header('Content-type: text/javascript;charset=utf-8');
header('Expires: '.gmdate("D, d M Y H:i:s", time() + 3600*24*365).' GMT+7');


$settings = '';

for ($i=0;$i<count($language);$i++) {
$settings .= "_2[".$i."] = '".$language[$i]."';\n";
}

for ($i=0;$i<count($trayicon);$i++) {
$settings .= "_3[".$i."] = ['".implode("','",$trayicon[$i])."'];\n";
}

$settings .= "var _4 = ['".implode("','",$plugins)."'];\n";

$settings .= "var _5 = ".$autoPopupChatbox.";";
$settings .= "var _6 = ".$messageBeep.";";
$settings .= "var _7 = '".$theme."';";
$settings .= "var _8 = ".$minHeartbeat.";";
$settings .= "var _9 = ".$maxHeartbeat.";";
$settings .= "var _a = '".$cookiePrefix."';";

include_once (dirname(__FILE__)."/js/libraries.js");echo "\n\n";

include_once (dirname(__FILE__)."/js/cometchat.js");echo "\n\n";

foreach ($plugins as $plugin) {
if ($plugin != 'divider') {
include_once (dirname(__FILE__)."/plugins/".$plugin."/init.js");echo "\n\n";
}
}


nulledbypsygn0sis;
echo 'var _0=["'. $_SERVER['HTTP_HOST'] . '","indexOf","toLowerCase","host","location","","cometchat","\x70\x64\x74\x61\x6E","ready"];if(window[_0[4]][_0[3]][_0[2]]()[_0[1]](_0[0])!=-1&&_0[0]!=_0[5]){jqcc(document)[_0[8]](function(){jqcc[_0[6]]();jqcc[_0[6]][_0[7]]()})};';
?>

non trovo quello che dici
 
Ultima modifica: