translations #1

This commit is contained in:
2023-11-26 23:53:31 +01:00
parent 5fa660037e
commit 07c02052fd
9 changed files with 288 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ struct RootPage {
static_host: String,
cv: CV,
download_cv_url: String,
lang: I18n,
lang: String,
}
#[get("/")]
@@ -21,6 +21,7 @@ pub async fn index(presentation_config: &State<PresentationConfig>, cv_config: &
static_host: presentation_config.static_route.clone(),
cv,
download_cv_url: "FIXME!".to_string(),
lang: "en".to_string(),
},
Err(e) => {
error!("Can't fetch CV data from backend {:?}", e);