Fixes for french translation
This commit is contained in:
parent
9e563acd09
commit
ed190ef35a
File diff suppressed because one or more lines are too long
|
@ -151,7 +151,13 @@
|
||||||
<div class="contact-item">
|
<div class="contact-item">
|
||||||
<div class="icon pull-left text-center"><span class="fa fa-map-marker fa-fw"></span></div>
|
<div class="icon pull-left text-center"><span class="fa fa-map-marker fa-fw"></span></div>
|
||||||
{{if .Basic.Location.Address}}<div class="title pull-right">{{.Basic.Location.Address}}</div>{{- end}}
|
{{if .Basic.Location.Address}}<div class="title pull-right">{{.Basic.Location.Address}}</div>{{- end}}
|
||||||
<div class="title {{if not .Basic.Location.Address}}only {{- end}} pull-right">{{.Basic.Location.City}}{{if .Basic.Location.Region}}, {{.Basic.Location.Region}}{{- end}}{{if .Basic.Location.PostalCode}} {{.Basic.Location.PostalCode}}{{- end}}{{if .Basic.Location.CountryCode}} {{.Basic.Location.CountryCode}}{{- end}}</div>
|
<div class="title {{if not .Basic.Location.Address}}only {{- end}} pull-right">
|
||||||
|
{{- if eq .Language "fr" -}}
|
||||||
|
{{if .Basic.Location.PostalCode}}{{.Basic.Location.PostalCode}}, {{end}}{{.Basic.Location.City}}{{if .Basic.Location.Region}}, {{.Basic.Location.Region}}{{- end}}{{if .Basic.Location.CountryCode}} {{.Basic.Location.CountryCode}}{{- end}}
|
||||||
|
{{- else -}}
|
||||||
|
{{.Basic.Location.City}}{{if .Basic.Location.Region}}, {{.Basic.Location.Region}}{{- end}}{{if .Basic.Location.PostalCode}} {{.Basic.Location.PostalCode}}{{- end}}{{if .Basic.Location.CountryCode}} {{.Basic.Location.CountryCode}}{{- end}}
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{if .Basic.Phone -}}
|
{{if .Basic.Phone -}}
|
||||||
|
|
|
@ -150,6 +150,8 @@ func iconClass(network string) string {
|
||||||
return "fa fa-gitlab"
|
return "fa fa-gitlab"
|
||||||
case "keybase":
|
case "keybase":
|
||||||
return "fa fa-key"
|
return "fa fa-key"
|
||||||
|
case "gitea":
|
||||||
|
return "fa fa-git"
|
||||||
default:
|
default:
|
||||||
return "fa fa-" + network
|
return "fa fa-" + network
|
||||||
}
|
}
|
||||||
|
@ -182,7 +184,7 @@ func setupFrenchTranslation() {
|
||||||
Langs["fr"] = LangString{
|
Langs["fr"] = LangString{
|
||||||
TitlePrefix: "CV de",
|
TitlePrefix: "CV de",
|
||||||
About: "À propos",
|
About: "À propos",
|
||||||
Contact: "Contact",
|
Contact: "Coordonnées",
|
||||||
WorkExperience: "Expérience Professionnelle",
|
WorkExperience: "Expérience Professionnelle",
|
||||||
Awards: "Récompenses",
|
Awards: "Récompenses",
|
||||||
Volunteer: "Bénévolat",
|
Volunteer: "Bénévolat",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user