Commit Graph

3 Commits (master)

Author SHA1 Message Date
Wuzzy ad8aa36b25 Update bash_completion (partially) 2020-06-14 05:49:26 +02:00
Louis Royer 780eecb893 Add --no-old-file option parameter
When you are working with git, it can seems useless to copy old
translations in *.old files since we have access to old versions with
git. Using this setting means you do not have to remove locale/*.old
files before commit (or to add them to .gitignore). By default, *.old
files are created (this is opt-in).

Fixes typo in command given for bash_completion in README.md.
2020-03-09 18:32:09 +01:00
Louis Royer af0fca890f Add bash_completion
When running on linux to install bash_completion for i18n, you can run

```bash
mkdir -p ${XDG_DATA_HOME:-$HOME/.local/share}/bash-completions/completions
ln -s $PWD/bash-completions/completions/i18n ${XDG_DATA_HOME:-$HOME/.local/share}/bash-completions/completions/i18n

```

This will provide bash autocompletion for this script (you have to run
it without using `python3 i18n` command, use `./i18n.py` instead (or `i18n.py` if provided by `$PATH`)).
2020-02-20 12:53:44 +01:00