Ignore blank spaces at the end of a phrase

Hi,

It’s become recurrent that on new doctypes or fields merged for new functions, a blank space was left at the end of a label. That blank space causes that the word or phrase is not translated.

I have never raised a PR and I would really appreciate if anyone could assist to do it. There most be a way to delete any blank space at the end of a label before saving or avoid saving.

For example “Date” that it’s used in many doctypes.