瀏覽代碼

[i18n] Add a `make pot` command to Makefile (#3006)

By analogy with <https://github.com/FreshRSS/FreshRSS/pull/2996>.
Frans de Jonge 6 年之前
父節點
當前提交
cf13507349
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -150,6 +150,10 @@ endif
 rtl: ## Generate RTL CSS files
 	rtlcss -d p/themes && find . -type f -name '*.rtl.rtl.css' -delete
 
+.PHONY: pot
+pot: ## Generate POT templates for docs
+	cd docs && ../cli/translation-update.sh
+
 ##########
 ## HELP ##
 ##########