]> git.proxmox.com Git - mirror_novnc.git/blobdiff - po/Makefile
Merge pull request #774 from novnc/refactor/es6-module-loader
[mirror_novnc.git] / po / Makefile
index b64b7638d597409e9d2ce90e01df5ee24ee5fb2c..8c6000ba27c715a779c6ae6e7411f61d1a5d6991 100644 (file)
@@ -6,14 +6,14 @@ LINGUAS := de el nl sv
 VERSION := $(shell grep '"version"' ../package.json | cut -d '"' -f 4)
 
 POFILES := $(addsuffix .po,$(LINGUAS))
-JSFILES := $(addprefix ../app/locale/,$(addsuffix .js,$(LINGUAS)))
+JSONFILES := $(addprefix ../app/locale/,$(addsuffix .json,$(LINGUAS)))
 
 update-po: $(POFILES)
-update-js: $(JSFILES)
+update-js: $(JSONFILES)
 
 %.po: noVNC.pot
        msgmerge --update --lang=$* $@ $<
-../app/locale/%.js: %.po
+../app/locale/%.json: %.po
        ./po2js $< $@
 
 update-pot: