Fixed styling. Added personal data consent
Build and Publish / Build and Publish Docker Image (push) Successful in 1m9s
Build and Publish / Build and Publish Docker Image (push) Successful in 1m9s
This commit is contained in:
+10
@@ -181,7 +181,9 @@ pub struct Translations {
|
||||
pub landing_thank_you_back: &'static str,
|
||||
pub landing_guarantee: &'static str,
|
||||
pub landing_testimonials_title: &'static str,
|
||||
pub landing_form_consent: &'static str,
|
||||
pub landing_footer_text: &'static str,
|
||||
pub landing_footer_copyright: &'static str,
|
||||
|
||||
// Testimonials admin
|
||||
pub nav_testimonials: &'static str,
|
||||
@@ -442,7 +444,9 @@ static RU: Translations = Translations {
|
||||
landing_thank_you_back: "Вернуться на главную",
|
||||
landing_guarantee: "Порядочность, честность и строгое выполнение ваших требований гарантировано.",
|
||||
landing_testimonials_title: "Отзывы",
|
||||
landing_form_consent: "Я даю согласие на обработку персональных данных",
|
||||
landing_footer_text: "Пет-ситтинг — забота о вашем питомце",
|
||||
landing_footer_copyright: "Все права защищены",
|
||||
|
||||
nav_testimonials: "Отзывы",
|
||||
testimonials_title: "Отзывы",
|
||||
@@ -635,7 +639,9 @@ static EN: Translations = Translations {
|
||||
landing_thank_you_back: "Back to Home",
|
||||
landing_guarantee: "Integrity, honesty, and strict fulfillment of your requirements guaranteed.",
|
||||
landing_testimonials_title: "Testimonials",
|
||||
landing_form_consent: "I consent to the processing of my personal data",
|
||||
landing_footer_text: "Pet Sitting — caring for your pet",
|
||||
landing_footer_copyright: "All rights reserved",
|
||||
|
||||
nav_testimonials: "Testimonials",
|
||||
testimonials_title: "Testimonials",
|
||||
@@ -657,6 +663,10 @@ static EN: Translations = Translations {
|
||||
};
|
||||
|
||||
impl Translations {
|
||||
pub fn app_version(&self) -> &'static str {
|
||||
env!("CARGO_PKG_VERSION")
|
||||
}
|
||||
|
||||
pub fn lead_status(&self, status: &str) -> &'static str {
|
||||
match status {
|
||||
"new" => self.status_new,
|
||||
|
||||
Reference in New Issue
Block a user