diff options
| author | 2020-06-05 20:16:04 +0200 | |
|---|---|---|
| committer | 2020-06-05 20:16:04 +0200 | |
| commit | 8c4d71da2ef1366c8fcd3e7dfb7f4566d2f905f4 (patch) | |
| tree | 91c820081a54f8f4fd8f5832a02c4f5e83fc6cde /Makefile | |
| parent | 36bda2e715ed822cc495ff419ad565084e241f43 (diff) | |
Add missing translations (#3034)
* Add missing translations
* Add a simple way to check if an i18n key exists
There is a rule in the makefile to access it directly
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -146,6 +146,14 @@ endif @$(PHP) ./cli/manipulate.translation.php -a ignore -k $(key) -l $(lang) @echo Key ignored. +.PHONY: i18n-key-exists +i18n-key-exists: ## Check if a translation key exists +ifndef key + @echo To check if a key exists, you need to provide one in the "key" variable. + @exit 10 +endif + @$(PHP) ./cli/manipulate.translation.php -a exist -k $(key) + ########### ## TOOLS ## ########### |
