cvs: doc-editor /js main.js

From: Date: Sun, 03 May 2009 21:28:42 +0000
Subject: cvs: doc-editor /js main.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3945@lists.php.net to get a copy of this message
yannick Sun May 3 21:28:42 2009 UTC Modified files: /doc-editor/js main.js Log: - fix path in 'Open the same file in...' functionnality - uppercase the LANG libel in 'Open the same file in...' functionnality http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.56&r2=1.57&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.56 doc-editor/js/main.js:1.57 --- doc-editor/js/main.js:1.56 Sun May 3 07:04:43 2009 +++ doc-editor/js/main.js Sun May 3 21:28:42 2009 @@ -43,7 +43,7 @@ userLang: '', appName: 'PhpDocumentation Online Editor', appVer: '0.2', - uiRevision: '$Revision: 1.56 $', + uiRevision: '$Revision: 1.57 $', userConf: { 'conf_needupdate_diff': 'using-exec', @@ -6800,12 +6800,12 @@ FilePath = t.join('/') + '/'; if( FileLang === 'en' ) { - OtherFileLibel = String.format(_('Open the same file in <b>{0}</b>'), this.userLang); - OtherFilePath = this.userLang+FilePath; + OtherFileLibel = String.format(_('Open the same file in <b>{0}</b>'), Ext.util.Format.uppercase(this.userLang)); + OtherFilePath = this.userLang+'/'+FilePath; } else { - OtherFileLibel = String.format(_('Open the same file in <b>{0}</b>'), 'en'); - OtherFilePath = 'en'+FilePath; + OtherFileLibel = String.format(_('Open the same file in <b>{0}</b>'), 'EN'); + OtherFilePath = 'en/'+FilePath; } OtherFileSubMenu = {

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