Replace non-localized errors with message ID variants
Replace non-localized AddError(std::string) instances with the variant which accepts a message ID (and optionally placeholder arguments). Remove AddError(std::string) variants to encourage developers to define localization-supported policy strings instead of hard-coding errors. Bug: 1153894 Change-Id: I014522a16e6bff74832c2de797763623037c7000 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566692 Commit-Queue: Igor Ruvinov <igorruvinov@chromium.org> Reviewed-by:Alexander Hendrich <hendrich@chromium.org> Reviewed-by:
Julian Pastarmov <pastarmovj@chromium.org> Reviewed-by:
Yann Dago <ydago@chromium.org> Cr-Commit-Position: refs/heads/master@{#833905}
Showing
Please register or sign in to comment