Re: Bug #55358 [Com]: Wrong error warning
| From: | Александр Москалёв | Date: | Wed, 07 Sep 2011 05:39:24 +0000 |
| Subject: | Re: Bug #55358 [Com]: Wrong error warning | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969383185@lists.php.net to get a copy of this message | ||
Yannick, I attached file to this mail.
It's without compressed files.
With regards, Alexander Moskaliov
Irker@irker.net
2011/9/7 Yannick Torrès <yannick.torres@gmail.com>:
> Hi Irker,
> Could you please provide us the content of this patch ?
> After review it, you can directly commit it into trunk.
> Best,
> Yannick
Index: js/ui/cmp/NotInENGrid.js =================================================================== --- js/ui/cmp/NotInENGrid.js (revision 316255) +++ js/ui/cmp/NotInENGrid.js (working copy) @@ -192,6 +192,7 @@ fid : FileID, fpath : FilePath, fname : FileName, + original : true, readOnly : true, lang : PhDOE.user.lang, parser : 'xml', Index: js/ui/cmp/PendingTranslateGrid.js =================================================================== --- js/ui/cmp/PendingTranslateGrid.js (revision 316255) +++ js/ui/cmp/PendingTranslateGrid.js (working copy) @@ -274,6 +274,7 @@ fid: FileID, fpath: FilePath, fname: FileName, + original: true, readOnly: true, lang: 'en', parser: 'xml', Index: js/ui/cmp/PendingReviewGrid.js =================================================================== --- js/ui/cmp/PendingReviewGrid.js (revision 316255) +++ js/ui/cmp/PendingReviewGrid.js (working copy) @@ -387,8 +387,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FNR', ftype: 'EN', - spellCheck: PhDOE.user.conf.reviewed.enableSpellCheckEn, - spellCheckConf: { module : 'reviewed', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/cmp/StaleFileGrid.js =================================================================== --- js/ui/cmp/StaleFileGrid.js (revision 316255) +++ js/ui/cmp/StaleFileGrid.js (working copy) @@ -395,8 +395,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FNU', ftype: 'EN', - spellCheck: PhDOE.user.conf.needUpdate.enableSpellCheckEn, - spellCheckConf: { module : 'needUpdate', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/cmp/FilePanel.js =================================================================== --- js/ui/cmp/FilePanel.js (revision 316255) +++ js/ui/cmp/FilePanel.js (working copy) @@ -508,7 +508,7 @@ //------------------------------------------------------------------------------ // FilePanel // config - { -// id, title, prefix, ftype {'EN' | 'LANG'}, +// id, title, prefix, original, ftype {'EN' | 'LANG'}, // fid, fpath, fname, lang, // readOnly, indicate this file is readonly // isTrans pendingTranslate file config @@ -886,6 +886,7 @@ new ui.task.GetFileTask({ prefix : this.prefix, ftype : this.ftype, + original : this.original, fid : this.fid, fpath : herePath, freadOnly: this.readOnly, Index: js/ui/cmp/ErrorFileGrid.js =================================================================== --- js/ui/cmp/ErrorFileGrid.js (revision 316255) +++ js/ui/cmp/ErrorFileGrid.js (working copy) @@ -317,8 +317,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FE', ftype: 'EN', - spellCheck: PhDOE.user.conf.error.enableSpellCheckEn, - spellCheckConf: { module : 'error', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/task/GetFileTask.js =================================================================== --- js/ui/task/GetFileTask.js (revision 316255) +++ js/ui/task/GetFileTask.js (working copy) @@ -1,12 +1,12 @@ Ext.namespace('ui','ui.task'); -// config - { prefix, ftype, fid, fpath, fname } +// config - { prefix, original, ftype, fid, fpath, fname } ui.task.GetFileTask = function(config) { Ext.apply(this, config); var id_prefix = this.prefix + '-' + this.ftype, - readOriginal = ( this.ftype === 'NotInEN') ? true : false, + readOriginal = ( this.original ) ? true : false, ggTranslate = ( this.ftype === 'GGTRANS' ) ? true : false, skeleton = ( this.ftype === 'NEW' ) ? this.skeleton : false;
Index: js/ui/cmp/NotInENGrid.js =================================================================== --- js/ui/cmp/NotInENGrid.js (revision 316255) +++ js/ui/cmp/NotInENGrid.js (working copy) @@ -192,6 +192,7 @@ fid : FileID, fpath : FilePath, fname : FileName, + original : true, readOnly : true, lang : PhDOE.user.lang, parser : 'xml', Index: js/ui/cmp/PendingTranslateGrid.js =================================================================== --- js/ui/cmp/PendingTranslateGrid.js (revision 316255) +++ js/ui/cmp/PendingTranslateGrid.js (working copy) @@ -274,6 +274,7 @@ fid: FileID, fpath: FilePath, fname: FileName, + original: true, readOnly: true, lang: 'en', parser: 'xml', Index: js/ui/cmp/PendingReviewGrid.js =================================================================== --- js/ui/cmp/PendingReviewGrid.js (revision 316255) +++ js/ui/cmp/PendingReviewGrid.js (working copy) @@ -387,8 +387,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FNR', ftype: 'EN', - spellCheck: PhDOE.user.conf.reviewed.enableSpellCheckEn, - spellCheckConf: { module : 'reviewed', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/cmp/StaleFileGrid.js =================================================================== --- js/ui/cmp/StaleFileGrid.js (revision 316255) +++ js/ui/cmp/StaleFileGrid.js (working copy) @@ -395,8 +395,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FNU', ftype: 'EN', - spellCheck: PhDOE.user.conf.needUpdate.enableSpellCheckEn, - spellCheckConf: { module : 'needUpdate', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/cmp/FilePanel.js =================================================================== --- js/ui/cmp/FilePanel.js (revision 316255) +++ js/ui/cmp/FilePanel.js (working copy) @@ -508,7 +508,7 @@ //------------------------------------------------------------------------------ // FilePanel // config - { -// id, title, prefix, ftype {'EN' | 'LANG'}, +// id, title, prefix, original, ftype {'EN' | 'LANG'}, // fid, fpath, fname, lang, // readOnly, indicate this file is readonly // isTrans pendingTranslate file config @@ -886,6 +886,7 @@ new ui.task.GetFileTask({ prefix : this.prefix, ftype : this.ftype, + original : this.original, fid : this.fid, fpath : herePath, freadOnly: this.readOnly, Index: js/ui/cmp/ErrorFileGrid.js =================================================================== --- js/ui/cmp/ErrorFileGrid.js (revision 316255) +++ js/ui/cmp/ErrorFileGrid.js (working copy) @@ -317,8 +317,8 @@ title: _('en File: ') + FilePath + FileName, prefix: 'FE', ftype: 'EN', - spellCheck: PhDOE.user.conf.error.enableSpellCheckEn, - spellCheckConf: { module : 'error', itemName : 'enableSpellCheckEn' }, + original: true, + readOnly: true, fid: FileID, fpath: FilePath, fname: FileName, Index: js/ui/task/GetFileTask.js =================================================================== --- js/ui/task/GetFileTask.js (revision 316255) +++ js/ui/task/GetFileTask.js (working copy) @@ -1,12 +1,12 @@ Ext.namespace('ui','ui.task'); -// config - { prefix, ftype, fid, fpath, fname } +// config - { prefix, original, ftype, fid, fpath, fname } ui.task.GetFileTask = function(config) { Ext.apply(this, config); var id_prefix = this.prefix + '-' + this.ftype, - readOriginal = ( this.ftype === 'NotInEN') ? true : false, + readOriginal = ( this.original ) ? true : false, ggTranslate = ( this.ftype === 'GGTRANS' ) ? true : false, skeleton = ( this.ftype === 'NEW' ) ? this.skeleton : false;