diff --git a/locales/en.ftl b/locales/en.ftl index 5276f1f..bc55568 100644 --- a/locales/en.ftl +++ b/locales/en.ftl @@ -1 +1,2 @@ fedihub = FediHub +federated-services-without-censorship = Federated services without censorship. diff --git a/locales/ru.ftl b/locales/ru.ftl index 5276f1f..0f35276 100644 --- a/locales/ru.ftl +++ b/locales/ru.ftl @@ -1 +1,2 @@ fedihub = FediHub +federated-services-without-censorship = Федеративные сервисы без цензуры. diff --git a/src/routes/home.rs b/src/routes/home.rs index 9dcafa6..1ee70e1 100644 --- a/src/routes/home.rs +++ b/src/routes/home.rs @@ -16,6 +16,7 @@ pub fn index( ) -> Result { let page_context = views::home::Index { i18n_fedihub: i18n.dummy_translate("en", "fedihub"), + i18n_federated_services_without_censorship: i18n.dummy_translate("en", "federated-services-without-censorship"), }; let context = views::Site { diff --git a/src/views.rs b/src/views.rs index aa97864..86f4294 100644 --- a/src/views.rs +++ b/src/views.rs @@ -19,6 +19,7 @@ pub mod home { #[derive(Serialize)] pub struct Index { pub i18n_fedihub: String, + pub i18n_federated_services_without_censorship: String, } } diff --git a/templates/home/index.html.hbs b/templates/home/index.html.hbs index 100d992..7c62257 100644 --- a/templates/home/index.html.hbs +++ b/templates/home/index.html.hbs @@ -1,6 +1,6 @@

{{ i18n_fedihub }}

-

Federated services without censorship.

+

{{ i18n_federated_services_without_censorship }}