messages in german

This commit is contained in:
s2
2013-04-06 10:57:57 +02:00
parent bbac2f4660
commit 71018e2880

View File

@@ -45,16 +45,16 @@ if (typeof(sw) == 'undefined') {
var gameOver = function() { var gameOver = function() {
sw.gameover = true; sw.gameover = true;
var result = 'Bravissimo!'; var result = 'Sehr gut!';
if (sw.wrongWords > 1 || sw.finaltime > 60) { if (sw.wrongWords > 1 || sw.finaltime > 60) {
result = 'insomma...'; result = 'geht so...';
}; };
if (sw.wrongWords > 1 || sw.finaltime > 50) { if (sw.wrongWords > 1 || sw.finaltime > 50) {
result = 'puoi fare meglio!'; result = 'Du kannst das besser!';
}; };
if (sw.wrongWords > 1 && sw.finaltime < 40) { if (sw.wrongWords > 1 && sw.finaltime < 40) {
result = 'sei velocissimo ma hai commesso errori'; result = 'Du bist sehr schnell, aber du hast Fehler gemacht';
}; };
$("#main").empty().html('views/gameover.ejs', {result: result, time: sw.finaltime, wrong: sw.wrongWords, correct: sw.correctWords}); $("#main").empty().html('views/gameover.ejs', {result: result, time: sw.finaltime, wrong: sw.wrongWords, correct: sw.correctWords});