I noticed a few cases of "wether", and while fixing them noticed a few "its" which should be "it's". It all went downhill from there.
These were destined for GLib, but they don't really make sense as a public API. Instead, we'll copy/paste them around between the various codebases that need to render menus.