- removed the enforced ActivityView width
- various string changes; updated the strings - brought up-to-date the Romanian translation strings - updated the source file when creating Excellon objects in various places in the app
This commit is contained in:
@@ -6,8 +6,16 @@ import logging
|
||||
from copy import deepcopy
|
||||
import collections
|
||||
|
||||
import gettext
|
||||
import appTranslation as fcTranslate
|
||||
import builtins
|
||||
|
||||
log = logging.getLogger('base')
|
||||
|
||||
fcTranslate.apply_language('strings')
|
||||
if '_' not in builtins.__dict__:
|
||||
_ = gettext.gettext
|
||||
|
||||
|
||||
class TclCommandPanelize(TclCommand):
|
||||
"""
|
||||
@@ -288,12 +296,12 @@ class TclCommandPanelize(TclCommand):
|
||||
self.app.app_obj.new_object("geometry", outname, job_init_geometry, plot=False, autoselected=True)
|
||||
|
||||
if threaded is True:
|
||||
self.app.proc_container.new(_("Working ..."))
|
||||
self.app.proc_container.new('%s...' % _("Working"))
|
||||
|
||||
def job_thread(app_obj):
|
||||
try:
|
||||
panelize_2()
|
||||
app_obj.inform.emit('[success]' % _("Done."))
|
||||
app_obj.inform.emit('[success] %s' % _("Done."))
|
||||
except Exception as ee:
|
||||
log.debug(str(ee))
|
||||
return
|
||||
@@ -302,4 +310,4 @@ class TclCommandPanelize(TclCommand):
|
||||
self.app.worker_task.emit({'fcn': job_thread, 'params': [self.app]})
|
||||
else:
|
||||
panelize_2()
|
||||
self.app.inform.emit('[success]' % _("Done."))
|
||||
self.app.inform.emit('[success] %s' % _("Done."))
|
||||
|
||||
Reference in New Issue
Block a user