diff options
| author | 2020-06-22 13:24:55 +0200 | |
|---|---|---|
| committer | 2020-06-22 13:24:55 +0200 | |
| commit | d7d39f07368379e7ef1619e52cc50c0920ce8351 (patch) | |
| tree | edd4235ab248d284afdcd826d391647c8d62e3f8 /Makefile | |
| parent | 051f1649f705dd77febd39c8f4a53c97f4c1115f (diff) | |
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
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
