Re: [qet] Message windows Translation

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Le lundi 13 mai 2013 10:34:34 silvio a écrit :
> Il 12/05/2013 20:20, laurent T ha scritto:
> > Le dimanche 12 mai 2013 19:25:14 silvio a écrit :
> >> Il 12/05/2013 15:11, laurent T ha scritto:
> >>> Le samedi 11 mai 2013 22:44:46 silvio a écrit :
> >>>> I do not know how to translate the texts (that appear in the dialogue
> >>>> windows)as "save" "cancel" and "close without saving" in Italian.. Are
> >>>> not in the file qet_it.
> >>>> can I translate them?
> >>>> 
> >>>> thank you very much
> >>>> Silvio
> >>>> 
> >>>> ps Alessandro Conti (past official italian translator) is no more an
> >>>> active member.
> >>> 
> >>> Hi Silvio,
> >>> 
> >>> I don't find any "close without saving" in the code, can you put a
> >>> attached
> >>> screen of windows, or source code file?
> >> 
> >> you can see in the attached images (I think it is a dialog of QT system)
> >> I had written that I could not find those words in the file ts
> >> 
> >>> maybe the tag "tr"is not set for this dialog button.
> >>> Ps: I refreshed TS file in revision 2154
> >>> 
> >>> Regards
> >>> laurent T
> >> 
> >> I have ver. 2153, but it is one thing that I noticed from the beginning.
> >> 
> >> Silvio
> > 
> > This dialog_buttons is not translated in Qet, just by your system Qt local
> > ( qt_*.{ts,qm})
> > 
> > If i run Qet in italian locale, i have this : see attached screen
> > laurent@debian:~$ LANG=it_IT qelectrotech
> :
> :-( I can't understand :-(
> 
> in usr/share/qelectrotech/lang I have the attached qt_it.ts and qt_it..qm
> but the text "close without saving", etc are already translated.
> You know where I'm wrong?
> Thanks for anyone help me
> 
> Silvio
in usr/share/qelectrotech/lang I have the attached qt_it.ts and qt_it.qm -> is 
not Qet file !
When i package debian Qet i don't install qt_it.ts and qt_it, just qet_it.ts 
and qet_it.qm in your usr/share/qelectrotech/lang


And the code at closediagramdialog this :

	buttons_ = new QDialogButtonBox(QDialogButtonBox::Save | 
QDialogButtonBox::Discard | QDialogButtonBox::Cancel);
	connect(buttons_, SIGNAL(clicked(QAbstractButton *)), this, 
SLOT(storeAnswer(QAbstractButton *)));

This buttons dialog are translated by your libqt4 files installed, not by Qet



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/