From 121a8f83ff88ce090f55a02463a6d9ed27b07cd7 Mon Sep 17 00:00:00 2001 From: Luthaf Date: Wed, 14 May 2014 22:41:53 +0100 Subject: [PATCH] Deplacement de la traduction dans les templates et ajout d'une option. --- songbook_core/data/latex/crepbook.cls | 1 - songbook_core/data/templates/default.tex | 11 ++++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/songbook_core/data/latex/crepbook.cls b/songbook_core/data/latex/crepbook.cls index 060378fa..78681d12 100644 --- a/songbook_core/data/latex/crepbook.cls +++ b/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 :} diff --git a/songbook_core/data/templates/default.tex b/songbook_core/data/templates/default.tex index 821e305f..bf4282fc 100644 --- a/songbook_core/data/templates/default.tex +++ b/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 *)