mirror of
https://github.com/star-inc/yuuki.git
synced 2024-09-20 15:26:30 +08:00
Update
This commit is contained in:
parent
9e49556e01
commit
a9b7cc5af3
|
@ -19,12 +19,12 @@ class English:
|
||||||
"Helllo^^\nMy name is %s ><\nNice to meet you OwO": "Helllo^^\nMy name is %s ><\nNice to meet you OwO",
|
"Helllo^^\nMy name is %s ><\nNice to meet you OwO": "Helllo^^\nMy name is %s ><\nNice to meet you OwO",
|
||||||
"Type:\n\t%s/Help\nto get more information\n\nAdmin of the Group:\n%s": "Type:\n\t%s/Help\nto get more information\n\nAdmin of the Group:\n%s",
|
"Type:\n\t%s/Help\nto get more information\n\nAdmin of the Group:\n%s": "Type:\n\t%s/Help\nto get more information\n\nAdmin of the Group:\n%s",
|
||||||
"%s\n\t%s\n\nCommands Info:\n%s\n\nPrivacy:\n%s\n\nMore Information:\n%s\n\n%s": "%s\n\t%s\n\nCommands Info:\n%s\n\nPrivacy:\n%s\n\nMore Information:\n%s\n\n%s",
|
"%s\n\t%s\n\nCommands Info:\n%s\n\nPrivacy:\n%s\n\nMore Information:\n%s\n\n%s": "%s\n\t%s\n\nCommands Info:\n%s\n\nPrivacy:\n%s\n\nMore Information:\n%s\n\n%s",
|
||||||
"URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s": "URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s",
|
"URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s": "URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s",
|
||||||
"Wrong UserID or the guy is not in Group": "Wrong UserID or the guy is not in Group",
|
"Wrong UserID or the guy is not in Group": "Wrong UserID or the guy is not in Group",
|
||||||
"Default without Initialize\nAdmin of the Group:\n%s": "Default without Initialize\nAdmin of the Group:\n%s",
|
"Default without Initialize\nAdmin of the Group:\n%s": "Default without Initialize\nAdmin of the Group:\n%s",
|
||||||
"Sorry...\nThe number of members is not satisfied (%s needed)": "Sorry...\nThe number of members is not satisfied (%s needed)",
|
"Sorry...\nThe number of members is not satisfied (%s needed)": "Sorry...\nThe number of members is not satisfied (%s needed)",
|
||||||
"Name:%s\nPicture URL:%s/%s\nStatusMessage:\n%s\nLINE System UserID:%s": "Name:%s\nPicture URL:%s/%s\nStatusMessage:\n%s\nLINE System UserID:%s",
|
"Name:%s\nPicture URL:%s/%s\nStatusMessage:\n%s\nLINE System UserID:%s": "Name:%s\nPicture URL:%s/%s\nStatusMessage:\n%s\nLINE System UserID:%s",
|
||||||
"LINE System UserID:\n": "LINE System UserID:\n",
|
"LINE System UserID:\n": "LINE System UserID:\n",
|
||||||
"DO NOT KICK, thank you ^^": "DO NOT KICK, thank you ^^",
|
"DO NOT KICK, thank you ^^": "DO NOT KICK, thank you ^^",
|
||||||
"DO NOT TOUCH THE GROUP URL SETTINGs, see you...": "DO NOT TOUCH THE GROUP URL SETTINGs, see you...",
|
"DO NOT TOUCH THE GROUP URL SETTINGs, see you...": "DO NOT TOUCH THE GROUP URL SETTINGs, see you...",
|
||||||
"Do not invite anyone...thanks": "Do not invite anyone...thanks",
|
"Do not invite anyone...thanks": "Do not invite anyone...thanks",
|
||||||
|
|
|
@ -350,7 +350,7 @@ class Yuuki:
|
||||||
elif self.YuukiConfigs["name"] + '/Version' == ncMessage.message.text:
|
elif self.YuukiConfigs["name"] + '/Version' == ncMessage.message.text:
|
||||||
self.sendText(self.sendToWho(ncMessage), self.YuukiConfigs["version"])
|
self.sendText(self.sendToWho(ncMessage), self.YuukiConfigs["version"])
|
||||||
elif self.YuukiConfigs["name"] + '/UserID' == ncMessage.message.text:
|
elif self.YuukiConfigs["name"] + '/UserID' == ncMessage.message.text:
|
||||||
self.sendText(self.sendToWho(ncMessage), _("LINE System UserID:\n") + ncMessage.message.from_)
|
self.sendText(self.sendToWho(ncMessage), _("LINE System UserID:\n") + ncMessage.message.from_)
|
||||||
elif self.YuukiConfigs["name"] + '/Speed' == ncMessage.message.text:
|
elif self.YuukiConfigs["name"] + '/Speed' == ncMessage.message.text:
|
||||||
Time1 = time.time()
|
Time1 = time.time()
|
||||||
self.sendText(self.sendToWho(ncMessage), _("Testing..."))
|
self.sendText(self.sendToWho(ncMessage), _("Testing..."))
|
||||||
|
@ -421,11 +421,11 @@ class Yuuki:
|
||||||
GroupInfo = self.client.getGroup(ncMessage.message.to)
|
GroupInfo = self.client.getGroup(ncMessage.message.to)
|
||||||
group_status = self.data.getSEGroup(ncMessage.message.to)
|
group_status = self.data.getSEGroup(ncMessage.message.to)
|
||||||
if group_status == None:
|
if group_status == None:
|
||||||
status = _("Default without Initialize\nAdmin of the Group:\n%s") % (
|
status = _("Default without Initialize\nAdmin of the Group:\n%s") % (
|
||||||
self.sybGetGroupCreator(GroupInfo).displayName,
|
self.sybGetGroupCreator(GroupInfo).displayName,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
status = _("URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s") % (
|
status = _("URL:%s\nInvite:%s\nJoin:%s\nMembers:%s\n\nAdmin of the Group:\n%s") % (
|
||||||
group_status[OpType.NOTIFIED_UPDATE_GROUP],
|
group_status[OpType.NOTIFIED_UPDATE_GROUP],
|
||||||
group_status[OpType.NOTIFIED_INVITE_INTO_GROUP],
|
group_status[OpType.NOTIFIED_INVITE_INTO_GROUP],
|
||||||
group_status[OpType.NOTIFIED_ACCEPT_GROUP_INVITATION],
|
group_status[OpType.NOTIFIED_ACCEPT_GROUP_INVITATION],
|
||||||
|
|
Loading…
Reference in a new issue