Translate cut and copy in the edit menu.

Also condense some code.