Procházet zdrojové kódy

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

By analogy with <https://github.com/FreshRSS/FreshRSS/pull/2996>.
Frans de Jonge před 5 roky
rodič
revize
cf13507349
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -150,6 +150,10 @@ endif
 rtl: ## Generate RTL CSS files
 rtl: ## Generate RTL CSS files
 	rtlcss -d p/themes && find . -type f -name '*.rtl.rtl.css' -delete
 	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 ##
 ## HELP ##
 ##########
 ##########