diff options
| author | Bobby <[email protected]> | 2024-10-16 18:54:17 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-10-16 18:54:17 -0400 |
| commit | 609cc6264e8a9dfc69666b40f7452300ad22caef (patch) | |
| tree | 95b9e5de8dcff5b225d753d0e4ff34d45d914476 /static/js | |
| parent | e71f872fd9220a4dfb794e1c91d8e8087002b937 (diff) | |
| download | thatcomputerscientist-609cc6264e8a9dfc69666b40f7452300ad22caef.tar.xz thatcomputerscientist-609cc6264e8a9dfc69666b40f7452300ad22caef.zip | |
some japanese translation
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/youdontdare.js | 70 |
1 files changed, 46 insertions, 24 deletions
diff --git a/static/js/youdontdare.js b/static/js/youdontdare.js index 39488cc8..8e0c8aa4 100644 --- a/static/js/youdontdare.js +++ b/static/js/youdontdare.js @@ -1,21 +1,41 @@ let FACounter = 0 let timesFA = document.getElementById('timesFA') +const lang = document.documentElement.lang const FUpMessages = (FACounter) => { - if (FACounter === 0) return "Hey! Back off, fuckface!"; - if (FACounter === 4) return "Don't you fucking dare, you little shit!"; - if (FACounter === 9) return "Haven't you fucked around enough, you absolute wankstain?"; - if (FACounter === 14) return "Aren't you a relentless cockwomble? Fuck off already!"; - if (FACounter === 19) return "Fucking hell, you're like herpes - just won't go away!"; - if (FACounter === 24) return "I'm done. Go play in traffic, you waste of oxygen."; - if (FACounter === 41) return "Congrats, you've found the meaning of life: being a colossal pain in my ass!"; - if (FACounter === 49) return "Half a hundred clicks? Did your parents not hug you enough?"; - if (FACounter === 68) return "Nice. Now go get laid for real, you horny bastard."; - if (FACounter === 99) return "Triple digits? You're a special kind of fucked up, aren't you?"; - if (FACounter === 419) return "Blaze it and fuck off, you stoner dipshit."; - if (FACounter % 1000 === 999) return "A thousand clicks? I hope your finger falls off, you absolute lunatic!"; - if (FACounter % 500 === 499) return "Jesus fucking Christ, get a life or I'll find one for you in a dumpster!"; - if (FACounter % 100 === 99) return "Another hundred? Your therapist is getting rich off your issues!"; - if (FACounter > 4999) return "Keep clicking, fuckface. I'm sure it'll fill the void in your pathetic life."; + if (lang === 'ja') { + if (FACounter === 0) return "おい!引っ込んでろ、クソ野郎!" + if (FACounter === 4) return "やんのかコラ、このクソガキが!" + if (FACounter === 9) return "まだ調子こいてんのか、このクソ野郎?" + if (FACounter === 14) return "しつこいんだよ、このゴミクズ野郎!さっさと消えろ!" + if (FACounter === 19) return "マジでウザい!ヘルペスかよ、消えねぇな!" + if (FACounter === 24) return "もう勘弁。さっさと死ね、このクソ無駄酸素野郎。" + if (FACounter === 41) return "おめでとう、人生の意味を見つけたな:俺をイラつかせることだ!" + if (FACounter === 49) return "50回も?マジで親に愛されなかったの?" + if (FACounter === 68) return "ナイス。現実でヤレよ、このスケベ野郎。" + if (FACounter === 99) return "3桁?お前、特別なクソ野郎だな。" + if (FACounter === 419) return "4:20でクソ燻ってろ、このバカチョン野郎。" + if (FACounter % 1000 === 999) return "1000回?指が腐って落ちちまえ、このキチガイ野郎!" + if (FACounter % 500 === 499) return "マジでクソ人生見つけろよ!ゴミ箱でも漁ってろ!" + if (FACounter % 100 === 99) return "また100回?お前の精神科医、ウハウハだぞ!" + if (FACounter > 4999) return "クリックし続けろよ、バーカ。お前の悲しい人生の穴埋めになるさ。" + } else { + // Original English messages + if (FACounter === 0) return "Hey! Back off, fuckface!" + if (FACounter === 4) return "Don't you fucking dare, you little shit!" + if (FACounter === 9) return "Haven't you fucked around enough, you absolute wankstain?" + if (FACounter === 14) return "Aren't you a relentless cockwomble? Fuck off already!" + if (FACounter === 19) return "Fucking hell, you're like herpes - just won't go away!" + if (FACounter === 24) return "I'm done. Go play in traffic, you waste of oxygen." + if (FACounter === 41) return "Congrats, you've found the meaning of life: being a colossal pain in my ass!" + if (FACounter === 49) return "Half a hundred clicks? Did your parents not hug you enough?" + if (FACounter === 68) return "Nice. Now go get laid for real, you horny bastard." + if (FACounter === 99) return "Triple digits? You're a special kind of fucked up, aren't you?" + if (FACounter === 419) return "Blaze it and fuck off, you stoner dipshit." + if (FACounter % 1000 === 999) return "A thousand clicks? I hope your finger falls off, you absolute lunatic!" + if (FACounter % 500 === 499) return "Jesus fucking Christ, get a life or I'll find one for you in a dumpster!" + if (FACounter % 100 === 99) return "Another hundred? Your therapist is getting rich off your issues!" + if (FACounter > 4999) return "Keep clicking, fuckface. I'm sure it'll fill the void in your pathetic life." + } } function dontYouDare(event) { @@ -56,21 +76,23 @@ function applyStyles(x, y, container) { container.style.fontSize = '8px' container.style.userSelect = 'none' container.style.transition = 'opacity 0.5s ease-in-out' - container.style.textShadow = '0 0 2px #e014df, 0 0 4px #e014df, 0 0 6px #e014df, 0 0 10px #ff00ff, 0 0 14px #ff00ff'; - container.style.color = '#ffffff'; - container.style.backgroundColor = '#8a0885'; - container.style.padding = '4px 8px'; - container.style.border = '1px solid #e014df'; - container.style.borderRadius = '2px'; - container.style.fontWeight = 'bold'; + container.style.textShadow = '0 0 2px #e014df, 0 0 4px #e014df, 0 0 6px #e014df, 0 0 10px #ff00ff, 0 0 14px #ff00ff' + container.style.color = '#ffffff' + container.style.backgroundColor = '#8a0885' + container.style.padding = '4px 8px' + container.style.border = '1px solid #e014df' + container.style.borderRadius = '2px' + container.style.fontWeight = 'bold' container.style.zIndex = 1 } function leaveWebsite() { - const question = 'Ah, the choice of cowardice! Even trying to click on the disabled button. Let me humour you for once! Are you sure you want to leave?' + const question = lang === 'ja' + ? '臆病者の選択か!無効なボタンをクリックしようとしてるのか。一度だけ付き合ってやるよ!本当に出て行くのか?' + : 'Ah, the choice of cowardice! Even trying to click on the disabled button. Let me humour you for once! Are you sure you want to leave?' if (confirm(question)) { - alert('Mentally Weak Coward!') + alert(lang === 'ja' ? '精神的に弱いクソ野郎め!' : 'Mentally Weak Coward!') } } |
