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

List:       koffice-devel
Subject:    Re: KStdAction and string borrowing
From:       David Faure <faure () kde ! org>
Date:       2005-05-27 8:26:49
Message-ID: 200505271026.51577.faure () kde ! org
[Download RAW message or body]

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?

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
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