Thread:Support/New plural rules for Scots Gaelic (gd)

I could do with some help to add rules for Scots Gaelic plurals. We've recently had to do that for Firefox too but I'm not good with programming but here is the ruleset we formulated over at Mozilla:

The formula for Gaelic (gd) plurals is: Form 1 is for 1, 11, 21, 31; Form 2 is for 2, 12, 22, 32; Form 3 is for 3-10, 13-19, 23-29, 33-39; Form 4 is everything else: 20, 30, 40+

"Plural-Forms: nplurals=4; plural=(n%10==1 && n < 40) ? 0 : (n%10==2 && n < 40) ? 1 : (n==10 || (n%10 > 2 && n < 40)) ? 2 : 3\n"

Thanks very much :)