Fix l10n and make newlines work in the custom dialog