Beispiel #1
0
 def WarnRestart(self):
     if self.quit: return
     basher.appRestart = True
     showWarning(
         self.parent,
         _('Your Bash settings have been successfuly restored.\n') +
         _('Backup Path: %s\n') % (self.dir.join(self.archive).s) +
         _('\n') +
         _('Before the settings can take effect, Wrye Bash must restart.\n')
         + _('Click OK to restart now.'), _('Bash Settings Restored'))
Beispiel #2
0
 def WarnRestart(self):
     if self.quit: return
     showWarning(self.parent,
         _(u'Your Bash settings have been successfully restored.')+u'\n' +
         _(u'Backup Path: ')+self.dir.join(self.archive).s+u'\n' +
         u'\n' +
         _(u'Before the settings can take effect, Wrye Bash must restart.')+u'\n' +
         _(u'Click OK to restart now.'),
         _(u'Bash Settings Restored'))
     basher.bashFrame.Restart()
 def WarnRestart(self):
     if self.quit: return
     basher.appRestart = True
     showWarning(self.parent,
         _('Your Bash settings have been successfuly restored.\n') +
         _('Backup Path: %s\n') % (self.dir.join(self.archive).s) +
         _('\n') +
         _('Before the settings can take effect, Wrye Bash must restart.\n') +
         _('Click OK to restart now.'),
         _('Bash Settings Restored'))
Beispiel #4
0
 def WarnRestart(self):
     if self.quit: return
     showWarning(
         self.parent,
         _(u'Your Bash settings have been successfully restored.') + u'\n' +
         _(u'Backup Path: ') + self.dir.join(self.archive).s + u'\n' +
         u'\n' +
         _(u'Before the settings can take effect, Wrye Bash must restart.')
         + u'\n' + _(u'Click OK to restart now.'),
         _(u'Bash Settings Restored'))
     basher.bashFrame.Restart()
Beispiel #5
0
 def WarnFailed(self):
     showWarning(
         self.parent,
         _('There was an error while trying to restore your settings from the backup file!\n'
           ) + _('No settings were restored.'),
         _('Unable to restore backup!'))
Beispiel #6
0
 def WarnFailed(self):
     showWarning(
         self.parent,
         _('There was an error while trying to backup the Bash settings!\n')
         + _('No backup was created.'), _('Unable to create backup!'))
Beispiel #7
0
 def WarnFailed(self):
     showWarning(self.parent,
         _(u'There was an error while trying to restore your settings from the backup file!')+u'\n' +
         _(u'No settings were restored.'),
         _(u'Unable to restore backup!'))
Beispiel #8
0
 def WarnFailed(self):
     showWarning(self.parent,
         _(u'There was an error while trying to backup the Bash settings!')+u'\n' +
         _(u'No backup was created.'),
         _(u'Unable to create backup!'))