This commit is contained in:
Nicolas A. Tonne
2015-04-25 23:39:57 +02:00
parent b0fd367976
commit ae6523ed92

View File

@@ -7,31 +7,31 @@ socket.on("toast", function(msg)
pass_corr = "correct"; pass_corr = "correct";
switch(msg) { switch(msg) {
case "savedsettings": case "savedsettings":
msg="I saved your settings <3" msg="I saved your settings"
break; break;
case "wrongpass": case "wrongpass":
msg="That's not the right password! ಠ_ಠ" msg="That's not the right password!"
break; break;
case "shuffled": case "shuffled":
msg="I vigorously stirred your playlist! (J °O°)J" msg="I vigorously stirred your playlist!"
break; break;
case "deletesong": case "deletesong":
msg="Your song is now in a better place..." msg="Your song is now in a better place..."
break; break;
case "voted": case "voted":
msg="You vote like a boss \\(*0*)/" msg="You voted!"
break; break;
case "alreadyvoted": case "alreadyvoted":
msg="You can't vote twice on that song! (¬_¬)" msg="You can't vote twice on that song!"
break; break;
case "listhaspass": case "listhaspass":
msg="I'm sorry, but you have to be an admin to do that (⌒_⌒;)" msg="I'm sorry, but you have to be an admin to do that!"
break; break;
case "noskip": case "noskip":
msg="Only Admins can skip songs, peasant (`∀´)Ψ" msg="Only Admins can skip songs, peasant!"
break; break;
case "alreadyskip": case "alreadyskip":
msg="Skipping is democratic, only one vote per person! (〃・ω・〃)" msg="Skipping is democratic, only one vote per person!"
break; break;
} }
Materialize.toast(msg, 4000); Materialize.toast(msg, 4000);