summaryrefslogtreecommitdiffstats
path: root/saying.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-15 00:18:04 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-15 00:18:04 +0800
commit08e6e289626620abd5dea49c0485fa80dc011e79 (patch)
tree1bfb0f7746ca207bded81616f18782d5eb9871c9 /saying.php
parent0615f62964b26f5d2f54da3c9262a1ea17df41ce (diff)
:poop: Add: 初步实现多语言功能,并使用 hint.css 添加 tooltip
Diffstat (limited to 'saying.php')
-rw-r--r--saying.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/saying.php b/saying.php
index 3ecee6c..2a37cf7 100644
--- a/saying.php
+++ b/saying.php
@@ -46,10 +46,10 @@ echo $commentClass;
<?php if($this->user->hasLogin()): ?>
<form method="post" action="<?php $this->commentUrl() ?>" id="comment-form" class="saying-form" role="form">
<p>
- <textarea rows="8" cols="50" name="text" id="textarea" placeholder="Anything interesting happening?" class="OwO-textarea comment-textarea textarea" required ><?php $this->remember('text'); ?></textarea>
+ <textarea rows="8" cols="50" name="text" id="textarea" placeholder="<?php gtecho('sayingPageTexts','sayingPlaceholder'); ?>" class="OwO-textarea comment-textarea textarea" required ><?php $this->remember('text'); ?></textarea>
</p>
<p>
- <button type="submit" class="comment-submit submit"><?php _e('发表新鲜事'); ?></button>
+ <button type="submit" class="comment-submit submit"><?php gtecho('sayingPageTexts','sayingSubmit'); ?></button>
</p>
</form>
<br>