Word count issue for .rc files in Passolo

Hi,
I want to calculate the word count of the Pre-translated 100% match strings in a macro:
----------------------------------------------------------------------------------------------
WPre100 =0
For Each trnlst In prj.TransLists
    For i = 1 To trnlst.StringCount
            If trnlst.String(i).State(pslStateAutoTranslated) And trnlst.String(i).Property(pslPropMatchRate) = 100 Then
            WPre100 = WPre100 + trnlst.String(i).GetSourceTextCounts().WordCount

           End If
         Next i
Next trnlst
----------------------------------------------------------------------------------------------
that works fine if the source files are not .rc files. The calculation is not correct only for .rc files. there are some invisible strings in .rc files are also included into Pre-translated strings, for example: the Font string - "MS Shell Dlg".
What wrong? Is that a Passolo RC parser bug?

Parents Reply Children
No Data