Remove notifications for change of readiness state

This commit is contained in:
Et0h 2014-12-30 23:55:18 +00:00
parent 52e13d1edd
commit 2b58cad473
2 changed files with 0 additions and 18 deletions

View File

@ -500,18 +500,6 @@ class SyncplayClient(object):
self.ui.userListChange()
if oldReadyState != isReady:
self._warnings.checkReadyStates()
if manuallyInitiated:
showOnOSD = constants.SHOW_OSD_WARNINGS
if constants.SHOW_NONCONTROLLER_OSD == False and self.userlist.canControl(username) == False and self.userlist.currentUser.isController() == False:
# Ignore SHOW_NONCONTROLLER_OSD setting if user is controller, because they need to know who is/isn't ready
showOnOSD = False
hideFromOSD = not showOnOSD
if isReady:
message = getMessage("user-ready-notification").format(username)
else:
message = getMessage("user-not-ready-notification").format(username)
self.ui.showMessage(message, hideFromOSD, False)
@requireMinServerVersion(constants.CONTROLLED_ROOMS_MIN_VERSION)
def createControlledRoom(self, roomName):

View File

@ -33,8 +33,6 @@ en = {
"playing-notification" : "<{}> is playing '{}' ({})", # User, file, duration
"playing-notification/room-addendum" : " in room: '{}'", # Room
"user-ready-notification" : "<{}> I'm ready", # Username
"user-not-ready-notification" : "<{}> I'm not ready", # Username
"not-all-ready" : "Not ready: {}", # Usernames
"all-users-ready" : "Everyone is ready",
@ -358,8 +356,6 @@ ru = {
"playing-notification" : u"<{}> включил '{}' ({})", # User, file, duration
"playing-notification/room-addendum" : u" в комнате: '{}'", # Room
"user-ready-notification" : u"<{}> I'm ready", # Username # TODO: Translate into Russian
"user-not-ready-notification" : u"<{}> I'm not ready", # Username # TODO: Translate into Russian
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into Russian
"all-users-ready" : u"Everyone is ready", # TODO: Translate into Russian
@ -682,8 +678,6 @@ de = {
"playing-notification" : u"<{}> spielt '{}' ({})", # User, file, duration
"playing-notification/room-addendum" : u" in Raum: '{}'", # Room
"user-ready-notification" : u"<{}> I'm ready", # Username # TODO: Translate into German
"user-not-ready-notification" : u"<{}> I'm not ready", # Username # TODO: Translate into German
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into German
"all-users-ready" : u"Everyone is ready", # TODO: Translate into German