anki/rslib/ftl/scripts/upload-latest-templates
Damien Elmes 4430c67069 rework Fluent handling
- all .ftl files for a language are concatenated into a single file
at build time
- all languages are included in the binary
- external ftl files placed in the ftl folder can override the
built-in definitions
- constants are automatically generated for each string key
- dropped the separate StringsGroup enum
2020-02-23 13:22:50 +10:00

11 lines
186 B
Bash
Executable File

#!/bin/bash
#
# expects to be run from the ftl folder
#
test -d repo || exit 1
rsync -av --delete *.ftl repo/core/templates/
(cd repo && git add core; git commit -m update; git push)