Commit 5b25323a authored by Ellon Mendes's avatar Ellon Mendes
Browse files

[bst] Fix some language dependent automatic generated names (chapter/chapitre, editor/editeur, etc)

parent 38db5ea8
...@@ -250,8 +250,8 @@ FUNCTION {format.editors} ...@@ -250,8 +250,8 @@ FUNCTION {format.editors}
{ "" } { "" }
{ editor format.names { editor format.names
editor num.names$ #1 > editor num.names$ #1 >
{ ", editeurs" * } { ", \iftoggle{ThesisInEnglish}{editors}{editeurs}" * }
{ ", editeur" * } { ", \iftoggle{ThesisInEnglish}{editor}{editeur}" * }
if$ if$
} }
if$ if$
...@@ -347,13 +347,13 @@ FUNCTION {format.number.series} ...@@ -347,13 +347,13 @@ FUNCTION {format.number.series}
{ number empty$ { number empty$
{ series field.or.null } { series field.or.null }
{ output.state mid.sentence = { output.state mid.sentence =
{ "num\'ero" } { "\iftoggle{ThesisInEnglish}{number}{num\'ero}" }
{ "Nume\'ero" } { "\iftoggle{ThesisInEnglish}{Number}{Nume\'ero}" }
if$ if$
number tie.or.space.connect number tie.or.space.connect
series empty$ series empty$
{ "there's a number but no series in " cite$ * warning$ } { "there's a number but no series in " cite$ * warning$ }
{ " de " * series * } { " \iftoggle{ThesisInEnglish}{in}{de} " * series * }
if$ if$
} }
if$ if$
...@@ -366,8 +366,8 @@ FUNCTION {format.edition} ...@@ -366,8 +366,8 @@ FUNCTION {format.edition}
{ edition empty$ { edition empty$
{ "" } { "" }
{ output.state mid.sentence = { output.state mid.sentence =
{ edition "l" change.case$ " \'edition" * } { edition "l" change.case$ " \iftoggle{ThesisInEnglish}{edition}{\'edition}" * }
{ edition "t" change.case$ " \'edition" * } { edition "t" change.case$ " \iftoggle{ThesisInEnglish}{edition}{\'edition}" * }
if$ if$
} }
if$ if$
...@@ -425,7 +425,7 @@ FUNCTION {format.chapter.pages} ...@@ -425,7 +425,7 @@ FUNCTION {format.chapter.pages}
{ chapter empty$ { chapter empty$
'format.pages 'format.pages
{ type empty$ { type empty$
{ "chapitre" } { "\iftoggle{ThesisInEnglish}{chapter}{chapitre}" }
{ type "l" change.case$ } { type "l" change.case$ }
if$ if$
chapter tie.or.space.connect chapter tie.or.space.connect
...@@ -441,8 +441,8 @@ FUNCTION {format.in.ed.booktitle} ...@@ -441,8 +441,8 @@ FUNCTION {format.in.ed.booktitle}
{ booktitle empty$ { booktitle empty$
{ "" } { "" }
{ editor empty$ { editor empty$
{ "In " booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " booktitle * }
{ "In " format.editors * ", " * booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " format.editors * ", " * booktitle * }
if$ if$
} }
if$ if$
...@@ -469,7 +469,7 @@ FUNCTION {format.thesis.type} ...@@ -469,7 +469,7 @@ FUNCTION {format.thesis.type}
FUNCTION {format.tr.number} FUNCTION {format.tr.number}
{ type empty$ { type empty$
{ "Rapport technique" } { "\iftoggle{ThesisInEnglish}{Technical Report}{Rapport technique}" }
'type 'type
if$ if$
number empty$ number empty$
...@@ -549,10 +549,10 @@ FUNCTION {format.incoll.inproc.crossref} ...@@ -549,10 +549,10 @@ FUNCTION {format.incoll.inproc.crossref}
crossref * warning$ crossref * warning$
"" ""
} }
{ "In " key * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " key * }
if$ if$
} }
{ "In " booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " booktitle * }
if$ if$
} }
{ "In " format.crossref.editor * } { "In " format.crossref.editor * }
......
...@@ -250,8 +250,8 @@ FUNCTION {format.editors} ...@@ -250,8 +250,8 @@ FUNCTION {format.editors}
{ "" } { "" }
{ editor format.names { editor format.names
editor num.names$ #1 > editor num.names$ #1 >
{ ", editeurs" * } { ", \iftoggle{ThesisInEnglish}{editors}{editeurs}" * }
{ ", editeur" * } { ", \iftoggle{ThesisInEnglish}{editor}{editeur}" * }
if$ if$
} }
if$ if$
...@@ -347,13 +347,13 @@ FUNCTION {format.number.series} ...@@ -347,13 +347,13 @@ FUNCTION {format.number.series}
{ number empty$ { number empty$
{ series field.or.null } { series field.or.null }
{ output.state mid.sentence = { output.state mid.sentence =
{ "num\'ero" } { "\iftoggle{ThesisInEnglish}{number}{num\'ero}" }
{ "Nume\'ero" } { "\iftoggle{ThesisInEnglish}{Number}{Nume\'ero}" }
if$ if$
number tie.or.space.connect number tie.or.space.connect
series empty$ series empty$
{ "there's a number but no series in " cite$ * warning$ } { "there's a number but no series in " cite$ * warning$ }
{ " de " * series * } { " \iftoggle{ThesisInEnglish}{in}{de} " * series * }
if$ if$
} }
if$ if$
...@@ -366,8 +366,8 @@ FUNCTION {format.edition} ...@@ -366,8 +366,8 @@ FUNCTION {format.edition}
{ edition empty$ { edition empty$
{ "" } { "" }
{ output.state mid.sentence = { output.state mid.sentence =
{ edition "l" change.case$ " \'edition" * } { edition "l" change.case$ " \iftoggle{ThesisInEnglish}{edition}{\'edition}" * }
{ edition "t" change.case$ " \'edition" * } { edition "t" change.case$ " \iftoggle{ThesisInEnglish}{edition}{\'edition}" * }
if$ if$
} }
if$ if$
...@@ -425,7 +425,7 @@ FUNCTION {format.chapter.pages} ...@@ -425,7 +425,7 @@ FUNCTION {format.chapter.pages}
{ chapter empty$ { chapter empty$
'format.pages 'format.pages
{ type empty$ { type empty$
{ "chapitre" } { "\iftoggle{ThesisInEnglish}{chapter}{chapitre}" }
{ type "l" change.case$ } { type "l" change.case$ }
if$ if$
chapter tie.or.space.connect chapter tie.or.space.connect
...@@ -441,8 +441,8 @@ FUNCTION {format.in.ed.booktitle} ...@@ -441,8 +441,8 @@ FUNCTION {format.in.ed.booktitle}
{ booktitle empty$ { booktitle empty$
{ "" } { "" }
{ editor empty$ { editor empty$
{ "In " booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " booktitle * }
{ "In " format.editors * ", " * booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " format.editors * ", " * booktitle * }
if$ if$
} }
if$ if$
...@@ -469,7 +469,7 @@ FUNCTION {format.thesis.type} ...@@ -469,7 +469,7 @@ FUNCTION {format.thesis.type}
FUNCTION {format.tr.number} FUNCTION {format.tr.number}
{ type empty$ { type empty$
{ "Rapport technique" } { "\iftoggle{ThesisInEnglish}{Technical Report}{Rapport technique}" }
'type 'type
if$ if$
number empty$ number empty$
...@@ -549,10 +549,10 @@ FUNCTION {format.incoll.inproc.crossref} ...@@ -549,10 +549,10 @@ FUNCTION {format.incoll.inproc.crossref}
crossref * warning$ crossref * warning$
"" ""
} }
{ "In " key * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " key * }
if$ if$
} }
{ "In " booktitle * } { "\iftoggle{ThesisInEnglish}{In}{Dans} " booktitle * }
if$ if$
} }
{ "In " format.crossref.editor * } { "In " format.crossref.editor * }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment