mirror of https://github.com/halo-dev/halo
✨ 支持i18n
parent
2805a1a145
commit
70c1d91aa2
|
@ -52,6 +52,8 @@ admin.module.header.a.title.turn-to-front = 跳转到前台
|
|||
admin.module.header.btn.view-all-comments = 查看所有评论
|
||||
admin.module.header.btn.profile = 个人资料
|
||||
admin.module.header.btn.loginout = 退出登录
|
||||
admin.module.header.new-comments-before = 你有
|
||||
admin.module.header.new-comments-after = 条新评论
|
||||
|
||||
# 后台首页
|
||||
admin.index.title = 仪表盘
|
||||
|
@ -70,13 +72,22 @@ admin.index.widgets.post-lastest = 最新文章
|
|||
admin.index.widgets.comment-lastest = 最新评论
|
||||
admin.index.widgets.logs-lastest = 最新日志
|
||||
admin.index.widgets.btn.clear-logs = 清空日志
|
||||
admin.index.widgets.text.all-logs = 所有日志
|
||||
admin.index.blog-data.title = 博客数据
|
||||
admin.index.blog-data.days-count-before = 已经运行
|
||||
admin.index.blog-data.days-count-after = 天了。
|
||||
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
|
||||
admin.index.blog-data.during = 在此期间:
|
||||
admin.index.blog-data.posts-count-text = 累计发表了 {0} 篇文章。
|
||||
admin.index.blog-data.tags-count-text = 累计创建了 {0} 个标签。
|
||||
admin.index.blog-data.comments-count-text = 累计获得了 {0} 条评论。
|
||||
admin.index.blog-data.links-count-text = 累计添加了 {0} 个友链。
|
||||
admin.index.blog-data.views-count-text = 文章总访问 {0} 次。
|
||||
admin.index.blog-data.posts-count-before = 累计发表了
|
||||
admin.index.blog-data.posts-count-after = 篇文章。
|
||||
admin.index.blog-data.tags-count-before = 累计创建了
|
||||
admin.index.blog-data.tags-count-after = 个标签。
|
||||
admin.index.blog-data.comments-count-before = 累计获得了
|
||||
admin.index.blog-data.comments-count-after = 条评论。
|
||||
admin.index.blog-data.links-count-before = 累计添加了
|
||||
admin.index.blog-data.links-count-after = 个友链。
|
||||
admin.index.blog-data.views-count-before = 文章总访问
|
||||
admin.index.blog-data.views-count-after = 次。
|
||||
|
||||
# logs page
|
||||
admin.logs.th.log-id = 日志编号
|
||||
|
@ -248,6 +259,7 @@ admin.pages.gallery = 图库页面
|
|||
|
||||
# 图库页面管理
|
||||
admin.pages.galleries.title = 图库页面
|
||||
admin.pages.galleries.text.add-gallery = 添加图片
|
||||
admin.pages.galleries.form.gallery-name = 图片名称:
|
||||
admin.pages.galleries.form.gallery-desc = 图片描述:
|
||||
admin.pages.galleries.form.gallery-date = 图片日期:
|
||||
|
@ -258,6 +270,16 @@ admin.pages.galleries.modal.title = 图片详情
|
|||
|
||||
# 友情链接页面管理
|
||||
admin.pages.links.title = 友情链接
|
||||
admin.pages.links.text.edit-link = 修改友情链接
|
||||
admin.pages.links.text.add-link = 添加友情链接
|
||||
admin.pages.links.text.all-links = 所有友情链接
|
||||
admin.pages.links.form.link-name = 网站名称
|
||||
admin.pages.links.form.link-name-tips = 好友的网站名称
|
||||
admin.pages.links.form.link-url = 网址
|
||||
admin.pages.links.form.link-url-tips = *需要加上http://或https://
|
||||
admin.pages.links.form.link-pic-tips = *LOGO链接地址,需要加上http://或https://,在部分主题可显示
|
||||
admin.pages.links.form.link-desc = 描述
|
||||
admin.pages.links.form.link-desc-tips = *网站的描述,部分主题可显示
|
||||
|
||||
# 页面编辑页面
|
||||
admin.pages.edit.title = 页面编辑
|
||||
|
@ -319,6 +341,7 @@ admin.themes.modal.install.form.remote-address = 远程地址:
|
|||
admin.themes.modal.install.form.theme-name = 主题名称:
|
||||
admin.themes.modal.install.btn.install = 安装
|
||||
admin.themes.modal.install.btn.installing = 安装中...
|
||||
admin.themes.modal.install.plugin.text = 拖拽主题压缩包到这里,仅支持Zip格式
|
||||
|
||||
# 关于页面
|
||||
admin.halo.title = 关于Halo
|
||||
|
@ -348,12 +371,10 @@ common.btn.define-add = 确定添加
|
|||
common.btn.editing = 正在修改
|
||||
common.btn.modify = 修改
|
||||
common.btn.choose = 选择
|
||||
|
||||
common.radio.display = 显示
|
||||
common.radio.hide = 隐藏
|
||||
common.radio.enable = 启用
|
||||
common.radio.disable = 禁用
|
||||
|
||||
common.select.yes = 是
|
||||
common.select.no = 否
|
||||
|
||||
|
@ -380,6 +401,7 @@ common.th.file-size = 文件大小
|
|||
common.th.file-type = 文件类型
|
||||
common.th.sort = 排序
|
||||
common.th.icon = 图标
|
||||
common.th.site = 网址
|
||||
|
||||
# 状态
|
||||
common.status.published = 已发布
|
||||
|
@ -387,6 +409,7 @@ common.status.checking = 待审核
|
|||
common.status.recycle-bin = 回收站
|
||||
common.status.draft = 草 稿
|
||||
|
||||
# 文本
|
||||
common.text.no-data = 暂无数据
|
||||
common.text.tips = 提示
|
||||
common.text.tips.to-recycle-bin = 确定移到回收站?
|
||||
|
@ -425,16 +448,13 @@ admin.editor.select.tag.default = 选择添加
|
|||
code.admin.login.success = 登录成功!
|
||||
code.admin.login.disabled = 已禁止登录,请10分钟后再试!
|
||||
code.admin.login.failed = 登录失败,你还有{0}次机会。
|
||||
|
||||
code.admin.attachment.upload-success = 上传成功!
|
||||
code.admin.attachment.upload-failed = 上传失败!
|
||||
|
||||
code.admin.backup.backup-failed = 备份失败!
|
||||
code.admin.backup.backup-success = 备份成功!
|
||||
code.admin.backup.no-email = 博主邮箱没有配置!
|
||||
code.admin.backup.email-success= 邮件发送成功!
|
||||
code.admin.backup.have-new-backup = 有新的备份!
|
||||
|
||||
code.admin.theme.change-success = 主题已设置为{0}
|
||||
code.admin.theme.change-failed = 主题设置失败!
|
||||
code.admin.theme.upload-failed = 主题上传失败!
|
||||
|
@ -444,24 +464,19 @@ code.admin.theme.no-git = 没有安装Git!
|
|||
code.admin.theme.clone-theme-failed = 克隆主题失败:
|
||||
code.admin.theme.update-theme-failed = 更新主题失败:
|
||||
code.admin.theme.edit.no-content = 模板不能为空!
|
||||
|
||||
code.admin.user.old-password-error = 原密码错误!
|
||||
code.admin.user.update-password-failed = 修改密码失败!
|
||||
code.admin.user.update-password-success = 修改密码成功!
|
||||
|
||||
code.admin.post.push-to-baidu-success = 推送成功!
|
||||
code.admin.post.push-to-baidu-failed = 推送失败!
|
||||
code.admin.post.no-baidu-token = 百度推送Token为空!
|
||||
|
||||
code.admin.common.delete-success = 删除成功!
|
||||
code.admin.common.delete-failed = 删除失败!
|
||||
code.admin.common.no-post = 发信邮箱没有配置!
|
||||
|
||||
code.admin.common.save-success = 保存成功!
|
||||
code.admin.common.save-failed = 保存失败!
|
||||
code.admin.common.update-success = 更新成功!
|
||||
code.admin.common.update-failed = 更新失败!
|
||||
|
||||
code.admin.common.edit-success = 修改成功!
|
||||
code.admin.common.edit-failed = 修改失败!
|
||||
code.admin.common.info-no-complete = 请输入完整信息!
|
||||
|
|
|
@ -52,6 +52,8 @@ admin.module.header.a.title.turn-to-front = Turn to front
|
|||
admin.module.header.btn.view-all-comments = View all comments
|
||||
admin.module.header.btn.profile = Profile
|
||||
admin.module.header.btn.loginout = Login out
|
||||
admin.module.header.new-comments-before = You have
|
||||
admin.module.header.new-comments-after = new comments
|
||||
|
||||
# admin index
|
||||
admin.index.title = Dashboard
|
||||
|
@ -70,13 +72,22 @@ admin.index.widgets.post-lastest = Newest posts
|
|||
admin.index.widgets.comment-lastest = Newest comments
|
||||
admin.index.widgets.logs-lastest = Newest logs
|
||||
admin.index.widgets.btn.clear-logs = Clear logs
|
||||
admin.index.widgets.text.all-logs = All logs
|
||||
admin.index.blog-data.title = Blog data
|
||||
admin.index.blog-data.days-count-before = Has been running for 5 days
|
||||
admin.index.blog-data.days-count-after = days.
|
||||
admin.index.blog-data.motto = Come on! Don’t forget why you left because you’re too far away.
|
||||
admin.index.blog-data.during = During this period:
|
||||
admin.index.blog-data.posts-count-text = A total of %s posts has been published.
|
||||
admin.index.blog-data.tags-count-text = A total of {0} tags has been created.
|
||||
admin.index.blog-data.comments-count-text = A total of {0} comments was received.
|
||||
admin.index.blog-data.links-count-text = A total of {0} friend chains have been added.
|
||||
admin.index.blog-data.views-count-text = The posts was visited {0} times in total.
|
||||
admin.index.blog-data.posts-count-before = Accumulated
|
||||
admin.index.blog-data.posts-count-after = articles.
|
||||
admin.index.blog-data.tags-count-before = Cumulatively created
|
||||
admin.index.blog-data.tags-count-after = tags.
|
||||
admin.index.blog-data.comments-count-before = Accumulated
|
||||
admin.index.blog-data.comments-count-after = comments.
|
||||
admin.index.blog-data.links-count-before = Added
|
||||
admin.index.blog-data.links-count-after = links cumulatively.
|
||||
admin.index.blog-data.views-count-before = Article received
|
||||
admin.index.blog-data.views-count-after = total visits.
|
||||
|
||||
# logs page
|
||||
admin.logs.th.log-id = Log number
|
||||
|
@ -147,7 +158,7 @@ admin.menus.form.menu-target-blank = Blank
|
|||
admin.setting.title = Blog Settings
|
||||
admin.setting.bread.setting = Settings
|
||||
admin.setting.tab.general = General
|
||||
admin.setting.tab.seo = Seo
|
||||
admin.setting.tab.seo = SEO
|
||||
admin.setting.tab.post = Post
|
||||
admin.setting.tab.comment = Comment
|
||||
admin.setting.tab.attach = Attachment
|
||||
|
@ -248,6 +259,7 @@ admin.pages.gallery = Gallery page
|
|||
|
||||
# pages gallery page
|
||||
admin.pages.galleries.title = Galleries page
|
||||
admin.pages.galleries.text.add-gallery = Add Picture
|
||||
admin.pages.galleries.form.gallery-name = Picture name:
|
||||
admin.pages.galleries.form.gallery-desc = Picture description:
|
||||
admin.pages.galleries.form.gallery-date = Picture date:
|
||||
|
@ -258,6 +270,16 @@ admin.pages.galleries.modal.title = Picture details
|
|||
|
||||
# pages link page
|
||||
admin.pages.links.title = Links page
|
||||
admin.pages.links.text.edit-link = Edit link
|
||||
admin.pages.links.text.add-link = Add link
|
||||
admin.pages.links.text.all-links = All links
|
||||
admin.pages.links.form.link-name = Website name
|
||||
admin.pages.links.form.link-name-tips = Friend's website name
|
||||
admin.pages.links.form.link-url = Website address
|
||||
admin.pages.links.form.link-url-tips = *Requires http:// or https://
|
||||
admin.pages.links.form.link-pic-tips = *LOGO link address, need to add http:// or https://, can be displayed in some topics
|
||||
admin.pages.links.form.link-desc = Description
|
||||
admin.pages.links.form.link-desc-tips = *The description of the website, some themes can be displayed
|
||||
|
||||
# pages edit page
|
||||
admin.pages.edit.title = Page edit
|
||||
|
@ -319,6 +341,7 @@ admin.themes.modal.install.form.remote-address = Remote address:
|
|||
admin.themes.modal.install.form.theme-name = Theme name:
|
||||
admin.themes.modal.install.btn.install = Install
|
||||
admin.themes.modal.install.btn.installing = Installing...
|
||||
admin.themes.modal.install.plugin.text = Drag and drop the theme zip package here, only supports Zip format
|
||||
|
||||
# about page
|
||||
admin.halo.title = About Halo
|
||||
|
@ -348,12 +371,10 @@ common.btn.define-add = OK
|
|||
common.btn.editing = Editing
|
||||
common.btn.modify = Modify
|
||||
common.btn.choose = Choose
|
||||
|
||||
common.radio.display = Display
|
||||
common.radio.hide = Hide
|
||||
common.radio.enable = Enable
|
||||
common.radio.disable = Disable
|
||||
|
||||
common.select.yes = Yes
|
||||
common.select.no = No
|
||||
|
||||
|
@ -380,6 +401,7 @@ common.th.file-size = File size
|
|||
common.th.file-type = File type
|
||||
common.th.sort = Sort
|
||||
common.th.icon = Icon
|
||||
common.th.site = Site address
|
||||
|
||||
# status
|
||||
common.status.published = Published
|
||||
|
@ -387,6 +409,7 @@ common.status.checking = Pending Review
|
|||
common.status.recycle-bin = Recycle bin
|
||||
common.status.draft = Draft
|
||||
|
||||
# text
|
||||
common.text.no-data = No data
|
||||
common.text.tips = Tips
|
||||
common.text.tips.to-recycle-bin = Are you sure to move to the recycle bin?
|
||||
|
@ -399,14 +422,14 @@ common.js.all-attachment = All attachments
|
|||
common.js.info-no-complete = Please enter full information!
|
||||
|
||||
# Page info
|
||||
admin.pageinfo.text.no = (
|
||||
admin.pageinfo.text.page = )
|
||||
admin.pageinfo.text.no = 「
|
||||
admin.pageinfo.text.page = 」
|
||||
admin.pageinfo.btn.first = Home
|
||||
admin.pageinfo.btn.last = Last
|
||||
admin.pageinfo.btn.pre = Previous
|
||||
admin.pageinfo.btn.next = Next
|
||||
|
||||
# 文章/页面编辑
|
||||
# post/page edit
|
||||
admin.editor.btn.attachs = Attachment library
|
||||
admin.editor.form.url = Permalink:
|
||||
admin.editor.text.push = Release
|
||||
|
@ -425,16 +448,13 @@ admin.editor.select.tag.default = Choose to add
|
|||
code.admin.login.success = Login successfully!
|
||||
code.admin.login.disabled = Login is forbidden, please try again in 10 minutes!
|
||||
code.admin.login.failed = Login failed, you still have {0} chances.
|
||||
|
||||
code.admin.attachment.upload-success = Uploaded successfully!
|
||||
code.admin.attachment.upload-failed = Uploaded failed!
|
||||
|
||||
code.admin.backup.backup-failed = Backup Failed!
|
||||
code.admin.backup.backup-success = Backup successfully!
|
||||
code.admin.backup.no-email = The blogger's mailbox is not configured!
|
||||
code.admin.backup.email-success= Mail sent successfully!
|
||||
code.admin.backup.have-new-backup = Have a new backup!
|
||||
|
||||
code.admin.theme.change-success = Theme has been set to {0}
|
||||
code.admin.theme.change-failed = Theme settings failed!
|
||||
code.admin.theme.upload-failed = Theme upload failed!
|
||||
|
@ -444,24 +464,19 @@ code.admin.theme.no-git = No Git installed!
|
|||
code.admin.theme.clone-theme-failed = Cloning the theme failed:
|
||||
code.admin.theme.update-theme-failed = Update theme failed:
|
||||
code.admin.theme.edit.no-content = Template can't be empty!
|
||||
|
||||
code.admin.user.old-password-error = The original password is wrong!
|
||||
code.admin.user.update-password-failed = Failed to change password!
|
||||
code.admin.user.update-password-success = Password has been updated!
|
||||
|
||||
code.admin.post.push-to-baidu-success = Push successful!
|
||||
code.admin.post.push-to-baidu-failed = Push failed!
|
||||
code.admin.post.no-baidu-token = Baidu push Token is empty!
|
||||
|
||||
code.admin.common.delete-success = Deleted successfully!
|
||||
code.admin.common.delete-failed = Deleted Failed!
|
||||
code.admin.common.no-post = The mailing mailbox is not configured!
|
||||
|
||||
code.admin.common.save-success = Saved successfully!
|
||||
code.admin.common.save-failed = Save failed!
|
||||
code.admin.common.update-success = Updated successfully!
|
||||
code.admin.common.update-failed = Update failed!
|
||||
|
||||
code.admin.common.edit-success = Successfully modified!
|
||||
code.admin.common.edit-failed = Fail to update!
|
||||
code.admin.common.info-no-complete = Please enter full information!
|
||||
|
|
|
@ -52,6 +52,8 @@ admin.module.header.a.title.turn-to-front = 跳转到前台
|
|||
admin.module.header.btn.view-all-comments = 查看所有评论
|
||||
admin.module.header.btn.profile = 个人资料
|
||||
admin.module.header.btn.loginout = 退出登录
|
||||
admin.module.header.new-comments-before = 你有
|
||||
admin.module.header.new-comments-after = 条新评论
|
||||
|
||||
# 后台首页
|
||||
admin.index.title = 仪表盘
|
||||
|
@ -70,13 +72,22 @@ admin.index.widgets.post-lastest = 最新文章
|
|||
admin.index.widgets.comment-lastest = 最新评论
|
||||
admin.index.widgets.logs-lastest = 最新日志
|
||||
admin.index.widgets.btn.clear-logs = 清空日志
|
||||
admin.index.widgets.text.all-logs = 所有日志
|
||||
admin.index.blog-data.title = 博客数据
|
||||
admin.index.blog-data.days-count-before = 已经运行
|
||||
admin.index.blog-data.days-count-after = 天了。
|
||||
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
|
||||
admin.index.blog-data.during = 在此期间:
|
||||
admin.index.blog-data.posts-count-text = 累计发表了 {0} 篇文章。
|
||||
admin.index.blog-data.tags-count-text = 累计创建了 {0} 个标签。
|
||||
admin.index.blog-data.comments-count-text = 累计获得了 {0} 条评论。
|
||||
admin.index.blog-data.links-count-text = 累计添加了 {0} 个友链。
|
||||
admin.index.blog-data.views-count-text = 文章总访问 {0} 次。
|
||||
admin.index.blog-data.posts-count-before = 累计发表了
|
||||
admin.index.blog-data.posts-count-after = 篇文章。
|
||||
admin.index.blog-data.tags-count-before = 累计创建了
|
||||
admin.index.blog-data.tags-count-after = 个标签。
|
||||
admin.index.blog-data.comments-count-before = 累计获得了
|
||||
admin.index.blog-data.comments-count-after = 条评论。
|
||||
admin.index.blog-data.links-count-before = 累计添加了
|
||||
admin.index.blog-data.links-count-after = 个友链。
|
||||
admin.index.blog-data.views-count-before = 文章总访问
|
||||
admin.index.blog-data.views-count-after = 次。
|
||||
|
||||
# logs page
|
||||
admin.logs.th.log-id = 日志编号
|
||||
|
@ -248,6 +259,7 @@ admin.pages.gallery = 图库页面
|
|||
|
||||
# 图库页面管理
|
||||
admin.pages.galleries.title = 图库页面
|
||||
admin.pages.galleries.text.add-gallery = 添加图片
|
||||
admin.pages.galleries.form.gallery-name = 图片名称:
|
||||
admin.pages.galleries.form.gallery-desc = 图片描述:
|
||||
admin.pages.galleries.form.gallery-date = 图片日期:
|
||||
|
@ -258,6 +270,16 @@ admin.pages.galleries.modal.title = 图片详情
|
|||
|
||||
# 友情链接页面管理
|
||||
admin.pages.links.title = 友情链接
|
||||
admin.pages.links.text.edit-link = 修改友情链接
|
||||
admin.pages.links.text.add-link = 添加友情链接
|
||||
admin.pages.links.text.all-links = 所有友情链接
|
||||
admin.pages.links.form.link-name = 网站名称
|
||||
admin.pages.links.form.link-name-tips = 好友的网站名称
|
||||
admin.pages.links.form.link-url = 网址
|
||||
admin.pages.links.form.link-url-tips = *需要加上http://或https://
|
||||
admin.pages.links.form.link-pic-tips = *LOGO链接地址,需要加上http://或https://,在部分主题可显示
|
||||
admin.pages.links.form.link-desc = 描述
|
||||
admin.pages.links.form.link-desc-tips = *网站的描述,部分主题可显示
|
||||
|
||||
# 页面编辑页面
|
||||
admin.pages.edit.title = 页面编辑
|
||||
|
@ -319,6 +341,7 @@ admin.themes.modal.install.form.remote-address = 远程地址:
|
|||
admin.themes.modal.install.form.theme-name = 主题名称:
|
||||
admin.themes.modal.install.btn.install = 安装
|
||||
admin.themes.modal.install.btn.installing = 安装中...
|
||||
admin.themes.modal.install.plugin.text = 拖拽主题压缩包到这里,仅支持Zip格式
|
||||
|
||||
# 关于页面
|
||||
admin.halo.title = 关于Halo
|
||||
|
@ -348,12 +371,10 @@ common.btn.define-add = 确定添加
|
|||
common.btn.editing = 正在修改
|
||||
common.btn.modify = 修改
|
||||
common.btn.choose = 选择
|
||||
|
||||
common.radio.display = 显示
|
||||
common.radio.hide = 隐藏
|
||||
common.radio.enable = 启用
|
||||
common.radio.disable = 禁用
|
||||
|
||||
common.select.yes = 是
|
||||
common.select.no = 否
|
||||
|
||||
|
@ -380,6 +401,7 @@ common.th.file-size = 文件大小
|
|||
common.th.file-type = 文件类型
|
||||
common.th.sort = 排序
|
||||
common.th.icon = 图标
|
||||
common.th.site = 网址
|
||||
|
||||
# 状态
|
||||
common.status.published = 已发布
|
||||
|
@ -387,6 +409,7 @@ common.status.checking = 待审核
|
|||
common.status.recycle-bin = 回收站
|
||||
common.status.draft = 草 稿
|
||||
|
||||
# 文本
|
||||
common.text.no-data = 暂无数据
|
||||
common.text.tips = 提示
|
||||
common.text.tips.to-recycle-bin = 确定移到回收站?
|
||||
|
@ -425,16 +448,13 @@ admin.editor.select.tag.default = 选择添加
|
|||
code.admin.login.success = 登录成功!
|
||||
code.admin.login.disabled = 已禁止登录,请10分钟后再试!
|
||||
code.admin.login.failed = 登录失败,你还有{0}次机会。
|
||||
|
||||
code.admin.attachment.upload-success = 上传成功!
|
||||
code.admin.attachment.upload-failed = 上传失败!
|
||||
|
||||
code.admin.backup.backup-failed = 备份失败!
|
||||
code.admin.backup.backup-success = 备份成功!
|
||||
code.admin.backup.no-email = 博主邮箱没有配置!
|
||||
code.admin.backup.email-success= 邮件发送成功!
|
||||
code.admin.backup.have-new-backup = 有新的备份!
|
||||
|
||||
code.admin.theme.change-success = 主题已设置为{0}
|
||||
code.admin.theme.change-failed = 主题设置失败!
|
||||
code.admin.theme.upload-failed = 主题上传失败!
|
||||
|
@ -444,24 +464,19 @@ code.admin.theme.no-git = 没有安装Git!
|
|||
code.admin.theme.clone-theme-failed = 克隆主题失败:
|
||||
code.admin.theme.update-theme-failed = 更新主题失败:
|
||||
code.admin.theme.edit.no-content = 模板不能为空!
|
||||
|
||||
code.admin.user.old-password-error = 原密码错误!
|
||||
code.admin.user.update-password-failed = 修改密码失败!
|
||||
code.admin.user.update-password-success = 修改密码成功!
|
||||
|
||||
code.admin.post.push-to-baidu-success = 推送成功!
|
||||
code.admin.post.push-to-baidu-failed = 推送失败!
|
||||
code.admin.post.no-baidu-token = 百度推送Token为空!
|
||||
|
||||
code.admin.common.delete-success = 删除成功!
|
||||
code.admin.common.delete-failed = 删除失败!
|
||||
code.admin.common.no-post = 发信邮箱没有配置!
|
||||
|
||||
code.admin.common.save-success = 保存成功!
|
||||
code.admin.common.save-failed = 保存失败!
|
||||
code.admin.common.update-success = 更新成功!
|
||||
code.admin.common.update-failed = 更新失败!
|
||||
|
||||
code.admin.common.edit-success = 修改成功!
|
||||
code.admin.common.edit-failed = 修改失败!
|
||||
code.admin.common.info-no-complete = 请输入完整信息!
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -126,7 +126,7 @@
|
|||
<div class="modal-content message_align">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">回复</h4>
|
||||
<h4 class="modal-title"><@spring.message code="common.btn.reply" /></h4>
|
||||
</div>
|
||||
<form method="post" action="/admin/comments/reply">
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -340,16 +340,16 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="blog-data">博客数据</h4>
|
||||
<h4 class="modal-title" id="blog-data"><@spring.message code='admin.index.blog-data.title' /></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>「${options.blog_title?if_exists}」已经运行了<span id="blogStartDay"></span>天了。</p>
|
||||
<p>「${options.blog_title?if_exists}」<@spring.message code='admin.index.blog-data.days-count-before' /><span id="blogStartDay"></span><@spring.message code='admin.index.blog-data.days-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.during' /></p>
|
||||
<p>累计发表了<@articleTag method="postsCount">${postsCount?default(0)}</@articleTag>篇文章。</p>
|
||||
<p>累计创建了<@commonTag method="tags">${tags?size}</@commonTag>个标签。</p>
|
||||
<p>累计获得了${commentCount}条评论。</p>
|
||||
<p>累计添加了<@commonTag method="links">${links?size}</@commonTag>个友链。</p>
|
||||
<p>文章总访问${postViewsSum?default(0L)}次。</p>
|
||||
<p><@spring.message code='admin.index.blog-data.posts-count-before' /> <@articleTag method="postsCount">${postsCount?default(0)}</@articleTag> <@spring.message code='admin.index.blog-data.posts-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.tags-count-before' /> <@commonTag method="tags">${tags?size}</@commonTag> <@spring.message code='admin.index.blog-data.tags-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.comments-count-before' /> ${commentCount} <@spring.message code='admin.index.blog-data.comments-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.links-count-before' /> <@commonTag method="links">${links?size}</@commonTag> <@spring.message code='admin.index.blog-data.links-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.views-count-before' /> ${postViewsSum?default(0L)} <@spring.message code='admin.index.blog-data.views-count-after' /></p>
|
||||
<p><@spring.message code='admin.index.blog-data.motto' /></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
@ -370,7 +370,7 @@
|
|||
function openAllLogs() {
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '所有日志',
|
||||
title: '<@spring.message code="admin.index.widgets.text.all-logs" />',
|
||||
shadeClose: true,
|
||||
shade: 0.5,
|
||||
maxmin: true,
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
<section class="content-header">
|
||||
<h1 style="display: inline-block;"><@spring.message code='admin.pages.galleries.title' /><small></small></h1>
|
||||
<a id="btnNewPicture" href="#">
|
||||
添加图片
|
||||
<@spring.message code='admin.pages.galleries.text.add-gallery' />
|
||||
</a>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a data-pjax="true" href="/admin"><i class="fa fa-dashboard"></i> <@spring.message code='admin.index.bread.index' /></a>
|
||||
</li>
|
||||
<li><a data-pjax="true" href="/admin/page">页面管理</a></li>
|
||||
<li class="active">图库页面</li>
|
||||
<li><a data-pjax="true" href="/admin/page"><@spring.message code='admin.pages.title' /></a></li>
|
||||
<li class="active"><@spring.message code='admin.pages.galleries.title' /></li>
|
||||
</ol>
|
||||
</section>
|
||||
<section class="content container-fluid">
|
||||
|
@ -34,36 +34,36 @@
|
|||
<div class="col-lg-12 col-xs-12" id="newPicturePanel" style="display: none">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">添加图片</h3>
|
||||
<h3 class="box-title"><@spring.message code='admin.pages.galleries.text.add-gallery' /></h3>
|
||||
</div>
|
||||
<form action="/admin/page/gallery/save" method="post" role="form" class="form-horizontal">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="galleryName" class="col-sm-2 control-label">图片标题:</label>
|
||||
<label for="galleryName" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-name' /></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="galleryName" name="galleryName">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="galleryDesc" class="col-sm-2 control-label">图片描述:</label>
|
||||
<label for="galleryDesc" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-desc' /></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="galleryDesc" name="galleryDesc">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="galleryDate" class="col-sm-2 control-label">拍摄日期(如有):</label>
|
||||
<label for="galleryDate" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-date' /></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="date" class="form-control" id="galleryDate" name="galleryDate">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="galleryLocation" class="col-sm-2 control-label">拍摄地点(如有):</label>
|
||||
<label for="galleryLocation" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-location' /></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="galleryLocation" name="galleryLocation">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="galleryUrl" class="col-sm-2 control-label">图片地址:</label>
|
||||
<label for="galleryUrl" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-url' /></label>
|
||||
<div class="col-sm-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="galleryUrl" name="galleryUrl">
|
||||
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="galleryThumbnailUrl" class="col-sm-2 control-label">缩略图地址:</label>
|
||||
<label for="galleryThumbnailUrl" class="col-sm-2 control-label"><@spring.message code='admin.pages.galleries.form.gallery-thumbnail-url' /></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="galleryThumbnailUrl" name="galleryThumbnailUrl">
|
||||
</div>
|
||||
|
@ -97,7 +97,7 @@
|
|||
</#list>
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="no-margin pull-left">
|
||||
第${galleries.number+1}/${galleries.totalPages}页
|
||||
<@spring.message code='admin.pageinfo.text.no' />${galleries.number+1}/${galleries.totalPages}<@spring.message code='admin.pageinfo.text.page' />
|
||||
</div>
|
||||
<ul class="pagination no-margin pull-right">
|
||||
<li><a data-pjax="true" class="btn btn-sm <#if !galleries.hasPrevious()>disabled</#if>" href="/admin/page/galleries" ><@spring.message code='admin.pageinfo.btn.first' /></a> </li>
|
||||
|
@ -126,7 +126,7 @@
|
|||
function openDetail(id) {
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '图片详情',
|
||||
title: '<@spring.message code="admin.pages.galleries.modal.title" />',
|
||||
shadeClose: true,
|
||||
shade: 0.5,
|
||||
area: ['90%', '90%'],
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
<h1><@spring.message code='admin.pages.links.title' /><small></small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a data-pjax="true" href="/admin"><i class="fa fa-dashboard"></i><@spring.message code='admin.index.bread.index' /></a></li>
|
||||
<li><a data-pjax="true" href="/admin/page">页面管理</a></li>
|
||||
<li class="active">友情链接页面</li>
|
||||
<li><a data-pjax="true" href="/admin/page"><@spring.message code='admin.pages.title' /></a></li>
|
||||
<li class="active"><@spring.message code='admin.pages.links.title' /></li>
|
||||
</ol>
|
||||
</section>
|
||||
<section class="content container-fluid">
|
||||
|
@ -20,63 +20,63 @@
|
|||
<div class="col-md-5">
|
||||
<div class="box box-primary">
|
||||
<#if updateLink??>
|
||||
<div class="box-header with-border"><h3 class="box-title">修改友情链接</h3></div>
|
||||
<div class="box-header with-border"><h3 class="box-title"><@spring.message code='admin.pages.links.text.edit-link' /></h3></div>
|
||||
<form action="/admin/page/links/save" method="post" role="form" onsubmit="return isNull()">
|
||||
<input type="hidden" name="linkId" value="${updateLink.linkId?c}">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">网站名称</label>
|
||||
<label for="linkName"><@spring.message code='admin.pages.links.form.link-name' /></label>
|
||||
<input type="text" class="form-control" id="linkName" name="linkName" value="${updateLink.linkName}">
|
||||
<small>好友的网站名称</small>
|
||||
<small><@spring.message code='admin.pages.links.form.link-name-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">网址</label>
|
||||
<label for="linkUrl"><@spring.message code='admin.pages.links.form.link-url' /></label>
|
||||
<input type="url" class="form-control" id="linkUrl" name="linkUrl" value="${updateLink.linkUrl}">
|
||||
<small>*需要加上http://或https://</small>
|
||||
<small><@spring.message code='admin.pages.links.form.link-url-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">LOGO</label>
|
||||
<label for="linkPic">LOGO</label>
|
||||
<input type="text" class="form-control" id="linkPic" name="linkPic" value="${updateLink.linkPic}">
|
||||
<small>*LOGO链接地址,需要加上http://或https://,在部分主题可显示</small>
|
||||
<small><@spring.message code='admin.pages.links.form.link-pic-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">描述</label>
|
||||
<label for="linkDesc"><@spring.message code='admin.pages.links.form.link-desc' /></label>
|
||||
<textarea class="form-control" rows="3" id="linkDesc" name="linkDesc" style="resize: none">${updateLink.linkDesc}</textarea>
|
||||
<small>*网站的描述,部分主题可显示</small>
|
||||
<small><@spring.message code='admin.pages.links.form.link-desc-tips' /></small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-sm ">确定修改</button>
|
||||
<a data-pjax="true" href="/admin/page/links" class="btn btn-info btn-sm ">返回添加</a>
|
||||
<button type="submit" class="btn btn-primary btn-sm "><@spring.message code='common.btn.define-edit' /></button>
|
||||
<a data-pjax="true" href="/admin/page/links" class="btn btn-info btn-sm "><@spring.message code='common.btn.back-to-add' /></a>
|
||||
</div>
|
||||
</form>
|
||||
<#else>
|
||||
<div class="box-header with-border"><h3 class="box-title">添加友情链接</h3></div>
|
||||
<div class="box-header with-border"><h3 class="box-title"><@spring.message code='admin.pages.links.text.add-link' /></h3></div>
|
||||
<form action="/admin/page/links/save" method="post" role="form" onsubmit="return isNull()">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">网站名称</label>
|
||||
<input type="text" class="form-control" id="linkName" name="linkName" placeholder="">
|
||||
<small>好友的网站名称</small>
|
||||
<label for="exampleInputEmail1"><@spring.message code='admin.pages.links.form.link-name' /></label>
|
||||
<input type="text" class="form-control" id="linkName" name="linkName" >
|
||||
<small><@spring.message code='admin.pages.links.form.link-name-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">网址</label>
|
||||
<input type="text" class="form-control" id="linkUrl" name="linkUrl" placeholder="">
|
||||
<small>*需要加上http://或https://</small>
|
||||
<label for="exampleInputPassword1"><@spring.message code='admin.pages.links.form.link-url' /></label>
|
||||
<input type="text" class="form-control" id="linkUrl" name="linkUrl" >
|
||||
<small><@spring.message code='admin.pages.links.form.link-url-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">LOGO</label>
|
||||
<input type="text" class="form-control" id="linkPic" name="linkPic" placeholder="">
|
||||
<small>*LOGO链接地址,需要加上http://或https://,在部分主题可显示</small>
|
||||
<input type="text" class="form-control" id="linkPic" name="linkPic" >
|
||||
<small><@spring.message code='admin.pages.links.form.link-pic-tips' /></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputPassword1">描述</label>
|
||||
<label for="exampleInputPassword1"><@spring.message code='admin.pages.links.form.link-desc' /></label>
|
||||
<textarea class="form-control" rows="3" id="linkDesc" name="linkDesc" style="resize: none"></textarea>
|
||||
<small>*网站的描述,部分主题可显示</small>
|
||||
<small><@spring.message code='admin.pages.links.form.link-desc-tips' /></small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-sm ">确定添加</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm "><@spring.message code='common.btn.define-add' /></button>
|
||||
</div>
|
||||
</form>
|
||||
</#if>
|
||||
|
@ -84,11 +84,16 @@
|
|||
</div>
|
||||
<div class="col-md-7">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border"><h3 class="box-title">所有友情链接</h3></div>
|
||||
<div class="box-header with-border"><h3 class="box-title"><@spring.message code='admin.pages.links.text.all-links' /></h3></div>
|
||||
<div class="box-body table-responsive">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr><th>名称</th><th>网址</th><th><@spring.message code='common.th.desc' /></th><th><@spring.message code='common.th.control' /></th></tr>
|
||||
<tr>
|
||||
<th><@spring.message code='common.th.name' /></th>
|
||||
<th><@spring.message code='common.th.site' /></th>
|
||||
<th><@spring.message code='common.th.desc' /></th>
|
||||
<th><@spring.message code='common.th.control' /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<@commonTag method="links">
|
||||
|
@ -100,11 +105,11 @@
|
|||
<td width="30%">${link.linkDesc}</td>
|
||||
<td>
|
||||
<#if updateLink?? && updateLink.linkId?c==link.linkId?c>
|
||||
<a class="btn btn-primary btn-xs" href="#" disabled>正在修改</a>
|
||||
<a class="btn btn-primary btn-xs" href="#" disabled><@spring.message code='common.btn.editing' /></a>
|
||||
<#else >
|
||||
<a data-pjax="true" class="btn btn-primary btn-xs" href="/admin/page/links/edit?linkId=${link.linkId?c}">修改</a>
|
||||
<a data-pjax="true" class="btn btn-primary btn-xs" href="/admin/page/links/edit?linkId=${link.linkId?c}"><@spring.message code='common.btn.modify' /></a>
|
||||
</#if>
|
||||
<button class="btn btn-danger btn-xs" onclick="modelShow('/admin/page/links/remove?linkId=${link.linkId?c}')">删除</>
|
||||
<button class="btn btn-danger btn-xs" onclick="modelShow('/admin/page/links/remove?linkId=${link.linkId?c}')"><@spring.message code='common.btn.delete' /></>
|
||||
</td>
|
||||
</tr>
|
||||
</#list>
|
||||
|
@ -125,11 +130,11 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title"><@spring.message code='common.text.tips' /></h4>
|
||||
</div>
|
||||
<div class="modal-body"><p>您确认要删除吗?</p></div>
|
||||
<div class="modal-body"><p><@spring.message code='common.text.define-delete' /></p></div>
|
||||
<div class="modal-footer">
|
||||
<input type="hidden" id="url"/>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><@spring.message code='common.btn.cancel' /></button>
|
||||
<a onclick="removeIt()" class="btn btn-danger" data-dismiss="modal">确定</a>
|
||||
<a onclick="removeIt()" class="btn btn-danger" data-dismiss="modal"><@spring.message code='common.btn.define' /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
</#if>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">你有${newComments?size}条新评论</li>
|
||||
<li class="header">
|
||||
<@spring.message code='admin.module.header.new-comments-before' /> ${newComments?size} <@spring.message code='admin.module.header.new-comments-after' />
|
||||
</li>
|
||||
<li>
|
||||
<ul class="menu">
|
||||
<#if newComments?size gt 0>
|
||||
|
|
|
@ -49,7 +49,9 @@
|
|||
<script src="/static/plugins/toast/js/jquery.toast.min.js"></script>
|
||||
<script src="/static/plugins/layer/layer.js"></script>
|
||||
<script src="/static/plugins/fileinput/fileinput.min.js"></script>
|
||||
<script src="/static/plugins/fileinput/zh.min.js"></script>
|
||||
<#if options.blog_locale?default('zh_CN')=='zh_CN'>
|
||||
<script src="/static/plugins/fileinput/zh.min.js"></script>
|
||||
</#if>
|
||||
<script src="/static/js/app.js"></script>
|
||||
<@compress single_line=true>
|
||||
<script>
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
<script src="/static/plugins/jquery/jquery.min.js"></script>
|
||||
<script src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="/static/plugins/fileinput/fileinput.min.js"></script>
|
||||
<#if options.blog_locale?default('zh_CN')=='zh_CN'>
|
||||
<script src="/static/plugins/fileinput/zh.min.js"></script>
|
||||
</#if>
|
||||
<script src="/static/plugins/clipboard/clipboard.min.js"></script>
|
||||
<script src="/static/plugins/toast/js/jquery.toast.min.js"></script>
|
||||
<script src="/static/js/app.js"></script>
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
<script src="/static/plugins/jquery/jquery.min.js"></script>
|
||||
<script src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="/static/plugins/fileinput/fileinput.min.js"></script>
|
||||
<#if options.blog_locale?default('zh_CN')=='zh_CN'>
|
||||
<script src="/static/plugins/fileinput/zh.min.js"></script>
|
||||
</#if>
|
||||
<script src="/static/plugins/toast/js/jquery.toast.min.js"></script>
|
||||
<script>
|
||||
$('#uploadImg').fileinput({
|
||||
|
|
|
@ -76,7 +76,9 @@
|
|||
<script src="/static/plugins/jquery/jquery.min.js"></script>
|
||||
<script src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="/static/plugins/fileinput/fileinput.min.js"></script>
|
||||
<#if options.blog_locale?default('zh_CN')=='zh_CN'>
|
||||
<script src="/static/plugins/fileinput/zh.min.js"></script>
|
||||
</#if>
|
||||
<script src="/static/plugins/toast/js/jquery.toast.min.js"></script>
|
||||
<script src="/static/plugins/layer/layer.js"></script>
|
||||
<script src="/static/js/app.js"></script>
|
||||
|
@ -95,7 +97,7 @@
|
|||
allowedFileExtensions: ['zip'],
|
||||
maxFileCount: 1,
|
||||
enctype: 'multipart/form-data',
|
||||
dropZoneTitle: '拖拽主题压缩包到这里 …<br>仅支持Zip格式',
|
||||
dropZoneTitle: '<@spring.message code="admin.themes.modal.install.plugin.text" />',
|
||||
showClose: false
|
||||
}).on("fileuploaded",function (event,data,previewId,index) {
|
||||
var data = data.jqXHR.responseJSON;
|
||||
|
|
Loading…
Reference in New Issue