Summary: | Project Overview misses one file per directory | ||
---|---|---|---|
Product: | [Applications] lokalize | Reporter: | Andrew Coles <andrew.i.coles> |
Component: | general | Assignee: | Nick Shaforostoff <shafff> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrew Coles
2009-11-14 20:34:36 UTC
i don't have this problem on my system. do you have l10n-kde4/templates folder checked out? which kdelibs version do you use? (mine is distro-shipped 4.3.2) Yes, I have templates checked out. kdelibs is version 4.3.3 from kubuntu backports. I'll try it against kdelibs from trunk, in case it's a regression in 4.3.3. Still happens against trunk. The kDebug output includes: lokalize(3763)/KFileMetaInfo KFileMetaInfoPrivate::init: KUrl("file:///media/disk/kde4/src/l10n-kde4/en_GB/messages/qt/phonon_gstreamer.po") lokalize(3763)/KFileMetaInfo KFileMetaInfoPrivate::init: KUrl("file:///media/disk/kde4/src/l10n-kde4/en_GB/messages/qt/kdeqt.po") lokalize(3763)/KFileMetaInfo KFileMetaInfoPrivate::init: KUrl("file:///media/disk/kde4/src/l10n-kde4/en_GB/messages/qt/phonon-xine.po") lokalize(3763)/KFileMetaInfo KFileMetaInfoPrivate::init: KUrl("file:///media/disk/kde4/src/l10n-kde4/en_GB/messages/qt/desktop_phonon.po") lokalize(3763)/KFileMetaInfo KFileMetaInfoPrivate::init: KUrl("file:///media/disk/kde4/src/l10n-kde4/en_GB/messages/qt/libphonon.po") ...for the messages/qt folder, so it is reading meta information for five files in the folder; but only four of them are actually listed (in this case, kdeqt is omitted entirely). Okay, I think I know a bit more about what is going on: - Lokalize from KDE 4.3.3 lists all the files, then gradually fetches stats. If the stats can't be worked out for a file, it's marked in grey. - Lokalize from trunk gradually fetches stats behind the scenes, and only lists each file once its stats have been calculated. *However*, if a files stats can't be worked out, it is never displayed. so the actual request should be to return displaying of files for which strigi analyzer couldn't calculate stats? Yes, only for .po or .pot files, but that would be great :). xmlindexer messages/qt/kdeqt.po | grep translation.total returns duplicated keys: <value name='translation.total'>1220</value> <value name='translation.total'>0</value> (one is obviously erroneous one) i suppose that on your system the order is reversed, so Lokalize gets zero values. unfortunately i don't know how to deal with this. maybe strigi guys could help... *** This bug has been marked as a duplicate of bug 203152 *** |