Modified cocoa.lua for translation