> Life is like biryani. You move the good stuff towards you & you push the weird shit to the side.  

post a new message


lorem ipsum

May 06, 2025 -- 5:31 AM
posted by ( )

Add an image    

Add a link


go back to maingo to old version

March 13, 2012 -- 9:38 PM
posted by Tonestar Runner

Fenton the Dog

March 10, 2012 -- 10:04 AM
posted by alison

this is awesome


A TED speaker's worst nightmare









March 05, 2012 -- 12:48 PM
posted by alison

Parks Canada has the coolest tiled background ever: a brown beaver!


... and yes, I am a nerd.

March 05, 2012 -- 7:49 AM
posted by alison

Well, I never thought I'd see a former highschool classmate in Vanity Fair's celebrity issue... I've seen friends in their Green issues before, but this is a new one.

Just for you Jere:

They even got her name right, she's not "and guest" like a lot of the other non-celebs.

February 24, 2012 -- 7:43 PM
posted by Beck

And awesome news about Hemsky!

February 24, 2012 -- 7:42 PM
posted by Beck

No, if it was placeholders I wouldn't be annoyed. It was actually 2 or 3 sentences in english, and then the same 2 or 3 sentences run through google translate french. Hard coded and committed to the repository.

February 24, 2012 -- 5:20 PM
posted by Par

February 24, 2012 -- 2:42 PM
posted by Par

Are those placeholders, or was it really "Some english phrase"? In any case, clearly it's far better than t(). Because it is.

February 23, 2012 -- 1:20 PM
posted by Beck

So in the theme of the project I'm working on, there's a relic bit of code that isn't even used anymore that looks like this: t('Comments');

The t() is a native Drupal translation function that takes the input "Comments" and translates it to the users current language. He doesn't really like it that way though, he wants it directly through the database of the CMS (which will just run it through t anyway)... fair enough, it can be done either way and both is technically acceptable.

So he creates a bug report for it.

Then he goes and adds to the theme himself.


if($language->language == "en"){
echo "Some english phrase";
}

if($language->language == "fr"){
echo "Some french phrase";
}

February 22, 2012 -- 9:14 AM
posted by Tonestar Runner

load more posts . . .