Browse Source

Templates: specify file type for cover pictures

remotes/origin/translate_notes
Romain Goffe 14 years ago
parent
commit
da2d4f73ce
  1. 2
      songbook.py
  2. 2
      templates/ancient.tmpl
  3. 2
      templates/patacrep-en.tmpl
  4. 2
      templates/patacrep.tmpl
  5. 2
      templates/ubuntu.tmpl

2
songbook.py

@ -42,6 +42,8 @@ def toValue(parameter, data):
return data+'pt'
elif parameter["type"] == "enum":
return data
elif parameter["type"] == "file":
return data
elif parameter["type"] == "flag":
if "join" in parameter:
joinText = parameter["join"]

2
templates/ancient.tmpl

@ -33,7 +33,7 @@
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "default":"feel-the-music"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"},

2
templates/patacrep-en.tmpl

@ -33,7 +33,7 @@
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "default":"Music_by_Katie8594"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"Music_by_Katie8594"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"Katie8594 @ deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license-en.tex}"},

2
templates/patacrep.tmpl

@ -33,7 +33,7 @@
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "default":"feel-the-music"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"},

2
templates/ubuntu.tmpl

@ -33,7 +33,7 @@
%%: {"name":"subtitle", "description":"Subtitle", "default":"ubuntu version"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "default":"feel-the-music"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"},

Loading…
Cancel
Save