improve warning message

This commit is contained in:
Wolfram Schneider 2017-10-12 15:19:45 +00:00
parent 2ccc12750d
commit 36b10d75a9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51113

View file

@ -43,7 +43,7 @@ MASTER_SRCS!= ${MAKE} -C ${EN_DIR} -V SRCS
${DOC}.translate.xml:
.if ${TRAN_DIR} == ${EN_DIR}
@${ECHO} "build PO file in a non-English dir, ignored"
@${ECHO} "Please build PO file only in a non-English dir, ignored"
.else
# some SRCS files might need to be generated, make sure they exist
${MAKE} -C ${EN_DIR} ${MASTER_SRCS} > /dev/null
@ -82,7 +82,7 @@ ${PO_LANG}.mo: ${PO_LANG}.po
tran ${DOC}.xml: ${DOC}.translate.xml ${PO_LANG}.mo
.if ${TRAN_DIR} == ${EN_DIR}
@${ECHO} "build translation in a non-English dir, ignored"
@${ECHO} "Please build translation only in a non-English dir, ignored"
.else
${ITSTOOL} -l ${PO_LANG} -m ${PO_LANG}.mo -o ${DOC}.xml ${DOC}.translate.xml
.endif