Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split translations #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script src="js/lib/helpers.js"></script>

<!-- Text Strings -->
<script src="js/textStrings.js"></script>
<script src="js/text/text_en.js"></script>

<!-- Core Engine Code -->
<script src="js/core/Game.js"></script>
Expand Down
110 changes: 110 additions & 0 deletions js/text/text_de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
///////////////////////////////////
/////// TRANSLATED STRINGS ////////
///////////////////////////////////

// Umlaut codes: Ä = \xC4, Ö = \xD6, Ü = \xDC, ä = \xE4, ö = \xF6, ü = \xFC, ß = \x

var textStrings_DE = {
// Act 1
"niceHat" : "Oh, h\xFCbscher Hut!" ,
"outtaHere" : "Ja, besser schnell weg hier." ,
"getARoom" : "Widerlich, nehmt euch ein Zimmer!" ,
"notCoolAnymore" : "Schon geh\xF6rt? H\xFCte sind out." ,
"tvOnTv" : "Ein Fernseher! Im Fernsehen!" ,
"cricky" : "Ein Grash\xFCpfer!" ,
"tooManyCrickets" : "Ok, zu viele Grash\xFCpfer." ,
"normalPeep" : "Ein gew\xF6hnlicher Typ." ,
"normalPeeps" : "Ein paar gew\xF6hnliche Typen." ,
"wowNothing" : "Wow! Nichts! Gar nix!" ,

// Act 2
"crazySquareAttacks" : "Verr\xFCcktes Quadrat greift an!" ,
"justMissed" : "Ooooh, knapp verpasst." ,
"somethingInteresting" : "(laaangweilig *g\xE4hn*)" ,
"whoIsScreaming" : "(*wer* schreit sie denn an?)" ,
"circleFearsSquares" : "KREIS F\xDCRCHTET QUADRATE!" ,
"whoScaresThem" : "(*wen* f\xFCrchten sie denn?)" ,
"areTheyScared" : "(erwische sie, *wenn* sie fl\xFCchten)" ,
"squaresSnubCircles" : "QUADRAT: Anschuldigungen von KREISEN l\xE4cherlich." ,
"areTheySnubbed" : "(erwische sie, *w\xE4hrend* sie angreifen)" ,
"everyoneHates" : "ALLE HASSEN JEDEN!!1!" ,
"almostEveryoneHates" : "FAST JEDER HASST ALLE..." ,
"squaresHateCircles" : "QUADRATE HASSEN KREISE" ,
"circlesHateSquares" : "KREISE HASSEN QUADRATE" ,
"areTheyYelling" : "(erwische sie, *w\xE4hrend* sie sich gegenseitig anschreien)" ,
"nerdsNow" : "Was machen diese Nerds jetzt?" ,
"schockedPeep" : "Warum ist er geschockt?" ,
"whatever" : "Egal..." ,

// Act 3
"ellipsis" : ". . ." ,
"coolNoMore" : "H\xFCte sind out. Hast du's immer noch nicht geh\xF6rt?" ,
"beScared" : "HABT ANGST! SEID W\xDCTEND!" ,

// MANIFESTO
"manifesto" : [
//"Als ob ihr an guten Nachrichten interessiert seid." ,
"Wer will denn sehen, wie Leute miteinender klarkommen?" ,
"Frieden ist langweilig. Die Leute wollen Gewalt sehen." ,
//"Frieden ist langweilig. Konflikt bringt Klicks." ,
"Jede gute Story braucht einen Konflikt, also..." ,
//"...GIB DEM PUBLIKUM WAS ES WILL!" ,
"GIB DEM PUBLIKUM WAS ES WILL!"
] ,

// -- Strings currently in graphics resources --

// (bg_preload.png) Preload screen
"playingTime" : "Spielzeit: 5 Minuten" ,
"warning" : "Warnung: die folgende Sendung\nenth\xE4lt Darstellungen von Arroganz,\nBeleidigungen & Gewalt.\nund ist nicht f\xFCr Kinder geeignet." ,

// (cam-instructions.png) Camera Instructions
"pointAndClick" : "POINT & CLICK" , // I'd leave that in English, even for the German translation. /stefan

// (chyron3.png)
"chyronNothing" : "Oh wow, *NICHTS*!" ,

// (credits0001.png)
"createdBy" : "created by" , // I'd leave that in English, even for the German translation. /stefan
"NickyCase" : "Nicky Case" , // name; just here in case you want to display text instead of graphic. /stefan

// (credits0002.png)
"manyThanks" : "Vielen Dank an alle Tester:" ,

// (credits000[3,4,5,6].png)
"patreonSupporters" : "und an meine Patreon Unterst\xFCtzer:" ,

// (credits0007.png)
"lastButNotLeast" : "und zu guter Letzt," ,

// (credits0008.png)
"thankYouForPlaying" : "Danke an DICH f\xFCr's spielen!" ,

// (preload_play.png)
"playButton" : "START" ,

// (end_button.png) Post Credits
"otherWorkButton" : "andere Projekte" ,
"buyCoffeeButton" : "kauf mir einen Kaffee" ,
"replayButton" : "noch mal spielen" ,

// (logo.png) Post Credits
"logoWBWWB" : "TEILE DEINEN SCHMERZ:" ,

// (end_prototype.png)
"endOfPrototype" : "ENDE DES PROTOTYPS" ,
"toBeContinued" : "(wird fortgesetzt!)" ,

// (quote0002.png)
"WBWWB" : "We become what we behold." , // I'd leave that in English, even for the German translation. /stefan
"WSOTATOTSU" : "Wir formen unsere Werkzeuge, und dann formen unsere Werkzeuge uns." ,

// (quote0003.png)
"MarshallMcLuhan" : "Marshall McLuhan" , // name; just here in case you want to display text instead of graphic. /stefan

// (quote0004.png)
"misatrributed" : "(falsch zugeschrieben)" ,
};

// base_texts translation
var textStrings = Object.assign({}, textStrings_EN, textStrings_DE);
108 changes: 108 additions & 0 deletions js/text/text_en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
///////////////////////////////////
///// TEXT STRINGS ////////////////
///////////////////////////////////

var textStrings_EN = {
// Act 1
"niceHat" : "OOH NICE HAT" ,
"outtaHere" : "yeah git on outta here" ,
"getARoom" : "GROSS, GO GET A ROOM" ,
"notCoolAnymore" : "nvm hats aren't cool anymore" ,
"tvOnTv" : "A TV... ON TV!" ,
"cricky" : "LIL' CRICKY <3" ,
"tooManyCrickets" : "okay that's too many crickets" ,
"normalPeep" : "just a normal peep" ,
"normalPeeps" : "just some normal peeps" ,
"wowNothing" : "WOWWEE, IT'S NOTHING" ,

// Act 2
"crazySquareAttacks" : "CRAZED SQUARE ATTACKS" ,
"justMissed" : "oooooh just missed it" ,
"somethingInteresting" : "(ya gotta catch 'em doing *something* interesting...)" ,
"whoIsScreaming" : "(ya gotta catch who's screaming at 'em)" ,
"circleFearsSquares" : "CIRCLE FEARS SQUARES" ,
"whoScaresThem" : "(ya gotta also catch *who* they're scared by)" ,
"areTheyScared" : "(ya gotta catch 'em *being* scared by a square)" , // not used
"squaresSnubCircles" : "SQUARES SNUB CIRCLES" ,
"areTheySnubbed" : "(ya gotta catch 'em *while* snubbing a circle)" , // not used
"everyoneHates" : "EVERYONE HATES EVERYONE!!1!" ,
"almostEveryoneHates" : "ALMOST EVERYONE HATES EVERYONE..." ,
"squaresHateCircles" : "SQUARES HATE CIRCLES" ,
"circlesHateSquares" : "CIRCLES HATE SQUARES" ,
"areTheyYelling" : "(ya gotta catch 'em *yelling* at others)" , // not used
"nerdsNow" : "what are these nerds doing now" ,
"schockedPeep" : "why's this peep shocked?" ,
"whatever" : "whatever" ,

// Act 3
"ellipsis" : ". . ." ,
"coolNoMore" : "hats ain't cool no more, haven't you heard?" ,
"beScared" : "BE SCARED. BE ANGRY." ,

// MANIFESTO
"manifesto" : [
//"as if you viewers want GOOD news" ,
"who tunes in to watch *people get along?*",
"peace is boring. violence goes viral." ,
//"peace is boring. conflict gets clicks." ,
"and every story needs a conflict, so..." ,
//"...GIVE THE AUDIENCE WHAT THEY WANT." ,
"GIVE THE AUDIENCE WHAT THEY WANT."
] ,

// -- Strings currently in graphics resources --

// (bg_preload.png) Preload screen
"playingTime" : "playing time: 5 minutes" ,
"warning" : "warning: the following program\ncontains scenes of snobbery,\nrudeness & mass murder.\nviewer discretion is advised." ,

// (cam-instructions.png) Camera Instructions
"pointAndClick" : "POINT & CLICK" ,

// (chyron3.png)
"chyronNothing" : "WOWWEE, IT'S *NOTHING*" ,

// (credits0001.png)
"createdBy" : "created by" ,
"NickyCase" : "Nicky Case" ,

// (credits0002.png)
"manyThanks" : "many thanks to my playtesters:" ,

// (credits000[3,4,5,6].png)
"patreonSupporters" : "and to my patreon supporters:" ,

// (credits0007.png)
"lastButNotLeast" : "and last but not least," ,

// (credits0008.png)
"thankYouForPlaying" : "thank YOU for playing!" ,

// (preload_play.png)
"playButton" : "PLAY" ,

// (end_button.png) Post Credits
"otherWorkButton" : "see my other work" ,
"buyCoffeeButton" : "buy me a coffee" ,
"replayButton" : "replay this mess" ,

// (logo.png) Post Credits
"logoWBWWB" : "SHARE THE PAIN:" ,

// (end_prototype.png)
"endOfPrototype" : "END OF PROTOTYPE" ,
"toBeContinued" : "(to be continued!)" ,

// (quote0002.png)
"WBWWB" : "We become what we behold." ,
"WSOTATOTSU" : "We shape our tools and then our tools shape us." ,

// (quote0003.png)
"MarshallMcLuhan" : "Marshall McLuhan" ,

// (quote0004.png)
"misatrributed" : "(misattributed)" ,
};

//
var textStrings = textStrings_EN;
108 changes: 108 additions & 0 deletions js/text/text_es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
///////////////////////////////////
/////// TRANSLATED STRINGS ////////
///////////////////////////////////

var textStrings_ES = {
// Act 1
"niceHat" : "OOH LINDO SOMBRERO" ,
"outtaHere" : "¡Si!. ¡¡Salgan de aquí!!" ,
"getARoom" : "¡ASCO! ¡BUSQUEN UN CUARTO!" ,
"notCoolAnymore" : "qué importa... Los sombreros ya no son cool" ,
"tvOnTv" : "UN TV... EN TV!" ,
"cricky" : "PEQUENO SALTAMONTES! <3" ,
"tooManyCrickets" : "okay, ya esos son muchos saltamontes" ,
"normalPeep" : "solo un tipo normal" ,
"normalPeeps" : "solo gente normal" ,
"wowNothing" : "¡¡WOWW!!, NO ES NADA.. :(" ,

// Act 2
"crazySquareAttacks" : "¡¡UN CUADRADO ENLOQUECIDO ATACA!!" ,
"justMissed" : "oooooh ¡casi lo atrapas!" ,
"somethingInteresting" : "(debes capturarlos haciendo *algo* interesante...)" ,
"whoIsScreaming" : "(debes capturar a los que les gritan...)" ,
"circleFearsSquares" : "¡¡LOS CÍRCULOS LE TEMEN A LOS CUADRADOS!!" ,
"whoScaresThem" : "(tambien debes capturar de *quien* tienen miedo)" ,
"areTheyScared" : "(captúralos siendo *aterrorizados* por un cuadrado...)" , // no usado
"squaresSnubCircles" : "¡¡LOS CUADRADOS DESPRECIAN A LOS CÍRCULOS!!" ,
"areTheySnubbed" : "(debes atraparlos *mientras* desprecian a un círculo)" , // no usado
"everyoneHates" : "TODO MUNDO ODIA A TODO EL MUNDO!!" ,
"almostEveryoneHates" : "CASI TODO EL MUNDO ODIA A TODO EL MUNDO..." ,
"squaresHateCircles" : "LOS CUADRADOS ODIAN A LOS CÍRCULOS" ,
"circlesHateSquares" : "LOS CÍRCULOS ODIAN A LOS CUADRADOS" ,
"areTheyYelling" : "(debes atraparlos *gritándole* a otros)" , // no usado
"nerdsNow" : "¿¿qué hacen éstos tontos ahora??" ,
"schockedPeep" : "¿por que estará asustado ese tipo?" ,
"whatever" : "lo que sea!! :/" ,

// Act 3
"ellipsis" : ". . ." ,
"coolNoMore" : "Los sombreros ya no son cool. ¿No te enteraste?" ,
"beScared" : "¡TEN MIEDO. TEN ODIO!" ,

// MANIFESTO
"manifesto" : [
//"como si los ESPECTADORES quisieran buenas noticias..." ,
"¿quien sintoniza para ver *gente llevandose bien?*" ,
//"la paz aburre. La violencia se vuelve viral." ,
"la paz aburre. ¡Los conflictos atraen clicks!" ,
"y toda historia necesita un conflicto, así que..." ,
//"...GIVE THE AUDIENCE WHAT THEY WANT." ,
"¡¡¡DALE A LA AUDIENCIA LO QUE QUIERE!!!."
] ,

// -- Strings currently in graphics resources --

// (bg_preload.png) Preload screen
"playingTime" : "tiempo de juego: 5 minutos" ,
"warning" : "precaución: el siguiente programa\ncontiene escenas de humillación\nviolencia y asesinatos.\nSe recomienda discreción." ,

// (cam-instructions.png) Camera Instructions
"pointAndClick" : "APUNTA & DISPARA" ,

// (chyron3.png)
"chyronNothing" : "WOOW!, ES... *NADA*" ,

// (credits0001.png)
"createdBy" : "creado por" ,
"NickyCase" : "Nicky Case" ,

// (credits0002.png)
"manyThanks" : "muchas gracias a mis jugadores de prueba:" ,

// (credits000[3,4,5,6].png)
"patreonSupporters" : "y a quienes me apoyaron en Patreon:" ,

// (credits0007.png)
"lastButNotLeast" : "y de último, pero no menos importante," ,

// (credits0008.png)
"thankYouForPlaying" : "gracias a TI por jugar!" ,

// (preload_play.png)
"playButton" : "JUGAR" ,

// (end_button.png) Post Credits
"otherWorkButton" : "vé el resto de mi trabajo" ,
"buyCoffeeButton" : "comprame un café" ,
"replayButton" : "juega nuevamente éste desastre" ,

// (logo.png) Post Credits
"logoWBWWB" : "COMPARTE EL DOLOR:" ,

// (end_prototype.png)
"endOfPrototype" : "FIN DEL PROTOTIPO" ,
"toBeContinued" : "(continuará!)" ,

// (quote0002.png)
"WBWWB" : "Nos Convertimos En Lo Que Vemos." ,
"WSOTATOTSU" : "Le damos forma a nuestras herramientas, y nuestras herramientas nos dan forma" ,

// (quote0003.png)
"MarshallMcLuhan" : "Marshall McLuhan",

// (quote0004.png)
"misatrributed" : "(mal atribuido)" ,
};

// base_texts translation
var textStrings = Object.assign({}, textStrings_EN, textStrings_ES);
Loading