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

List:       kde-extra-gear
Subject:    Re: [Kde-extra-gear] libksane release getting closer
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2008-01-15 23:09:49
Message-ID: 200801160009.49775.aacid () kde ! org
[Download RAW message or body]

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.

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

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

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