Update main.php

Add some missing lines, Sort by an alphabetical way, translation for
most of the lines (not all, perhaps someday)