improve warning message
This commit is contained in:
parent
2ccc12750d
commit
36b10d75a9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51113
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue