Avoid confusing __( for _( in check_commit

This commit is contained in:
Dan Smith 2023-03-14 21:04:21 -07:00 committed by Dan Smith
parent 96b45ef6fe
commit 97d8af35ff

View File

@ -41,7 +41,7 @@ if grep -E 'MemoryMap\(' added_lines; then
fail New uses of MemoryMap should be MemoryMapBytes
fi
if grep -E "_\([^\"']" added_lines; then
if grep -E "[^_]_\([^\"']" added_lines; then
fail 'Translated strings must be literals!'
fi