konversation.po in Lokalize

Burkhard Lück lueck at hube-lueck.de
Thu Oct 1 20:31:36 CEST 2009


Am Donnerstag 01 Oktober 2009 17:00:12 schrieb Frederik Schwarzer:
> Moin,
> 
> bei mir zeigt Lokalize zu extragear-network/konversation.po aus trunk keine
> Statistik an 

Das ist nicht nur bei konversation so, sondern auch bei allen Dateien > 64 k. 
Ich habe hier in branch 4.3 mit dieser Änderung in kdelibs gebaut (stammt aus 
einen BR über Lokalize zu dem Problem:
Index: kdelibs/kio/kio/predicateproperties.cpp
===================================================================
--- kdelibs/kio/kio/predicateproperties.cpp     (Revision 1029574)
+++ kdelibs/kio/kio/predicateproperties.cpp     (Arbeitskopie)
@@ -120,7 +120,9 @@
        * This setting is needed because by default all subfiles are examined.
        **/
      int64_t maximalStreamReadLength(const Strigi::AnalysisResult& ar) {
-         // 64k should be enough
+         // 64k should be enough, but it is not for po files
+         if (ar.extension().compare("po") == 0)
+             return -1; // No maximum
          return (ar.depth() == 0) ?65536 :0;
      }
 };

Das hatten wir doch schon mal in der vorigen Generation mit " 640 kB ought to 
be enough for anybody." :-)

> und allgemein habe ich keinen Diff mehr, wenn ich eine Datei
> bearbeite. In den "Ansichten" finde ich auch nichts entsprechendes. Fällt
> dazu jemanden etwas ein?
> 
> Ich verwende das Debian-Paket für KDE 4.3.1 und habe alle "Recommends" und
> "Suggests" installiert.
> 
Kubuntu 904, zusätzlich in sources.list:
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu jaunty main
deb http://ppa.launchpad.net/kubuntu-ppa/staging/ubuntu jaunty main
Auch hier der 64k Fehler, aber ich habe Diffs.

In trunk + branch 4.3 (beides mit Patch s. o.) alles ok.

-- 
Burkhard Lück


More information about the kde-i18n-de mailing list