summaryrefslogtreecommitdiff
path: root/src/web/_views/template/post.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
commit4c8d58b646ac62e67fc34c12f8cad51e7512bee3 (patch)
tree432351cce0acccd9a986872f7ea020dae14b0c71 /src/web/_views/template/post.php
parentuser menu (diff)
downloadxssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.gz
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.bz2
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.zip
add en_CAT makefile and use ucfirst/ucwords
Diffstat (limited to 'src/web/_views/template/post.php')
-rw-r--r--src/web/_views/template/post.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/_views/template/post.php b/src/web/_views/template/post.php
index fb8cef5..3dcae8f 100644
--- a/src/web/_views/template/post.php
+++ b/src/web/_views/template/post.php
@@ -21,7 +21,7 @@
$post_attrs['likeId'] = $post['like_id'];
}
?>
- <span class="likes dim"><span class="count"><?=$post['like_count']?></span><?=' ' . lang('likes')?></span>
+ <span class="likes dim"><span class="count"><?=$post['like_count']?></span><?=' ' . ucfirst(lang('likes'))?></span>
<?php if ($self): ?>
<hr>
<div class="row">
@@ -76,8 +76,8 @@
autocomplete="off"
type="text"
name="text"
- placeholder="<?=lang('action_new_comment_text')?>"
- aria-label="<?=lang('action_new_comment_tip')?>"
+ placeholder="<?=ucfirst(lang('action_new_comment_text'))?>"
+ aria-label="<?=ucfirst(lang('action_new_comment_tip'))?>"
>
</form>
</div>