🎨 翻译部分页面

pull/33/merge
ruibaby 2018-09-09 12:14:43 +08:00
parent 118b9c9a45
commit a6c182e61a
13 changed files with 143 additions and 76 deletions

View File

@ -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 = (

View File

@ -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 =

View File

@ -82,7 +82,7 @@
$("#uploadForm").hide(400);
$.toast({
text: "上传成功!",
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -14,7 +14,7 @@
<h1 style="display: inline-block;"><@spring.message code='admin.backup.title' /></h1>
<ol class="breadcrumb">
<li>
<a href="/admin"><i class="fa fa-dashboard"></i> 首页</a>
<a href="/admin"><i class="fa fa-dashboard"></i> <@spring.message code='admin.index.bread.index' /></a>
</li>
<li><a href="#">设置</a></li>
<li class="active">备份管理</li>
@ -95,7 +95,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -112,7 +112,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,
@ -147,7 +147,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -161,7 +161,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,
@ -193,7 +193,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -210,7 +210,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -15,10 +15,10 @@
<ol class="breadcrumb">
<li>
<a data-pjax="true" href="/admin">
<i class="fa fa-dashboard"></i> 首页</a>
<i class="fa fa-dashboard"></i> <@spring.message code='admin.index.bread.index' /></a>
</li>
<li><a data-pjax="true" href="#">文章管理</a></li>
<li class="active">分类目录</li>
<li><a data-pjax="true" href="#"><@spring.message code='admin.categories.bread.posts' /></a></li>
<li class="active"><@spring.message code='admin.categories.title' /></li>
</ol>
</section>
<section class="content container-fluid">
@ -27,56 +27,56 @@
<div class="box box-primary">
<#if updateCategory??>
<div class="box-header with-border">
<h3 class="box-title">修改分类目录<#if updateCategory??>[${updateCategory.cateName}]</#if></h3>
<h3 class="box-title"><@spring.message code='admin.categories.text.edit-category' /> <#if updateCategory??>[${updateCategory.cateName}]</#if></h3>
</div>
<form action="/admin/category/save" method="post" role="form" id="cateAddForm">
<input type="hidden" name="cateId" value="${updateCategory.cateId?c}">
<div class="box-body">
<div class="form-group">
<label for="exampleInputEmail1">名称</label>
<label for="exampleInputEmail1"><@spring.message code='admin.categories.form.cate-name' /></label>
<input type="text" class="form-control" id="cateName" name="cateName" value="${updateCategory.cateName}">
<small>页面上所显示的名称</small>
<small><@spring.message code='admin.categories.form.cate-name-tips' /></small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">路径名称</label>
<label for="exampleInputPassword1"><@spring.message code='admin.categories.form.cate-url' /></label>
<input type="text" class="form-control" id="cateUrl" name="cateUrl" value="${updateCategory.cateUrl}">
<small>*这是文章路径上显示的名称,最好为英文</small>
<small><@spring.message code='admin.categories.form.cate-url-tips' /></small>
</div>
<div class="form-group">
<label for="cateDesc" class="control-label">描述</label>
<label for="cateDesc" class="control-label"><@spring.message code='admin.categories.form.cate-desc' /></label>
<textarea class="form-control" rows="3" id="cateDesc" name="cateDesc" style="resize: none">${updateCategory.cateDesc}</textarea>
<small>*添加描述,部分主题可显示</small>
<small><@spring.message code='admin.categories.form.cate-url-tips' /></small>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-sm ">确定修改</button>
<a data-pjax="true" href="/admin/category" 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/category" 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>
<h3 class="box-title"><@spring.message code='admin.categories.text.add-category' /></h3>
</div>
<form action="/admin/category/save" method="post" role="form" id="cateAddForm" onsubmit="return checkCate()">
<div class="box-body">
<div class="form-group">
<label for="exampleInputEmail1">名称</label>
<label for="exampleInputEmail1"><@spring.message code='admin.categories.form.cate-name' /></label>
<input type="text" class="form-control" id="cateName" name="cateName" placeholder="">
<small>页面上所显示的名称</small>
<small><@spring.message code='admin.categories.form.cate-name-tips' /></small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">路径名称</label>
<label for="exampleInputPassword1"><@spring.message code='admin.categories.form.cate-url' /></label>
<input type="text" class="form-control" id="cateUrl" name="cateUrl" placeholder="">
<small>*这是文章路径上显示的名称,最好为英文</small>
<small><@spring.message code='admin.categories.form.cate-url-tips' /></small>
</div>
<div class="form-group">
<label for="cateDesc" class="control-label">描述</label>
<label for="cateDesc" class="control-label"><@spring.message code='admin.categories.form.cate-desc' /></label>
<textarea class="form-control" rows="3" id="cateDesc" name="cateDesc" style="resize: none"></textarea>
<small>*添加描述,部分主题可显示</small>
<small><@spring.message code='admin.categories.form.cate-url-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>
@ -91,11 +91,11 @@
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>路径</th>
<th>描述</th>
<th>文章数</th>
<th>操作</th>
<th><@spring.message code='common.th.name' /></th>
<th><@spring.message code='common.th.url' /></th>
<th><@spring.message code='common.th.desc' /></th>
<th><@spring.message code='common.th.posts-count' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
@ -111,7 +111,7 @@
</td>
<td>
<#if updateCategory?? && updateCategory.cateId?c==cate.cateId?c>
<a href="#" class="btn btn-primary btn-xs " disabled>正在修改</a>
<a href="#" class="btn btn-primary btn-xs " disabled><@spring.message code='common.btn.editing' /></a>
<#else >
<a data-pjax="true" href="/admin/category/edit?cateId=${cate.cateId?c}" class="btn btn-primary btn-xs ">修改</a>
</#if>
@ -134,15 +134,15 @@
<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.text.tips' /></h4>
</div>
<div class="modal-body">
<p>您确认要删除吗?</p>
<p><@spring.message code='common.text.tips.to-delete' /></p>
</div>
<div class="modal-footer">
<input type="hidden" id="url"/>
<button type="button" class="btn btn-default " data-dismiss="modal">取消</button>
<a onclick="removeIt()" class="btn btn-danger " data-dismiss="modal">确定</a>
<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"><@spring.message code='common.btn.define' /></a>
</div>
</div>
</div>

View File

@ -62,17 +62,17 @@
<td>
<#switch comment.commentStatus>
<#case 0>
<button class="btn btn-primary btn-xs " onclick="replyShow('${comment.commentId?c}','${comment.post.postId?c}')" <#if comment.isAdmin==1>disabled</#if>>回复</button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/throw?commentId=${comment.commentId?c}&status=0&page=${comments.number}','确定移动到回收站?')">丢弃</button>
<button class="btn btn-primary btn-xs " onclick="replyShow('${comment.commentId?c}','${comment.post.postId?c}')" <#if comment.isAdmin==1>disabled</#if>><@spring.message code="common.btn.replay" /></button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/throw?commentId=${comment.commentId?c}&status=0&page=${comments.number}','<@spring.message code="common.text.tips.to-recycle-bin" />')"><@spring.message code="common.btn.recycling" /></button>
<#break >
<#case 1>
<a data-pjax="true" class="btn btn-primary btn-xs " href="/admin/comments/revert?commentId=${comment.commentId?c}&status=1">通过</a>
<button class="btn btn-info btn-xs " onclick="replyShow('${comment.commentId?c}','${comment.post.postId?c}')">通过并回复</button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/throw?commentId=${comment.commentId?c}&status=1&page=${comments.number}','确定移动到回收站?')">丢弃</button>
<a data-pjax="true" class="btn btn-primary btn-xs " href="/admin/comments/revert?commentId=${comment.commentId?c}&status=1"><@spring.message code="common.btn.pass" /></a>
<button class="btn btn-info btn-xs " onclick="replyShow('${comment.commentId?c}','${comment.post.postId?c}')"><@spring.message code="common.btn.pass-reply" /></button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/throw?commentId=${comment.commentId?c}&status=1&page=${comments.number}','<@spring.message code="common.text.tips.to-recycle-bin" />')"><@spring.message code="common.btn.recycling" /></button>
<#break >
<#case 2>
<a data-pjax="true" class="btn btn-primary btn-xs " href="/admin/comments/revert?commentId=${comment.commentId?c}&status=2">还原</a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/remove?commentId=${comment.commentId?c}&status=2&page=${comments.number}','确定要永久删除?')">删除</button>
<a data-pjax="true" class="btn btn-primary btn-xs " href="/admin/comments/revert?commentId=${comment.commentId?c}&status=2"><@spring.message code="common.btn.reduction" /></a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/comments/remove?commentId=${comment.commentId?c}&status=2&page=${comments.number}','<@spring.message code="common.text.tips.to-delete" />')"><@spring.message code="common.btn.delete" /></button>
<#break >
</#switch>
</td>
@ -80,7 +80,7 @@
</#list>
<#else >
<tr>
<td colspan="5" style="text-align: center">暂无评论</td>
<td colspan="5" style="text-align: center"><@spring.message code="common.text.no-data" /></td>
</tr>
</#if>
</tbody>
@ -107,15 +107,15 @@
<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.text.tips" /></h4>
</div>
<div class="modal-body">
<p id="message"></p>
</div>
<div class="modal-footer">
<input type="hidden" id="url"/>
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<a onclick="removeIt()" class="btn btn-danger" data-dismiss="modal">确定</a>
<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"><@spring.message code="common.btn.define" /></a>
</div>
</div>
</div>
@ -137,8 +137,8 @@
<input type="hidden" id="commentId" name="commentId" value=""/>
<input type="hidden" id="userAgent" name="userAgent" value=""/>
<input type="hidden" id="postId" name="postId" value="" />
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="submit" class="btn btn-primary">确定</button>
<button type="button" class="btn btn-default" data-dismiss="modal"><@spring.message code="common.btn.cancel" /></button>
<button type="submit" class="btn btn-primary"><@spring.message code="common.btn.define" /></button>
</div>
</form>
</div>

View File

@ -739,7 +739,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: icon,
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -244,7 +244,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -261,7 +261,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -93,19 +93,19 @@
<td>
<#switch post.postStatus>
<#case 0>
<a href="/archives/${post.postUrl}" class="btn btn-primary btn-xs " target="_blank">查看</a>
<a href="/admin/posts/edit?postId=${post.postId?c}" class="btn btn-info btn-xs ">编辑</a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/throw?postId=${post.postId?c}&status=0','确定移到回收站?')">丢弃</button>
<a href="/archives/${post.postUrl}" class="btn btn-primary btn-xs " target="_blank"><@spring.message code='common.btn.view' /></a>
<a href="/admin/posts/edit?postId=${post.postId?c}" class="btn btn-info btn-xs "><@spring.message code='common.btn.edit' /></a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/throw?postId=${post.postId?c}&status=0','<@spring.message code="common.text.tips.to-recycle-bin" />')"><@spring.message code='common.btn.recycling' /></button>
<#break >
<#case 1>
<a href="/admin/posts/edit?postId=${post.postId?c}"
class="btn btn-info btn-xs ">编辑</a>
<button class="btn btn-primary btn-xs " onclick="modelShow('/admin/posts/revert?postId=${post.postId?c}&status=1','确定发布该文章?')">发布</button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/throw?postId=${post.postId?c}&status=1','确定移到回收站?')">丢弃</button>
class="btn btn-info btn-xs "><@spring.message code="common.btn.edit" /></a>
<button class="btn btn-primary btn-xs " onclick="modelShow('/admin/posts/revert?postId=${post.postId?c}&status=1','<@spring.message code="common.text.tips.to-release-post" />')"><@spring.message code='common.btn.release' /></button>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/throw?postId=${post.postId?c}&status=1','<@spring.message code="common.text.tips.to-recycle-bin" />')"><@spring.message code='common.btn.recycling' /></button>
<#break >
<#case 2>
<a href="/admin/posts/revert?postId=${post.postId?c}&status=2" class="btn btn-primary btn-xs ">还原</a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/remove?postId=${post.postId?c}&postType=${post.postType}','确定永久删除?(不可逆)')">永久删除</button>
<a href="/admin/posts/revert?postId=${post.postId?c}&status=2" class="btn btn-primary btn-xs "><@spring.message code='common.btn.reduction' /></a>
<button class="btn btn-danger btn-xs " onclick="modelShow('/admin/posts/remove?postId=${post.postId?c}&postType=${post.postType}','<@spring.message code="common.text.tips.to-delete" />')"><@spring.message code='common.btn.delete' /></button>
<#break >
</#switch>
</td>
@ -113,7 +113,7 @@
</#list>
<#else>
<tr>
<th colspan="7" style="text-align: center">暂无文章</th>
<th colspan="7" style="text-align: center"><@spring.message code='common.text.no-data' /></th>
</tr>
</#if>
</tbody>
@ -140,15 +140,15 @@
<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.text.tips' /></h4>
</div>
<div class="modal-body">
<p id="message"></p>
</div>
<div class="modal-footer">
<input type="hidden" id="url"/>
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<a onclick="removeIt()" class="btn btn-danger" data-dismiss="modal">确定</a>
<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"><@spring.message code='common.btn.define' /></a>
</div>
</div>
</div>

View File

@ -339,7 +339,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -356,7 +356,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -158,7 +158,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -199,7 +199,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -149,7 +149,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -163,7 +163,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,

View File

@ -130,7 +130,7 @@
function openThemeInstall() {
layer.open({
type: 2,
title: '安装主题',
title: '<@spring.message code="admin.themes.js.install-theme" />',
shadeClose: true,
shade: 0.5,
maxmin: true,
@ -155,7 +155,7 @@
if(data.code==1){
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'success',
showHideTransition: 'fade',
allowToastClose: true,
@ -172,7 +172,7 @@
}else{
$.toast({
text: data.msg,
heading: '提示',
heading: '<@spring.message code="common.text.tips" />',
icon: 'error',
showHideTransition: 'fade',
allowToastClose: true,
@ -196,7 +196,7 @@
function openSetting(theme,hasUpdate) {
layer.open({
type: 2,
title: theme+'主题设置',
title: theme+' <@spring.message code="admin.themes.js.theme-setting" />',
shadeClose: true,
shade: 0.5,
maxmin: true,