Browse Source

Deplacement de la traduction dans les templates et

ajout d'une option.
pull/35/head
Luthaf 11 years ago
parent
commit
121a8f83ff
  1. 1
      songbook_core/data/latex/crepbook.cls
  2. 11
      songbook_core/data/templates/default.tex

1
songbook_core/data/latex/crepbook.cls

@ -116,7 +116,6 @@
\IfStrEq{\mainlanguage}{french}{
% French names
\notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol}
\renewcommand{\songlistname}{Liste des chansons}{}
\renewcommand{\labelversionname}{version :}
\renewcommand{\labeldatename}{date :}

11
songbook_core/data/templates/default.tex

@ -58,7 +58,11 @@
"authwords": {"description": {"english": "Set of options to process author string (LaTeX commands authsepword, authignoreword, authbyword)",
"french": "Options pour traiter les noms d'auteurs (commandes LaTeX authsepword, authignoreword, authbyword)"},
"default": {"default": {}}
}
},
"alphascale": {"description": {"english": "Use alphabetic notes names (A B C ...) in french songbooks",
"french": "Utiliser la notation anglo-saxonne (A B C ...) pour les accords"},
"default": {"default": false}
}
}
(* endvariables *)
@ -97,6 +101,11 @@
(* endif *)
(* endfor *)
(* endfor*)
%! lang is defined in layout.tex
(* if lang=="french" and not alphascale *)
\notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol}
(* endif *)
(* endblock *)
(* block title *)

Loading…
Cancel
Save