[Phpfreechat-svn] SF.net SVN: phpfreechat: [1044] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-06-30 20:43:16
|
Revision: 1044 http://svn.sourceforge.net/phpfreechat/?rev=1044&view=rev Author: kerphi Date: 2007-06-30 13:43:19 -0700 (Sat, 30 Jun 2007) Log Message: ----------- When closing private chat the popup mesage was not explicite Modified Paths: -------------- trunk/data/public/js/pfcgui.js trunk/src/pfci18n.class.php trunk/src/phpfreechat.class.php Modified: trunk/data/public/js/pfcgui.js =================================================================== --- trunk/data/public/js/pfcgui.js 2007-06-30 20:40:38 UTC (rev 1043) +++ trunk/data/public/js/pfcgui.js 2007-06-30 20:43:19 UTC (rev 1044) @@ -254,7 +254,9 @@ a2.pfc_tabname = name; a2.pfc_tabtype = type; a2.onclick = function(){ - var res = confirm(pfc.res.getLabel('Do you really want to leave this room ?')); + var msg = (type == 'pv' ? 'Are you sure you want to close this tab ?' : + 'Do you really want to leave this room ?'); + var res = confirm(pfc.res.getLabel(msg)); if (res == true) pfc.sendRequest('/leave',this.pfc_tabid); return false; Modified: trunk/src/pfci18n.class.php =================================================================== --- trunk/src/pfci18n.class.php 2007-06-30 20:40:38 UTC (rev 1043) +++ trunk/src/pfci18n.class.php 2007-06-30 20:43:19 UTC (rev 1044) @@ -103,7 +103,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','nn_NO','vi_VN','hr_HR');/*</GetAcceptedLanguage>*/ + return /*<GetAcceptedLanguage>*/array('ar_LB','sv_SE','uk_RO','ja_JP','ba_BA','pt_PT','el_GR','tr_TR','nb_NO','zh_TW','ru_RU','hy_AM','fr_FR','es_ES','bg_BG','zh_CN','nl_NL','eo','bn_BD','uk_UA','de_DE-informal','pl_PL','pt_BR','it_IT','id_ID','hu_HU','en_US','sr_CS','de_DE-formal','ko_KR','da_DK','nn_NO','vi_VN','hr_HR');/*</GetAcceptedLanguage>*/ } /** Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2007-06-30 20:40:38 UTC (rev 1043) +++ trunk/src/phpfreechat.class.php 2007-06-30 20:43:19 UTC (rev 1044) @@ -411,6 +411,7 @@ $labels_to_load = array( "Do you really want to leave this room ?", // _pfc + "Are you sure you want to close this tab ?", // _pfc "Hide nickname marker", // _pfc "Show nickname marker", // _pfc "Hide dates and hours", // _pfc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |