This is a follow-up of D1335.
uncommit only works for the dot revision. Therefore the advice shouldn't be visible when stripping other revisions.
Besides, added missing i18n functions and added a test.