diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4474564 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "i18n"] + path = i18n + url = https://tildegit.org/southerntofu/git-build-i18n diff --git a/README.md b/README.md index 6b9700e..95437c1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ Rust reimplementation of git-build.sh # Running -Requires the translation files from git-build.sh. TODO: Use a dedicated repository for translations, with a git submodule +Requires the translation files to run. They are included in a submodule, you need to use `--recursive` with git: + +``` +git clone --recursive https://tildegit.org/southerntofu/git-build.rs +``` ``` LANG=fr LOG=debug I18N=~/git-build.sh/i18n/ cargo run --release diff --git a/i18n b/i18n new file mode 160000 index 0000000..5fd01cc --- /dev/null +++ b/i18n @@ -0,0 +1 @@ +Subproject commit 5fd01cce804b3863abb4f465365df8051ba86ab2