Brings back the fix for document uploaded message translation

This fix was introduced in d170d5ce6 but was later lost in the merge process.