Skip to content

Commit 24dd77e

Browse files
authored
Fix building of docs with latest hugo version (#3856) (#3862)
1 parent af7779d commit 24dd77e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/scripts/trans-copy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ for SOURCE in $(find ${ROOT}/content -type f -iname *.en-us.md); do
2828
if [[ ! -f ${DEST} ]]; then
2929
echo "Creating fallback for ${DEST#${ROOT}/content/}"
3030
cp ${SOURCE} ${DEST}
31+
sed -i.bak "s/en\-us/${LOCALE}/g" ${DEST}
32+
rm ${DEST}.bak
3133
fi
3234
done
3335
done

0 commit comments

Comments
 (0)