diff --git a/src/main/resources/i18n/messages_en_US.properties b/src/main/resources/i18n/messages_en_US.properties index 8f53b6f4f..61fb4953f 100644 --- a/src/main/resources/i18n/messages_en_US.properties +++ b/src/main/resources/i18n/messages_en_US.properties @@ -82,6 +82,15 @@ admin.backup.title = Backup manage # categories page admin.categories.title = Categories +admin.categories.bread.posts = Posts management +admin.categories.text.edit-category = Edit category +admin.categories.text.add-category = Add category +admin.categories.form.cate-name = Category name +admin.categories.form.cate-name-tips = The name displayed on the page. +admin.categories.form.cate-url = Category url +admin.categories.form.cate-url-tips = *This is the name displayed on the article path,preferably in English. +admin.categories.form.cate-desc = Category description +admin.categories.form.cate-desc-tips = *Description of the classification,some topics can be displayed. # comments page admin.comments.title = Comments manage @@ -128,6 +137,8 @@ admin.themes.btn.setting = Setting admin.themes.btn.enable = Enable admin.themes.btn.activated = Activated admin.themes.bread.appearance = Appearance +admin.themes.js.install-theme = Install theme +admin.themes.js.theme-setting = theme setting # about page admin.halo.title = About Halo @@ -141,6 +152,20 @@ common.btn.save = Save common.btn.view-all = View all common.btn.upload-image = Upload images common.btn.define = OK +common.btn.cancel = Cancel +common.btn.view = View +common.btn.edit = Edit +common.btn.recycling = Recycling +common.btn.reduction = Reduction +common.btn.delete = Delete +common.btn.release = Release +common.btn.reply = Reply +common.btn.pass = Pass +common.btn.pass-reply = Pass and Reply +common.btn.define-edit = OK +common.btn.back-to-add = Back to add +common.btn.define-add = OK +common.btn.editing = Editing common.radio.display = Display common.radio.hide = Hide @@ -158,6 +183,10 @@ common.th.tags = Tags common.th.comments = Comments common.th.views = Views common.th.control = Control +common.th.name = Name +common.th.url = Url +common.th.desc = Desc +common.th.posts-count = Posts count common.status.published = Published common.status.checking = Pending Review @@ -165,6 +194,10 @@ common.status.recycle-bin = Recycle bin common.status.draft = Draft 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? +common.text.tips.to-delete = Are you sure to delete permanently?(Irreversible) +common.text.tips.to-release-post = Are you sure you want to publish this article? # 分页信息 admin.pageinfo.text.no = ( diff --git a/src/main/resources/i18n/messages_zh_CN.properties b/src/main/resources/i18n/messages_zh_CN.properties index b4f5826ed..0221ed3ca 100644 --- a/src/main/resources/i18n/messages_zh_CN.properties +++ b/src/main/resources/i18n/messages_zh_CN.properties @@ -82,6 +82,15 @@ admin.backup.title = 备份管理 # 分类管理页面 admin.categories.title = 分类目录 +admin.categories.bread.posts = 文章管理 +admin.categories.text.edit-category = 修改分类目录 +admin.categories.text.add-category = 修改分类目录 +admin.categories.form.cate-name = 名称 +admin.categories.form.cate-name-tips = 页面上所显示的名称 +admin.categories.form.cate-url = 路径名称 +admin.categories.form.cate-url-tips = *这是文章路径上显示的名称,最好为英文 +admin.categories.form.cate-desc = 描述 +admin.categories.form.cate-desc-tips = *添加描述,部分主题可显示 # 评论管理页面 admin.comments.title = 评论管理 @@ -125,6 +134,8 @@ admin.themes.btn.setting = 设置 admin.themes.btn.enable = 启用 admin.themes.btn.activated = 已启用 admin.themes.bread.appearance = 外观 +admin.themes.js.install-theme = 安装主题 +admin.themes.js.theme-setting = 主题设置 # 主题编辑页面 admin.themes.edit.title = 主题编辑 @@ -141,6 +152,21 @@ common.btn.save = 保存 common.btn.view-all = 查看所有 common.btn.upload-image = 上传图片 common.btn.define = 确定 +common.btn.cancel = 取消 +common.btn.view = 查看 +common.btn.edit = 编辑 +common.btn.recycling = 丢弃 +common.btn.reduction = 还原 +common.btn.delete = 永久删除 +common.btn.release = 发布 +common.btn.reply = 回复 +common.btn.pass = 通过 +common.btn.pass-reply = 通过并回复 +common.btn.define-edit = 确定修改 +common.btn.back-to-add = 返回添加 +common.btn.define-add = 确定添加 +common.btn.editing = 正在修改 + common.radio.display = 显示 common.radio.hide = 隐藏 @@ -158,6 +184,10 @@ common.th.tags = 标签 common.th.comments = 评论 common.th.views = 访问量 common.th.control = 操作 +common.th.name = 名称 +common.th.url = 路径 +common.th.desc = 描述 +common.th.posts-count = 文章数 common.status.published = 已发布 @@ -166,6 +196,10 @@ common.status.recycle-bin = 回收站 common.status.draft = 草 稿 common.text.no-data = 暂无数据 +common.text.tips = 提示 +common.text.tips.to-recycle-bin = 确定移到回收站? +common.text.tips.to-delete = 确定永久删除?(不可逆) +common.text.tips.to-release-post = 确定发布该文章? # 分页信息 admin.pageinfo.text.no = 第 diff --git a/src/main/resources/templates/admin/admin_attachment.ftl b/src/main/resources/templates/admin/admin_attachment.ftl index a76fd45f6..b389625ca 100755 --- a/src/main/resources/templates/admin/admin_attachment.ftl +++ b/src/main/resources/templates/admin/admin_attachment.ftl @@ -82,7 +82,7 @@ $("#uploadForm").hide(400); $.toast({ text: "上传成功!", - heading: '提示', + heading: '<@spring.message code="common.text.tips" />', icon: 'success', showHideTransition: 'fade', allowToastClose: true, diff --git a/src/main/resources/templates/admin/admin_backup.ftl b/src/main/resources/templates/admin/admin_backup.ftl index 2eebfe352..94e87d634 100644 --- a/src/main/resources/templates/admin/admin_backup.ftl +++ b/src/main/resources/templates/admin/admin_backup.ftl @@ -14,7 +14,7 @@

<@spring.message code='admin.backup.title' />