admin/sync: rename Indice to Astuce
This commit is contained in:
parent
db9077a85c
commit
6cc40be36a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func SyncExerciceHints(i Importer, exercice fic.Exercice) []string {
|
|||
if hint_cnt, err := getFileContent(i, path.Join(exercice.Path, "hints", hfile)); err != nil {
|
||||
errs = append(errs, fmt.Sprintf("%q: unable to read hint file %q: %s", path.Base(exercice.Path), hfile, err))
|
||||
continue
|
||||
} else if _, err := exercice.AddHint(fmt.Sprintf("Indice #%d", n + 1), hint_cnt, 1); err != nil {
|
||||
} else if _, err := exercice.AddHint(fmt.Sprintf("Astuce #%d", n + 1), hint_cnt, 1); err != nil {
|
||||
errs = append(errs, fmt.Sprintf("%q: unable to add hint %q: %s", path.Base(exercice.Path), hfile, err))
|
||||
continue
|
||||
}
|
||||
|
|
Reference in a new issue