Skip to content

Find way to suppress warnings about hardcoded strings in testing methods

It is possible to look for potential issues with missing translations with IntelliJ's assistance by using CodeInspect Code to avoid issues like #287 (closed) in the future. However with the many strings that we do not translate deliberately, this inspection is very tedious to check. If we find some way of suppressing those warnings on some of our methods (such as most main methods we use for testing), similar to this annotation, i.e. something like @SuppressLint("SetTextI18n"), this will become much more efficient. But I'm not sure how to do that. @SuppressLint seems to be Android-only.