From d7d39f07368379e7ef1619e52cc50c0920ce8351 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Mon, 22 Jun 2020 13:24:55 +0200 Subject: Change how updating a key works (#3072) Before, to update a key from the reference language (en), the key was deleted then created. This way was unproductive for all keys already translated. Now, the key is updated in all untranslated languages. See https://github.com/FreshRSS/FreshRSS/pull/3068#issuecomment-646868894 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d19d40fa6..f69507270 100644 --- a/Makefile +++ b/Makefile @@ -125,8 +125,7 @@ endif ifndef value $(error To update a key, you need to provide its value in the "value" variable) endif - @$(PHP) ./cli/manipulate.translation.php -a delete -k $(key) - @$(PHP) ./cli/manipulate.translation.php -a add -k $(key) -v "$(value)" + @$(PHP) ./cli/manipulate.translation.php -a add -k $(key) -v "$(value)" -l en @echo Key updated. .PHONY: i18n-ignore-key -- cgit v1.2.3