git-gui: Refactor diff popup into a procedure to ease i18n work