From ab9769302fe1cabf95b07e53269a3f3d0d75ddc0 Mon Sep 17 00:00:00 2001 From: Fankai Liu Date: Mon, 11 Dec 2023 20:15:05 +0800 Subject: [PATCH] fix i18n text --- src/utils/create_project.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/create_project.rs b/src/utils/create_project.rs index a355b58..adee94d 100644 --- a/src/utils/create_project.rs +++ b/src/utils/create_project.rs @@ -183,6 +183,9 @@ pub fn write_project_file( }); data["is_starting"] = handlebars::JsonValue::String(t!("is_starting")); data["listen_on"] = handlebars::JsonValue::String(t!("listen_on")); + data["database_connection_failed"] = + handlebars::JsonValue::String(t!("database_connection_failed")); + data["user_does_not_exist"] = handlebars::JsonValue::String(t!("user_does_not_exist")); let mut dependencies = data["dependencies"].clone(); handle_dependencies( &mut dependencies,