Move post type declaration into main class, improve textdomain syntax and update FR translation