joinpeertube/Makefile

27 lines
696 B
Makefile
Raw Normal View History

2018-03-21 07:04:22 +00:00
all: hugo
locales:
2018-03-30 13:27:39 +00:00
txt2po --progress=none --duplicates=merge -P -i content/home.fr.md -o pot/home.pot
txt2po --progress=none --duplicates=merge -P -i content/faq.fr.md -o pot/faq.pot
2018-05-24 10:23:54 +00:00
txt2po --progress=none --duplicates=merge -P -i content/hall-of-fame.fr.md -o pot/hall-of-fame.pot
2018-03-30 13:27:39 +00:00
txt2po --progress=none --duplicates=merge -P -i config/en.toml -o pot/config.pot
2018-03-21 07:04:22 +00:00
push-locales: locales
zanata-cli -q -B push
pull-locales:
2018-03-30 13:27:39 +00:00
zanata-cli -q -B pull --min-doc-percent 75
2018-03-21 07:04:22 +00:00
./.po2txt.sh
2018-03-30 13:27:39 +00:00
clean-locales:
rm po/*
2018-03-21 07:04:22 +00:00
stats-locales:
zanata-cli -q stats
hugo:
hugo --config=config.toml,`ls config/*toml | paste -sd "," -`
serve:
hugo serve --config=config.toml,`ls config/*toml | paste -sd "," -`