From 4c8d58b646ac62e67fc34c12f8cad51e7512bee3 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 5 Apr 2024 15:00:27 -0400 Subject: add en_CAT makefile and use ucfirst/ucwords --- src/web/_controller/modal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/_controller') diff --git a/src/web/_controller/modal.php b/src/web/_controller/modal.php index 03074d4..40a2b42 100644 --- a/src/web/_controller/modal.php +++ b/src/web/_controller/modal.php @@ -11,7 +11,7 @@ class Modal_controller extends Controller { * @param array $data */ private function modal($name, $data = array()): void { - $title = lang($name . '_modal_title'); + $title = ucwords(lang($name . '_modal_title')); $data['title'] = $title; $data['content'] = $name; $this->view('template/modal', $data); -- cgit v1.2.3-freya