[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/kbabel
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2006-02-07 21:06:32
Message-ID: 1139346392.641570.7572.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 506906 by goutte:

Fix loading of PO files with recoverable errors in header:
- fix error messages displayed after opening the file.
  (A same error variable cannot be at the same time on one side HEADER_ERROR
  and on the other either OK or RECOVERED_ERROR).
- use KMessagebox::sorry for recovered errors
- rename the error HEADER_ERROR to RECOVERED_HEADER_ERROR
  (old name kept for source compatibility)
- return the new error NO_ENTRY_ERROR if the load does not result with at
  least one entry.
- opening a template needs to be similar than loading a file
  (except that recovered errors are not accepted)
- at level of the import plugin baic class, recognize RECOVERED_HEADER_ERROR
  as an positive state
BUG:117968
(This fixes the bug #117968. The extra data is considered now to be
a RECOVERED_HEADER_ERROR.)


 M  +22 -10    common/catalog.cpp  
 M  +19 -12    common/catalogfileplugin.h  
 M  +1 -1      common/importplugin.cpp  
 M  +7 -2      filters/gettext/gettextimport.cpp  
 M  +30 -49    kbabel/kbabelview.cpp  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic