Page 1 of 2

LÖVE, Eh?

Posted: Sat May 17, 2014 7:41 pm
by Karai17
LÖVE, Eh? is a drop-in localization of the LÖVE API from en_US to en_CA. Hurry on an' download it below, eh?

Image

https://github.com/karai17/love-eh

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 7:51 pm
by jjmafiae
is this a joke?

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 7:58 pm
by Karai17
No joke here, eh? Sometimes it's right difficult f'r a Canuck ta use American phrases when writin' code, so I thought it'd be good to help out my fellow Canucks'n patch the API.

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 8:02 pm
by jjmafiae
Can we get the european , for numbers instead of the american . ?

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 8:05 pm
by Karai17
You'ood prabably have ta write a preprocessor ta git all the commas an periods swapped around, eh? Bit different'n what I did here, don'cha know?

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 8:05 pm
by slime

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 8:24 pm
by christiankolding
jjmafiae wrote:is this a joke?
I take it you mean,

"This is a joke, eh?"

Re: LÖVE, Eh?

Posted: Sat May 17, 2014 11:17 pm
by josefnpat
Thank god, I've been waiting to write in a superior language.

Re: LÖVE, Eh?

Posted: Sun May 18, 2014 2:26 am
by Nautical Mile
The boolean checker functions are funny, but not actually practical, but I was inspired by your joke and wrote this snippet which will allow the Canadian/English spelling of the word colour in function names:

Code: Select all

if love and love.graphics then
	love.graphics.getBackgroundColour	= love.graphics.getBackgroundColor
	love.graphics.getColour				= love.graphics.getColor
	love.graphics.getColourMask			= love.graphics.getColorMask
	love.graphics.getColourMode			= love.graphics.getColorMode
	love.graphics.setBackgroundColour	= love.graphics.setBackgroundColor
	love.graphics.setColour				= love.graphics.setColor
	love.graphics.setColourMask			= love.graphics.setColorMask
	love.graphics.setColourMode			= love.graphics.setColorMode
end
Now I don't have to un-learn my good spelling habits when coding with love ^^

Re: LÖVE, Eh?

Posted: Sun May 18, 2014 2:28 am
by Karai17
That's right smart, eh? I'll add that right in there.

Edit: Done.