本文主要是介绍displaytag的properties文件的汉化-displaytag_zh_CN.proper,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
displaytag的properties文件的汉化版,如果要使用的话,需要使用JDK的native2ascii工具转换成相应的编码格式的文件才可以。--------------------------------------------------------------------------------
basic.empty.showtable=true
basic.show.header=true
# page | list
sort.amount=page
export.amount=list
export.decorated=true
paging.banner.group_size=8
paging.banner.placement=top
css.tr.even=even
css.tr.odd=odd
css.th.sorted=sorted
css.th.ascending=order1
css.th.descending=order2
css.table=
css.th.sortable=sortable
# factory classes for extensions
factory.requestHelper=org.displaytag.util.DefaultRequestHelperFactory
# factory class for decorators
factory.decorator=org.displaytag.decorator.DefaultDecoratorFactory
# locale provider (Jstl provider by default)
locale.provider=org.displaytag.localization.I18nJstlAdapter
# locale.resolver (nothing by default, simply use locale from request)
#locale.resolver=
export.types=csv excel xml pdf
export.csv.class=org.displaytag.export.CsvView
export.excel.class=org.displaytag.export.ExcelView
export.xml.class=org.displaytag.export.XmlView
export.pdf.class=org.displaytag.export.PdfView
export.csv=true
export.csv.label=<span class="export csv">CSV </span>
export.csv.include_header=false
export.csv.filename=
export.excel=true
export.excel.label=<span class="export excel">Excel </span>
export.excel.include_header=true
export.excel.filename=
export.xml=true
export.xml.label=<span class="export xml">XML </span>
export.xml.filename=
export.pdf=false
export.pdf.label=<span class="export pdf">PDF </span>
export.pdf.include_header=true
export.pdf.filename=
export.rtf=false
export.rtf.label=<span class="export rtf">RTF </span>
export.rtf.include_header=true
export.rtf.filename=
# messages
basic.msg.empty_list=没有相关信息!
basic.msg.empty_list_row=<tr class="empty"><td colspan="{0}"></td></tr>
error.msg.invalid_page=invalid page
export.banner=<div class="exportlinks">Export options: {0}</div>
export.banner.sepchar= |
paging.banner.item_name=条记录
paging.banner.items_name=条记录
paging.banner.no_items_found=<span class="pagebanner">共0条记录 当前为:</span>
paging.banner.one_item_found=<span class="pagebanner">共1条记录 当前为:</span>
paging.banner.all_items_found=<span class="pagebanner">共:{0} {1} 当前为:</span>
paging.banner.some_items_found=<span class="pagebanner">共:{0} {1} 当前为:第{2}-{3}{1} </span>
paging.banner.full=<span class="pagelinks">【<a href="{1}">首页</a>/<a href="{2}">上一页</a>】 {0} 【<a href="{3}">下一页</a>/<a href="{4}">尾页</a>】</span>
paging.banner.first=<span class="pagelinks">【首页/上一页】 {0} 【<a href="{3}">下一页</a>/<a href="{4}">尾页</a>】</span>
paging.banner.last=<span class="pagelinks">【<a href="{1}">首页</a>/<a href="{2}">上一页</a>】 {0} 【下一页/尾页】</span>
paging.banner.onepage=<span class="pagelinks">{0}</span>
paging.banner.page.selected=<font color="red">第<strong>{0}</strong>页</font>
paging.banner.page.link=<a href="{1}" title="转至第 {0}页">{0}</a>
paging.banner.page.separator=, \
# external sort and pagination
pagination.sort.param=sort
pagination.sortdirection.param=dir
pagination.pagenumber.param=page
pagination.searchid.param=searchid
pagination.sort.asc.value=asc
pagination.sort.desc.value=desc
pagination.sort.skippagenumber=true
# unused
save.excel.banner=<a href="{0}" rel="external">save ({1} bytes)</a>
save.excel.filename=export.xls
--------------------------------------------------------------------------------
注意:这个文件要放置到你的web系统的\WEB-INF\classes 目录下,否则还是会按照默认的设置显示英文的。
本文来自CSDN博客http://blog.csdn.net/superbeck/archive/2009/06/06/4247925.aspx
这篇关于displaytag的properties文件的汉化-displaytag_zh_CN.proper的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!