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

List:       koffice-devel
Subject:    Re: KStdAction and string borrowing
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-05-27 8:33:24
Message-ID: 200505271033.26178.coolo () kde ! org
[Download RAW message or body]

On Friday 27 May 2005 10:26, David Faure wrote:
> On Friday 27 May 2005 08:31, Thomas Zander wrote:
> > On Thursday 26 May 2005 23:47, David Faure wrote:
> > > Yes, I think you can, kdelibs.po is certainly loaded in all KDE apps.
> >
> > Hmm, I'm a rooky to the KDE-i18n stuff; but it seems like adding a string
> > in app X will try to translate that using X.po; which is what you want
> > for most cases anyway.  Does scripty allow for fall-back?
>
> This isn't about scripty, it's about KLocale() (called by i18n), looking up
> the translation for a string at runtime. KLocale certainly can't know which
> code is calling it.
>
> OTOH I wonder why we often only looked into kde.po (the few very common
> strings) when wondering whether to add a new string without breaking a
> freeze, and not in kdelibs.po... Or do I remember that wrong?
kde.pot is about strings being in X but not in X.po - kdelibs.po is about 
strings not in X at all. If you put the string in krita, it will appear 
translated as David said, but it will also appear in X.po. You're technically
breaking the message freeze as you create work for translators. You're
not creating a real problem though - communication can fix the rest.
_OR_ you write a little perl script that copies the string from */kdelibs.po
to */krita.po.

Greetings, Stephan

-- 
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Py'guapy 평화
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

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

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