Use GSettings to store variants (Fix #11)

This commit is contained in:
Romain
2020-04-13 07:27:25 +00:00
parent 83eb667e00
commit 1c1ae515f7
6 changed files with 116 additions and 50 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ build: build-clean
--extra-source=./config.js \
--extra-source=./utils.js \
--extra-source=./modules/ \
--extra-source=./schemas/ \
--podir=./po/ \
--gettext-domain=$(UUID) \
--out-dir=./build \
@@ -73,7 +74,7 @@ pot:
--package-name="$(NAME)" \
--package-version="$(VERSION)" \
--output=./src/po/$(UUID).pot \
./src/**/*.js
./src/**/*.js ./src/**/*.xml
sed -i '1,4s/SOME DESCRIPTIVE TITLE./$(NAME)/g' ./src/po/$(UUID).pot
sed -i '1,4s/YEAR/$(COPYRIGHT_YEAR)/' ./src/po/$(UUID).pot
sed -i "1,4s/THE PACKAGE'S COPYRIGHT HOLDER/$(AUTHOR_NAME)/" ./src/po/$(UUID).pot