mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Some text fixes, fix for turkey locales in arrow
This commit is contained in:
@@ -939,7 +939,7 @@ class Controller(object):
|
||||
def manage_mentions(self, data, user):
|
||||
buffer = self.search_buffer("mentions", user)
|
||||
play_sound = "mention_received.ogg"
|
||||
message = _(u"New mention")
|
||||
message = _(u"One mention from %s ") % (data["user"]["name"])
|
||||
if "mentions" not in buffer.session.settings["other_buffers"]["muted_buffers"]:
|
||||
self.notify(buffer.session, play_sound=play_sound, message=message)
|
||||
buffer.add_new_item(data)
|
||||
|
@@ -60,7 +60,7 @@ class basicTweet(object):
|
||||
def unshorten(self, event=None):
|
||||
urls = utils.find_urls_in_text(self.message.get_text())
|
||||
if len(urls) == 0:
|
||||
output.speak(_(u"There's no URL to be sexpanded"))
|
||||
output.speak(_(u"There's no URL to be expanded"))
|
||||
self.message.text_focus()
|
||||
elif len(urls) == 1:
|
||||
self.message.set_text(self.message.get_text().replace(urls[0], url_shortener.unshorten(urls[0])))
|
||||
|
Reference in New Issue
Block a user