@@ -139,30 +139,29 @@ def __init__(self, Dialog):
139139 self .verticalLayout_main .addWidget (self .pushButton_create_image_sequence )
140140
141141
142- self .retranslateUi (Dialog )
142+ self .setTexts (Dialog )
143143
144144 QMetaObject .connectSlotsByName (Dialog )
145145 # setupUi
146146
147- def retranslateUi (self , Dialog ):
148- Dialog .setWindowTitle (QCoreApplication .translate ("Dialog" , u"Dialog" , None ))
149- self .groupBox_input .setTitle (QCoreApplication .translate ("Dialog" , u"Input" , None ))
150- self .label_video_file .setText (QCoreApplication .translate ("Dialog" , u"Video File" , None ))
151- self .pushButton_fileExplorer_input .setText (QCoreApplication .translate ("Dialog" , u"Open..." , None ))
152- self .groupBox_trim .setTitle (QCoreApplication .translate ("Dialog" , u"Trimming" , None ))
153- self .label_start_trim .setText (QCoreApplication .translate ("Dialog" , u"Start" , None ))
154- self .label_end_trim .setText (QCoreApplication .translate ("Dialog" , u"End" , None ))
155- self .groupBox_output .setTitle (QCoreApplication .translate ("Dialog" , u"Output" , None ))
156- self .label_frameRate .setText (QCoreApplication .translate ("Dialog" , u"Target Frame Rate" , None ))
157- self .checkBox_imagePlane .setText (QCoreApplication .translate ("Dialog" , u"Create Image Plane" , None ))
158- self .label_output_directory .setText (QCoreApplication .translate ("Dialog" , u"Output Directory" , None ))
159- self .pushButton_fileExplorer_output .setText (QCoreApplication .translate ("Dialog" , u"Open..." , None ))
160- self .label .setText (QCoreApplication .translate ("Dialog" , u"Sequence File Name" , None ))
161- self .comboBox .setItemText (0 , QCoreApplication .translate ("Dialog" , u".jpg" , None ))
162- self .comboBox .setItemText (1 , QCoreApplication .translate ("Dialog" , u".png" , None ))
163-
164- self .label_2 .setText (QCoreApplication .translate ("Dialog" , u"File Extension" , None ))
165- self .pushButton_create_image_sequence .setText (QCoreApplication .translate ("Dialog" , u"Create Image Sequence" , None ))
147+ def setTexts (self , Dialog ):
148+ Dialog .setWindowTitle (u"Reference Importer v1.1" )
149+ self .groupBox_input .setTitle (u"Input" )
150+ self .label_video_file .setText (u"Video File" )
151+ self .pushButton_fileExplorer_input .setText (u"Open..." )
152+ self .groupBox_trim .setTitle (u"Trimming" )
153+ self .label_start_trim .setText (u"Start" )
154+ self .label_end_trim .setText (u"End" )
155+ self .groupBox_output .setTitle (u"Output" )
156+ self .label_frameRate .setText (u"Target Frame Rate" )
157+ self .checkBox_imagePlane .setText (u"Create Image Plane" )
158+ self .label_output_directory .setText (u"Output Directory" )
159+ self .pushButton_fileExplorer_output .setText (u"Open..." )
160+ self .label .setText (u"Sequence File Name" )
161+ self .comboBox .setItemText (0 , u".jpg" )
162+ self .comboBox .setItemText (1 , u".png" )
163+ self .label_2 .setText (u"File Extension" )
164+ self .pushButton_create_image_sequence .setText (u"Create Image Sequence" )
166165 # retranslateUi
167166
168167
0 commit comments