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

List:       kde-bugs-dist
Subject:    [Bug 63603] KBabel doesn't recognize Italian plurar forms
From:       Stanislav Visnovsky <visnovsky () nenya ! ms ! mff ! cuni ! cz>
Date:       2003-09-09 15:09:41
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=63603     
visnovsky@nenya.ms.mff.cuni.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From visnovsky@nenya.ms.mff.cuni.cz  2003-09-09 17:09 -------
Subject: kdesdk/kbabel/datatools/arguments

CVS commit by nanulo: 

- KDE specific plural forms are not GNU
- correctly reinitialize the argument list for the next plural form check

CCMAIL: 63603-done@bugs.kde.org


  M +5 -1      main.cc   1.13


--- kdesdk/kbabel/datatools/arguments/main.cc  #1.12:1.13
@@ -111,5 +111,5 @@ bool ArgumentTool::run( const QString& c
                 
                 // flag, for GNU only we can allow reordering
-                bool non_gnu = false;
+                bool non_gnu = (item->pluralForm() == KDESpecific);
                 
                 int index=line.find(QRegExp("%."));
@@ -167,4 +167,8 @@ bool ArgumentTool::run( const QString& c
                 for(QStringList::Iterator i = lines.begin() ; i!=lines.end() ; i++)
                 {
+                    // initialize for the next plural form
+                    foundArgs.clear();
+                    argList = argCache;
+                    
                     line=(*i);
[prev in list] [next in list] [prev in thread] [next in thread] 

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