diff --git a/syncplay/client.py b/syncplay/client.py index dfac60c..907d243 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -505,9 +505,9 @@ class SyncplayClient(object): showOnOSD = False hideFromOSD = not showOnOSD if isReady: - message = "<{}> I'm ready".format(username) + message = getMessage("user-ready-notification").format(username) else: - message = "<{}> I'm not ready".format(username) + message = getMessage("user-not-ready-notification").format(username) self.ui.showMessage(message, hideFromOSD) @requireMinServerVersion(constants.CONTROLLED_ROOMS_MIN_VERSION) diff --git a/syncplay/messages.py b/syncplay/messages.py index 1bf5f37..aee0f99 100755 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -33,6 +33,9 @@ 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 ready", # Username + "identifying-as-controller-notification" : u"Identifying as room controller with password '{}'...", "failed-to-identify-as-controller-notification" : u"<{}> failed to identify as a room controller.", "authenticated-as-controller-notification" : u"<{}> authenticated as a room controller",