mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Even more string cleanup.
This commit is contained in:
parent
3c46201af9
commit
d0924a6e15
@ -2,13 +2,13 @@
|
|||||||
import wx
|
import wx
|
||||||
import widgetUtils
|
import widgetUtils
|
||||||
from multiplatform_widgets import widgets
|
from multiplatform_widgets import widgets
|
||||||
|
import application
|
||||||
class autocompletionManageDialog(widgetUtils.BaseDialog):
|
class autocompletionManageDialog(widgetUtils.BaseDialog):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(autocompletionManageDialog, self).__init__(parent=None, id=-1, title=_(u"Manage Autocomplete users’ database"))
|
super(autocompletionManageDialog, self).__init__(parent=None, id=-1, title=_(u"Manage Autocompletion database"))
|
||||||
panel = wx.Panel(self)
|
panel = wx.Panel(self)
|
||||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||||
label = wx.StaticText(panel, -1, _(u"Editing TWBlue users database"))
|
label = wx.StaticText(panel, -1, _(u"Editing " + application.name + " users database"))
|
||||||
self.users = widgets.list(panel, _(u"Username"), _(u"Name"), style=wx.LC_REPORT)
|
self.users = widgets.list(panel, _(u"Username"), _(u"Name"), style=wx.LC_REPORT)
|
||||||
sizer.Add(label, 0, wx.ALL, 5)
|
sizer.Add(label, 0, wx.ALL, 5)
|
||||||
sizer.Add(self.users.list, 0, wx.ALL, 5)
|
sizer.Add(self.users.list, 0, wx.ALL, 5)
|
||||||
|
@ -11,7 +11,7 @@ class autocompletionSettingsDialog(widgetUtils.BaseDialog):
|
|||||||
self.friends_buffer = wx.CheckBox(panel, -1, _(u"Add users from friends buffer"))
|
self.friends_buffer = wx.CheckBox(panel, -1, _(u"Add users from friends buffer"))
|
||||||
sizer.Add(self.followers_buffer, 0, wx.ALL, 5)
|
sizer.Add(self.followers_buffer, 0, wx.ALL, 5)
|
||||||
sizer.Add(self.friends_buffer, 0, wx.ALL, 5)
|
sizer.Add(self.friends_buffer, 0, wx.ALL, 5)
|
||||||
self.viewList = wx.Button(panel, -1, _(u"See the users list"))
|
self.viewList = wx.Button(panel, -1, _(u"Manage database..."))
|
||||||
sizer.Add(self.viewList, 0, wx.ALL, 5)
|
sizer.Add(self.viewList, 0, wx.ALL, 5)
|
||||||
ok = wx.Button(panel, wx.ID_OK)
|
ok = wx.Button(panel, wx.ID_OK)
|
||||||
cancel = wx.Button(panel, wx.ID_CANCEL)
|
cancel = wx.Button(panel, wx.ID_CANCEL)
|
||||||
|
Loading…
Reference in New Issue
Block a user