028d7fec2a
- quote the argument, so it is interpreted as single parameter (as it should be) - print the found paths with null terminator, telling xargs to read them that way
10 lines
280 B
Bash
10 lines
280 B
Bash
#!/bin/sh
|
|
|
|
#If this test fails it means you are probably using i18n() in your QML code
|
|
#This should be replaced by i18nd in order to for i18n to load the correct catalog
|
|
|
|
#First arg should be the directory to check
|
|
|
|
! find "$1" -name '*.qml' -print0 | xargs -0 grep 'i18n[^d]*('
|
|
|