Move translations to submodule
This commit is contained in:
parent
74c692ae3b
commit
62374bce97
|
@ -0,0 +1,3 @@
|
|||
[submodule "i18n"]
|
||||
path = i18n
|
||||
url = https://tildegit.org/southerntofu/git-build-i18n
|
|
@ -10,6 +10,8 @@ Lightweight, KISS system to start tasks that depend on a remote git project. Dep
|
|||
|
||||
Simply place git-build.sh in your $PATH. If you want git-build.sh to install itself (via the autoupdater), you can `cp .git-build.sh ~/.git-build.sh && ./git-build.sh` which will create ~/bin/, add it to your $PATH in ~/.bashrc, and keep git-build.sh updated in the future.
|
||||
|
||||
**Note**: In order to download translations, you need to download the i18n git submodule with `git clone --recursive https://tildegit.org/southerntofu/git-build.sh` (TODO: better documentation)
|
||||
|
||||
# Usage
|
||||
|
||||
git-build.sh looks up your ~/.git-build/ to find tasks to run. A task `t` is defined by a `t.source` file containing a git remote, and a `t` executable file that will be run on updates to the corresponding repository.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 5fd01cce804b3863abb4f465365df8051ba86ab2
|
32
i18n/en.json
32
i18n/en.json
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"warning": "WARNING: ",
|
||||
"error": "ERROR: ",
|
||||
"debug": "DEBUG: ",
|
||||
|
||||
"unknown_arg": "Unknown argument/task '$i18n_arg' (no such task or source)",
|
||||
"clone_failed": "$i18n_task: CLONE failed for $i18n_source",
|
||||
"checkout_failed": "$i18n_task: CHECKOUT failed on branch $i18n_branch",
|
||||
"pull_failed": "$i18n_task: PULL failed",
|
||||
|
||||
"loglevel_bad": "LOG level is $LOG which is not understood to be a loglevel (debug, info or error)",
|
||||
|
||||
"host_ignored": "$i18n_task: IGNORED for current host ($HOSTNAME)",
|
||||
"process": "$i18n_task: PROCESS",
|
||||
"to_branch": "$i18n_task: Using branch $i18n_branch",
|
||||
"clone":"$i18n_task: CLONE $source",
|
||||
"pull": "$i18n_task: PULL",
|
||||
"run": "$i18n_task: RUN",
|
||||
"force_flag": "Running task(s) regardless of updates (--force)",
|
||||
"config": "Using config: $i18n_config",
|
||||
"no_task": "No task was specified. Triggering all tasks",
|
||||
|
||||
"default_branch": "$i18n_task: Defaulting to branch master",
|
||||
"checkout": "$i18n_task: Checking out branch $i18n_branch",
|
||||
"already_cloned": "$i18n_task: Task source already downloaded, checking for updates",
|
||||
"forcing": "$i18n_task: Forcing run despite no update found",
|
||||
"no_update": "$i18n_task: No updates found",
|
||||
"found_task": "Found task $i18n_task",
|
||||
"found_url": "Found task $i18n_task from URL $i18n_source",
|
||||
"skipped": "$i18n_task: SKIPPED for current host (task configured for $i18n_host",
|
||||
"start_proc": "$i18n_task: Start processing"
|
||||
}
|
32
i18n/fr.json
32
i18n/fr.json
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"warning": "ATTENTION: ",
|
||||
"error": "ERREUR: ",
|
||||
"debug": "DÉBOGAGE: ",
|
||||
|
||||
"unknown_arg": "Argument/tache inconnue '$i18n_arg' (aucune tache ou source correspondante)",
|
||||
"clone_failed": "$i18n_task: COPIE de $i18n_source échouée",
|
||||
"checkout_failed": "$i18n_task: CHECKOUT échoué pour la branche $i18n_branch",
|
||||
"pull_failed": "$i18n_task: MISE À JOUR échouée",
|
||||
|
||||
"loglevel_bad": "LOG est $LOG qui n'est pas un niveau de log valide (debug, info ou error)",
|
||||
|
||||
"host_ignored": "$i18n_task: IGNORÉE pour cette machine ($HOSTNAME)",
|
||||
"process": "$i18n_task: TRAITEMENT",
|
||||
"to_branch": "$i18n_task: Sélection de la branche $i18n_branch",
|
||||
"clone":"$i18n_task: COPIE de $source",
|
||||
"pull": "$i18n_task: MISE À JOUR",
|
||||
"run": "$i18n_task: ÉXÉCUTION",
|
||||
"force_flag": "Les tâches seront exécutées qu'importent les mises à jour (--force)",
|
||||
"config": "Configuration: $i18n_config",
|
||||
"no_task": "Aucune tache sélectionnée. Déclenchement de toutes les taches",
|
||||
|
||||
"default_branch": "$18n_task: Sans branche spécifiée, sélection de la branche master",
|
||||
"checkout": "$i18n_task: Activation de la branche $i18n_branch",
|
||||
"already_cloned": "$i18n_task: La source est déjà téléchargée, vérification des mises à jour",
|
||||
"forcing": "$i18n_task: Exécution forcée malgré l'absence de mises à jour",
|
||||
"no_update": "$i18n_task: Aucune mise à jour trouvée",
|
||||
"found_task": "Tache trouvée $i18n_task",
|
||||
"found_url": "Tache trouvée $i18n_task depuis l'URL $i18n_source",
|
||||
"skipped": "$i18n_task: PASSÉE pour cette machine (tache configurée pour $i18n_host)",
|
||||
"start_proc": "$i18n_task: Début du traitement"
|
||||
}
|
Loading…
Reference in New Issue