mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Changed mentionned people for direct in toots' visibility info
This commit is contained in:
parent
2c9048618f
commit
64d5b7e684
@ -193,7 +193,7 @@ class viewToot(toot):
|
|||||||
image_description = templates.process_image_descriptions(toot.media_attachments)
|
image_description = templates.process_image_descriptions(toot.media_attachments)
|
||||||
text = templates.process_text(toot, safe=False)
|
text = templates.process_text(toot, safe=False)
|
||||||
date = templates.process_date(toot.created_at, relative_times=False, offset_hours=offset_hours)
|
date = templates.process_date(toot.created_at, relative_times=False, offset_hours=offset_hours)
|
||||||
privacy_settings = dict(public=_("Public"), unlisted=_("Not listed"), private=_("followers only"), direct=_("Mentioned people"))
|
privacy_settings = dict(public=_("Public"), unlisted=_("Not listed"), private=_("followers only"), direct=_("Direct"))
|
||||||
privacy = privacy_settings.get(toot.visibility)
|
privacy = privacy_settings.get(toot.visibility)
|
||||||
boost_count = str(toot.reblogs_count)
|
boost_count = str(toot.reblogs_count)
|
||||||
favs_count = str(toot.favourites_count)
|
favs_count = str(toot.favourites_count)
|
||||||
|
@ -45,7 +45,7 @@ class Toot(wx.Dialog):
|
|||||||
toot_actions_sizer.Add(visibility_sizer, 1, wx.EXPAND, 0)
|
toot_actions_sizer.Add(visibility_sizer, 1, wx.EXPAND, 0)
|
||||||
label_1 = wx.StaticText(self, wx.ID_ANY, _("Visibility"))
|
label_1 = wx.StaticText(self, wx.ID_ANY, _("Visibility"))
|
||||||
visibility_sizer.Add(label_1, 0, 0, 0)
|
visibility_sizer.Add(label_1, 0, 0, 0)
|
||||||
self.visibility = wx.ComboBox(self, wx.ID_ANY, choices=[_("Public"), _("Not listed"), _("Followers only"), _("Mentionned accounts")], style=wx.CB_DROPDOWN | wx.CB_READONLY | wx.CB_SIMPLE)
|
self.visibility = wx.ComboBox(self, wx.ID_ANY, choices=[_("Public"), _("Not listed"), _("Followers only"), _("Direct")], style=wx.CB_DROPDOWN | wx.CB_READONLY | wx.CB_SIMPLE)
|
||||||
self.visibility.SetSelection(0)
|
self.visibility.SetSelection(0)
|
||||||
visibility_sizer.Add(self.visibility, 0, 0, 0)
|
visibility_sizer.Add(self.visibility, 0, 0, 0)
|
||||||
self.add = wx.Button(self, wx.ID_ANY, _("A&dd"))
|
self.add = wx.Button(self, wx.ID_ANY, _("A&dd"))
|
||||||
|
Loading…
Reference in New Issue
Block a user