cvs: doc-editor /js main.js /js/locale fr.js

From: Date: Thu, 16 Apr 2009 20:24:00 +0000
Subject: cvs: doc-editor /js main.js /js/locale fr.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3763@lists.php.net to get a copy of this message
yannick Thu Apr 16 20:24:00 2009 UTC Modified files: /doc-editor/js/locale fr.js /doc-editor/js main.js Log: # small i18n issue # warn if we try to close a tab without saving modifications on AllFiles module http://cvs.php.net/viewvc.cgi/doc-editor/js/locale/fr.js?r1=1.4&r2=1.5&diff_format=u Index: doc-editor/js/locale/fr.js diff -u doc-editor/js/locale/fr.js:1.4 doc-editor/js/locale/fr.js:1.5 --- doc-editor/js/locale/fr.js:1.4 Thu Apr 16 20:11:00 2009 +++ doc-editor/js/locale/fr.js Thu Apr 16 20:24:00 2009 @@ -110,7 +110,7 @@ i18n["update in progress..."] = "Mise en jour en cours..."; i18n["Verify if there is an update in progress. Please, wait..."] = "Vérification de l\'état de la mise à jour. Merci de patienter..."; i18n["There is currently an update in progress.<br/>You can\'t perform an update now."] = "Il y a actuellement une mise à jour en cours.<br/>Vous ne pouvez pas l\'effectuer maintenant"; -i18n[""] = ""; +i18n["in {0}"] = "dans le dossier {0}"; i18n[""] = ""; i18n[""] = ""; http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.35&r2=1.36&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.35 doc-editor/js/main.js:1.36 --- doc-editor/js/main.js:1.35 Thu Apr 16 20:15:15 2009 +++ doc-editor/js/main.js Thu Apr 16 20:24:00 2009 @@ -1697,7 +1697,7 @@ PanType = tab.id.split('-'); - if ((PanType[0] === 'FE' || PanType[0] === 'FNU' || PanType[0] === 'FNR' || PanType[0] === 'PP') && PanType[1] !== 'help') { + if ((PanType[0] === 'FE' || PanType[0] === 'FNU' || PanType[0] === 'FNR' || PanType[0] === 'PP' || PanType[0] === 'AF') && PanType[1] !== 'help') { if (PanType[0] === 'FE') { stateLang = Ext.getCmp('FE-' + PanType[1]).isModifiedLang; @@ -1723,6 +1723,10 @@ state = Ext.getCmp('PP-PATCH-' + PanType[1]).isModified; } + if (PanType[0] === 'AF') { + state = Ext.getCmp('AF-FILE-' + PanType[1]).isModified; + } + if (stateEn || stateLang || state) { Ext.Msg.show({ @@ -6742,7 +6746,7 @@ closable: true, title: FileName, originTitle: FileName, - tabTip: 'in ' + FilePath, + tabTip: String.format(_('in {0}'), FilePath), iconCls: 'AllFiles', id: 'AF-' + FileID, layout: 'border',

« previous php.doc.cvs (#3763) next »