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. 9
      songbook_core/data/templates/default.tex

1
songbook_core/data/latex/crepbook.cls

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

9
songbook_core/data/templates/default.tex

@ -58,6 +58,10 @@
"authwords": {"description": {"english": "Set of options to process author string (LaTeX commands authsepword, authignoreword, authbyword)", "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)"}, "french": "Options pour traiter les noms d'auteurs (commandes LaTeX authsepword, authignoreword, authbyword)"},
"default": {"default": {}} "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 *) (* endvariables *)
@ -97,6 +101,11 @@
(* endif *) (* endif *)
(* endfor *) (* endfor *)
(* 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 *) (* endblock *)
(* block title *) (* block title *)

Loading…
Cancel
Save