diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-07-15 00:18:04 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-07-15 00:18:04 +0800 |
| commit | 08e6e289626620abd5dea49c0485fa80dc011e79 (patch) | |
| tree | 1bfb0f7746ca207bded81616f18782d5eb9871c9 /libs/lang/moe.php | |
| parent | 0615f62964b26f5d2f54da3c9262a1ea17df41ce (diff) | |
:poop: Add: 初步实现多语言功能,并使用 hint.css 添加 tooltip
Diffstat (limited to 'libs/lang/moe.php')
| -rw-r--r-- | libs/lang/moe.php | 62 |
1 files changed, 41 insertions, 21 deletions
diff --git a/libs/lang/moe.php b/libs/lang/moe.php index e02a582..b7aee4c 100644 --- a/libs/lang/moe.php +++ b/libs/lang/moe.php @@ -1,22 +1,24 @@ <?php //语言包信息 -$langInfo = array( +$GLOBALS['langInfo'] = array( "name" => "萌语", "author" => "Eltrac", "last_update" => "2020\/5\/3" ); //文章 -$postTexts = array( +$GLOBALS['postTexts'] = array( "read_more" => "戳进去康", - "sort_title" => "垃圾分类", + "sort_title" => "垃圾分类:这是 %s 垃圾", "post_time" => "在 %s 的时候粗生的", "post_views" => "被偷窥 %s 次惹", "post_anchor" => "戳我!戳我!", - "post_share" => "种草给 %s", - "post_tag" => "这个人好懒哦,连标签都不写的" + "post_share" => "种草给:", + "post_tag" => "这个人好懒哦,连标签都不写的", + "post_timeAlert_1" => "这篇文是在 %s 天前水的,", + "post_timeAlert_2" => "憨憨作者 %s 天前改了下,估计不能看了。" ); //评论表单 -$commentFormTexts = array( +$GLOBALS['commentFormTexts'] = array( "nameInput" => "你叫啥名啊*", "emailInput" => "你的邮箱在哪哇*", "urlInput" => "http(s):\/\/", @@ -24,48 +26,66 @@ $commentFormTexts = array( "submitLoading" => "在发了在发了" ); //评论列表 -$commentListTexts = array( +$GLOBALS['commentListTexts'] = array( "byAuthor" => "傻子", "commentNum" => "%s 条咸鱼躺在这", "commentNumNone" => "连一条咸鱼都没有", "commentHidden" => "评论列表被博主吃了!你看不到评论了!", "commentClosed" => "评论功能被博主吃了!你不能评论了!", - "commentWaiting" => "博主正在检查你有没有 ghs" + "commentWaiting" => "博主正在检查你有没有 ghs", + "commentStatus" => "你素 ", + "commentLogout" => "我不做人了!" ); //页脚 -$footerTexts = array( - "startTime" => "苟延残喘了 %s", - "startTimeDay" => "%s 天", - "startTimeHour" => "%s 小时", - "startTimeMin" => "%s 分", - "startTimeSec" => "%s 秒" +$GLOBALS['footerTexts'] = array( + "startTime" => "苟延残喘了", + "startTimeDay" => " 天 ", + "startTimeHour" => " 小时 ", + "startTimeMin" => " 分 ", + "startTimeSec" => " 秒 ", + "startTimeYear" => " 年 " ); //页眉 -$headerTexts = array( +$GLOBALS['headerTexts'] = array( "loginAlready" => "登陆了,快爪巴", "loginAlreadyInfo" => "你素 %s!奶思吐蜜特由", "loginAdminEntrance" => "去后宫", "loginTitle" => "快点进来", "loginUsername" => "你哒名字", "loginPassword" => "密码!我不会看的 qwq", - "loginSubmit" => "爪巴进去" + "loginSubmit" => "爪巴进去", + "navTitle" => "要去哪里", + "drawerHome" => "回家" ); //归档页面 -$archivePageTexts = array( +$GLOBALS['archivePageTexts'] = array( "archiveTagTitle" => "博主贴的标签", "archivePostTitle" => "博主写的水文", - "archiveTimeYear" => "%s 年的水" + "archiveTimeYear" => "年的水", + "archiveYearTotal" => "这年水了 %s 篇文", + "archiveStart" => "从 %s 开始水文" +); +//检索 +$GLOBALS['archivesTitles'] = array( + 'category' => _t('分类 %s 下的水文'), + 'search' => _t('搜 %s 粗来的水文'), + 'tag' => _t('标签 %s 下的水文'), + 'author' => _t('%s 这个憨憨水的文章') ); //关于页面 -$aboutPageTexts = array( +$GLOBALS['aboutPageTexts'] = array( "aboutShareGithub" => "GayHub", "aboutShareQQ" => "疼讯扣扣", "aboutShareB" => "某破站", "aboutShareEmail" => "是邮箱呢!" ); //说说页面 -$sayingPageTexts = array( +$GLOBALS['sayingPageTexts'] = array( "sayingPlaceholder" => "嘤嘤嘤 QAQ", "sayingSubmit" => "发粗去" ); -?>
\ No newline at end of file +//其他 +$GLOBALS['otherTexts'] = array( + "copyrightAlert" => "呐呐呐,没有说的话这篇文就是我写的,转载请注明我的名字鸭", + "goTop" => "爬到上面" +);
\ No newline at end of file |
