Problem with i18n("")
Martin Piskernig
martin.piskernig at stuwo.at
Thu Oct 7 12:50:17 BST 1999
Am Thu, 07 Oct 1999 schrieben Sie:
> Hello,
>
> i designed a dialog using the KDevelop dialog editor. There a some entry
> fields, which are empty. KDevelops code generation inits this fields with
> i18("").
> Now i tried to add the german language to my program. After make and make
> install and starting the program i got a badly looking dialog. All entry
> fields, which should be empty, are filled with "project id...".
> After trying to change i18n("") to i18n("something") or deleting this
> statement, the fields are really empty.
> So i thing, i have problems to translate i18n("") statements correctly.
>
> Do you know this problem and have you an idea to fix it ?
>
> Thanks, Henning
Hi!
If the widget you have inserted has a method setText(), just do a setText("")
(without the i18n() ) if you want to have an empty field. Or, a dirty trick ;-),
use setText(i18n(" ")) (with one or more spaces between the brackets) :-)
Martin
More information about the KDevelop
mailing list