🎨 完成部分翻译

pull/33/merge
ruibaby 2018-09-07 08:34:47 +08:00
parent b1f47f9151
commit 92d8910fef
22 changed files with 196 additions and 33 deletions

View File

@ -65,6 +65,62 @@ admin.index.widgets.logs-lastest = 最新日志
admin.index.widgets.btn.clear-logs = 清空日志
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
# 附件管理页面
admin.attachments.title = 附件管理
# 备份管理页面
admin.backup.title = 备份管理
# 分类管理页面
admin.categories.title = 分类目录
# 评论管理页面
admin.comments.title = 评论管理
# 菜单管理页面
admin.menus.title = 菜单管理
# 博客设置页面
admin.options.title = 博客设置
# 页面管理页面
admin.pages.title = 页面管理
# 图库页面管理
admin.pages.gallery.title = 图库页面
# 友情链接页面管理
admin.pages.link.title = 友情链接
# 页面编辑页面
admin.pages.edit.title = 页面编辑
# 文章管理页面
admin.posts.title = 文章管理
# 文章编辑页面
admin.posts.edit.title = 文章编辑
# 个人资料页面
admin.user.profile.title = 个人资料
# 标签管理页面
admin.tags.title = 标签
# 主题管理页面
admin.themes.title = 主题管理
# 主题编辑页面
admin.themes.edit.title = 主题编辑
# 关于页面
admin.halo.title = 关于Halo
admin.halo.bread.index = 首页
admin.halo.bread.active = 关于Halo
admin.halo.content.p1 = Halo可能是最好的Java博客系统
admin.halo.content.p2 = 非常感谢你使用Halo进行创作。
admin.halo.content.p3 = 如果在使用过程中出现bug或者无法解决的问题希望各位在使用过程中及时向我反馈。
# 通用
common.btn.save = 保存
common.btn.view-all = 查看所有

View File

@ -65,7 +65,63 @@ admin.index.widgets.logs-lastest = Newest logs
admin.index.widgets.btn.clear-logs = Clear logs
admin.index.blog-data.motto = Come on! Dont forget why you left because youre too far away.
# 通用
# attachments page
admin.attachments.title = Attachments management
# backup page
admin.backup.title = Backup management
# categories page
admin.categories.title = Categories
# comments page
admin.comments.title = Comments management
# menus page
admin.menus.title = Menus management
# options page
admin.options.title = Settings
# pages page
admin.pages.title = Pages management
# pages gallery page
admin.pages.galleries.title = Galleries page
# pages link page
admin.pages.links.title = Links page
# pages edit page
admin.pages.edit.title = Page edit
# posts page
admin.posts.title = Posts management
# posts edit page
admin.posts.edit.title = Post edit
# user profile page
admin.user.profile.title = Profile
# tags page
admin.tags.title = Tags
# themes page
admin.themes.title = Themes management
# themes edit page
admin.themes.edit.title = Theme edit
# about page
admin.halo.title = About Halo
admin.halo.bread.index = Home
admin.halo.bread.active = About halo
admin.halo.content.p1 = Halo may be the best Java blog system.
admin.halo.content.p2 = Thank you very much for writing with Halo.
admin.halo.content.p3 = If there are bugs or problems that cannot be solved during use, I hope that you will give me feedback in time.
# common
common.btn.save = Save
common.btn.view-all = View all
common.btn.upload-image = Upload images

View File

@ -65,6 +65,62 @@ admin.index.widgets.logs-lastest = 最新日志
admin.index.widgets.btn.clear-logs = 清空日志
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
# 附件管理页面
admin.attachments.title = 附件管理
# 备份管理页面
admin.backup.title = 备份管理
# 分类管理页面
admin.categories.title = 分类目录
# 评论管理页面
admin.comments.title = 评论管理
# 菜单管理页面
admin.menus.title = 菜单管理
# 博客设置页面
admin.options.title = 博客设置
# 页面管理页面
admin.pages.title = 页面管理
# 图库页面管理
admin.pages.gallery.title = 图库页面
# 友情链接页面管理
admin.pages.link.title = 友情链接
# 页面编辑页面
admin.pages.edit.title = 页面编辑
# 文章管理页面
admin.posts.title = 文章管理
# 文章编辑页面
admin.posts.edit.title = 文章编辑
# 个人资料页面
admin.user.profile.title = 个人资料
# 标签管理页面
admin.tags.title = 标签
# 主题管理页面
admin.themes.title = 主题管理
# 主题编辑页面
admin.themes.edit.title = 主题编辑
# 关于页面
admin.halo.title = 关于Halo
admin.halo.bread.index = 首页
admin.halo.bread.active = 关于Halo
admin.halo.content.p1 = Halo可能是最好的Java博客系统
admin.halo.content.p2 = 非常感谢你使用Halo进行创作。
admin.halo.content.p3 = 如果在使用过程中出现bug或者无法解决的问题希望各位在使用过程中及时向我反馈。
# 通用
common.btn.save = 保存
common.btn.view-all = 查看所有

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:媒体库">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.attachments.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:备份"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.backup.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:分类目录"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.categories.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:评论"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.comments.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="关于Halo"></@head>
<@head><@spring.message code="admin.halo.title" /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">
@ -16,25 +16,26 @@
}
</style>
<section class="content-header">
<h1 style="display: inline-block;">关于Halo</h1>
<h1 style="display: inline-block;"><@spring.message code='admin.halo.title' /></h1>
<ol class="breadcrumb">
<li>
<a data-pjax="true" href="/admin"><i class="fa fa-dashboard"></i> 首页</a>
<a data-pjax="true" href="/admin"><i class="fa fa-dashboard"></i> <@spring.message code='admin.halo.bread.index' /></a>
</li>
<li class="active">关于Halo</li>
<li class="active"><@spring.message code='admin.halo.bread.active' /></li>
</ol>
</section>
<section class="content container-fluid">
<div id='write' class='is-mac'>
<blockquote style="font-size: 14px;">
<p>Halo可能是最好的Java博客系统😉</p>
<p>非常感谢你使用Halo进行创作。</p>
<p><@spring.message code='admin.halo.content.p1' />😉</p>
<p><@spring.message code='admin.halo.content.p2' /></p>
</blockquote>
<p>如果在使用过程中出现bug或者无法解决的问题希望各位在使用过程中及时向我反馈</p>
<p><@spring.message code='admin.halo.content.p3' /></p>
<p>Github issues <a href='https://github.com/ruibaby/halo/issues' target="_blank">https://github.com/ruibaby/halo/issues</a></p>
<p>Blog : <a href="https://ryanc.cc" target="_blank">https://ryanc.cc</a> </p>
<p>Email : <a href='mailto:i@ryanc.cc'>i@ryanc.cc</a></p>
<p>Telegram : <a href="https://t.me/ruibaby" target="_blank">ruibaby</a></p>
<p>Telegram Channel: <a href="https://t.me/ryan0up" target="_blank">Ryan0up'S Channel</a></p>
<p>QQ : 709831589</p>
</div>
</section>

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | <@spring.message code='admin.index.title' >"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.index.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:菜单设置"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.menus.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:系统设置"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.options.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:页面">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.pages.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:图库">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.pages.galleries.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:友情链接">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.pages.links.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:页面编辑"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.pages.edit.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:文章">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.posts.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:文章编辑"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.posts.edit.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:个人资料"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.user.profile.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,7 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:标签">
</@head>
<@head>${options.blog_title} | <@spring.message code='admin.tags.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:主题编辑"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.themes.edit.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,6 +1,6 @@
<#compress >
<#include "module/_macro.ftl">
<@head title="${options.blog_title} | 后台管理:主题"></@head>
<@head>${options.blog_title} | <@spring.message code='admin.themes.title' /></@head>
<div class="wrapper">
<!-- 顶部栏模块 -->
<#include "module/_header.ftl">

View File

@ -1,11 +1,11 @@
<#macro head title="">
<#macro head>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>${title?default("Halo后台管理")}</title>
<title><#nested ></title>
<link rel="stylesheet" href="/static/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/plugins/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/plugins/pace/pace.min.css">