diff options
author | Freya Murphy <freya@freyacat.org> | 2024-04-05 15:00:27 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-04-05 15:00:27 -0400 |
commit | 4c8d58b646ac62e67fc34c12f8cad51e7512bee3 (patch) | |
tree | 432351cce0acccd9a986872f7ea020dae14b0c71 /src/web/helper/lang.php | |
parent | user menu (diff) | |
download | xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.gz xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.bz2 xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.zip |
add en_CAT makefile and use ucfirst/ucwords
Diffstat (limited to 'src/web/helper/lang.php')
-rw-r--r-- | src/web/helper/lang.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |