[Digikam-devel] Trying to translate Flickr
Vardhman Jain
vardhman at gmail.com
Tue Aug 23 22:09:09 BST 2005
On 24/08/05, Oliver Dörr <oliver at doerr-privat.de> wrote:
> Hi,
>
> regarding the server and his answers.
>
> There are no words for read, write and delete in the .po file. So i think
> that we need a little trick to get them there. I believe that the code is
> simply saving the answer of the server inside a variable. So what we need is
> code like
>
> if (server_return == "Write")
> {server_return=i10n("Write");} // Is i10n still the
> function for the strings to be translated?
>
simply
QString server_return=i10n(server_return) ;//if i10n exists
or tr() should do. If cases are really required, I guess.
Vardhman
--
Blogs: http://vardhman.blogspot.com
More information about the Digikam-devel
mailing list