Rework translation only logic
Ignore translation only import only for testing, not for publishing. Change-Id: If9b3d68ebdc18d5c5d6f2bb63ec339c0da2396da
This commit is contained in:
parent
29924459fa
commit
e463cf2f11
|
@ -1470,7 +1470,10 @@ def doctest():
|
|||
print("Only files in www directory changed, nothing to do.\n")
|
||||
return
|
||||
|
||||
if not CONF.force and not CONF.language and only_po_touched():
|
||||
# Build everything if we publish so that regularly all manuals are
|
||||
# published, for testing ignore the locale directories.
|
||||
if (not CONF.force and not CONF.publish and not CONF.language
|
||||
and only_po_touched()):
|
||||
print("Only files in locale directories changed, nothing to do.\n")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue