Basic tt support, fixed some English mistakes reported by @sukiletxe

This commit is contained in:
2014-12-05 11:20:55 -06:00
parent ada6f1fb0d
commit 7137d437bd
9 changed files with 224 additions and 48 deletions

View File

@@ -15,7 +15,7 @@ class autocompletionUsers(object):
try:
pattern = text.split()[-1]
except IndexError:
output.speak(_(u"You have to start to write"))
output.speak(_(u"You have to start writing"))
return
if pattern.startswith("@") == True:
db = storage.storage()
@@ -26,6 +26,6 @@ class autocompletionUsers(object):
self.window.PopupMenu(menu, self.window.text.GetPosition())
menu.Destroy()
else:
output.speak(_(u"There is not results in your users database"))
output.speak(_(u"There are not results in your users database"))
else:
output.speak(_(u"Autocompletion only works for users."))

View File

@@ -20,4 +20,4 @@ class autocompletionSettingsDialog(wx.Dialog):
self.SetClientSize(sizer.CalcMin())
def show_success_dialog():
wx.MessageDialog(None, _(u"Users TwBlue-database has been updated with new users."), _(u"Done"), wx.OK).ShowModal()
wx.MessageDialog(None, _(u"TWBlue's database of users has been updated."), _(u"Done"), wx.OK).ShowModal()