Changed mentionned people for direct in toots' visibility info

This commit is contained in:
Manuel Cortez 2022-11-12 15:16:53 -06:00
parent 2c9048618f
commit 64d5b7e684
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"))