On Wednesday, 16. January 2008, Albert Astals Cid wrote:
> A Dilluns 14 Gener 2008, Kåre Särs va escriure:
> > Hi,
> >
> > I think libksane is featurewise quite close to a
first release. I have some
> > things tho that I'm not sure of yet.
> >
> > 1) Most strings for the sane options come from
libsane. What is the best
> > way to get translations for strings coming from
non KDE libraries?
>
> Is the libsane library translatable? If so, you could
motivate KDE translators
> to translate it, if not, if the messages are known
beforehand you should
> create a dummy.cpp file with
> I18N_NOOP("foo");
> I18N_NOOP("bar");
> and then call i18n() on the string returned by
libsane.
>
> If strings can not be translated in libsane nor they
can not be known
> beforehand there's nothing you can do and you should
contact sane people to
> get into the future and provide a way to translate
their messages.
Ah, this reminds me: Does cmake include the API major
number into the
name of library translations? As different
lib<whatver>.so.<major> should
be installable in parallel, so should be
lib<whatever>-<major>.po.
Achim
>
> Albert
>
> >
> > 2) With the current API it is not possible to get
the DPI info. Would a
> > function call returning the current DPI be OK?
(called in the slot of
> > imageReady(...) )
> >
> > /Kåre
> >
> > _______________________________________________
> > Kde-extra-gear mailing list
> > Kde-extra-gear kde.org
> >
https://mail.kde.org/mailman/listinfo/kde-extra-gear
>
>
> _______________________________________________
> Kde-extra-gear mailing list
> Kde-extra-gear kde.org
>
https://mail.kde.org/mailman/listinfo/kde-extra-gear
>
>
--
To me vi is Zen. To use vi is to practice zen. Every
command is
a koan. Profound to the user, unintelligible to the
uninitiated.
You discover truth everytime you use it.
-- reddy lion.austin.ibm.com
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gear kde.org
https://mail.kde.org/mailman/listinfo/kde-extra-gear
|