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/helper/lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/helper/lang.php') diff --git a/src/web/helper/lang.php b/src/web/helper/lang.php index b0638a6..f7d69e6 100644 --- a/src/web/helper/lang.php +++ b/src/web/helper/lang.php @@ -26,7 +26,7 @@ function ilang($key, $sub = NULL, $button = FALSE, ) { - $text = lang($key . "_text", FALSE, sub: $sub); + $text = ucfirst(lang($key . "_text", FALSE, sub: $sub)); $tip = lang($key . "_tip", FALSE, sub: $sub); $icon = lang($key . "_icon", FALSE); $content = lang($key . "_content", FALSE); -- cgit v1.2.3-freya