src/eric7/Preferences/ToolConfigurationDialog.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9473
3f23dbf37dbe
child 9624
b47dfa7a137d
equal deleted inserted replaced
9575:635b6c5a36e1 9576:be9f8e7e42e0
98 if not executable: 98 if not executable:
99 EricMessageBox.critical( 99 EricMessageBox.critical(
100 self, 100 self,
101 self.tr("Add tool entry"), 101 self.tr("Add tool entry"),
102 self.tr( 102 self.tr(
103 "You have to set an executable to add to the" " Tools-Menu first." 103 "You have to set an executable to add to the Tools-Menu first."
104 ), 104 ),
105 ) 105 )
106 return 106 return
107 107
108 if not menutext: 108 if not menutext:
166 if not executable: 166 if not executable:
167 EricMessageBox.critical( 167 EricMessageBox.critical(
168 self, 168 self,
169 self.tr("Change tool entry"), 169 self.tr("Change tool entry"),
170 self.tr( 170 self.tr(
171 "You have to set an executable to change the" " Tools-Menu entry." 171 "You have to set an executable to change the Tools-Menu entry."
172 ), 172 ),
173 ) 173 )
174 return 174 return
175 175
176 if not menutext: 176 if not menutext:

eric ide

mercurial