All the code in one batch

This commit is contained in:
2019-11-11 23:04:45 +01:00
parent 85a10c638f
commit 75755ef3c5
16 changed files with 543 additions and 66 deletions

View File

@@ -1,9 +1,7 @@
from message.simple_messages import ListItemClick
from message.simple_messages import NoReset, Reset, ModalNotOkClose
from message.translation_edit import EditTranslation, MoveRight, MoveLeft, BinTranslation
from message.show_messages import ShowMenu, ShowEditTranslation, ShowSenseLabelEdit, ShowSenseDefinitionEdit, ShowCommentEdit, ShowAddTranslation
from message.simple_edits import EditSenseLabel, EditSenseDefinition, EditComment
from message.message import msg
def msg(message_class):
from update import update
def callback(arg):
message_instance = message_class(arg)
update.schedule(message_instance)
return callback