Commit faa0ea1247ff6e1de42591a192b8bd1946e17189

Authored by Luciano Dias
1 parent 9d09b170
Exists in master

Alteração do local dos arquivos de propriedades da displaytag #1

de src/main/java para src/main/resources
src/main/java/org/displaytag/messages.properties
... ... @@ -1,68 +0,0 @@
1   -ExportException.msg=Unable to reset response before returning exported data. You are not using an export filter. \
2   -Be sure that no other jsp tags are used before display:table or refer to the displaytag documentation on how to configure the export filter (requires j2ee 1.3).
3   -
4   -InvalidTagAttributeValueException.msg=Invalid value for attribute "{0}" value="{1}"
5   -
6   -TagStructureException.msg=Tag "{0}" should ne nested in "{1}"
7   -
8   -MissingAttributeException.msg=You must specify one of the following: {0}
9   -
10   -TablePropertiesLoadException.msg=Unable to load file {0}
11   -
12   -TableProperties.invalidvalue=Invalid value for "{0}" property: value="{1}"; using default "{2}"
13   -
14   -TableProperties.propertiesnotfound=Was not able to load a custom displaytag.properties; {0}
15   -
16   -RuntimeLookupException.msg=LookupException while trying to fetch property "{0}". Cause: {1}.
17   -
18   -FactoryInstantiationException.msg=Cannot instantiate the class "{0}" specified by the property "{1}".
19   -
20   -NestableException.msg=Exception: [{0}] {1}
21   -NestableException.msgcause=Exception: [{0}] {1} Cause: {2}
22   -
23   -DecoratorInstantiationException.msg=Unable to load {0} due to a {1} exception
24   -
25   -ObjectLookupException.msg=Error looking up property "{0}" in object type "{1}".
26   -
27   -DependencyChecker.lib.missing=\nYou do not appear to have the {0} library, version {1}.\n\
28   -{0}-{1}.jar is available in the displaytag distribution, or from the {0} \n\
29   -website at {2} \n\n\n
30   -
31   -DependencyChecker.lib.incompatible=\nYou appear to have an INCOMPATIBLE VERSION of the {0} library. \n\
32   -Displaytag requires version {1} of this library, and you appear to have a prior version in \n\
33   -your classpath. You must remove this prior version and ensure that only version {1} is in \n\
34   -your classpath.\n\
35   -If {0}-x.jar is in your classpath, be sure to remove it. \n\
36   -Be sure to delete all cached or temporary jar files from your application server; Tomcat \n\
37   -users should be sure to also check the CATALINA_HOME/shared folder; you may need to \n\
38   -restart the server. \n\
39   -{0}-{1}.jar is available in the displaytag distribution, or from the {0} \n\
40   -website at {2} \n\n\n
41   -
42   -CompatibleUrlEncoder.errorinvoking=System error invoking URLEncoder.encode() by reflection with encoding "{0}": {1}
43   -RequestHelper.invalidparameter=Invalid "{0}" parameter from request: value="{1}"
44   -
45   -ResponseOverrideFilter.parameternotfound=Filter has been called, but PARAMETER_EXPORTING parameter has not been found.
46   -ResponseOverrideFilter.overridingoutput=Overriding output, writing new output with content type {0}
47   -ResponseOverrideFilter.filenameis=Filename specified as {0}
48   -
49   -PdfView.errorexporting=Exception caught during generation of pdf file.
50   -
51   -ExportViewFactory.initializing=Initializing ExportViewFactory with type={0}
52   -ExportViewFactory.classnotfound=Unable to instantiate class for {0} export. {1} was not found.
53   -ExportViewFactory.noclassdef=Unable to instantiate class for {0} export. {1} was found, but required libraries are missing: {2}
54   -ExportViewFactory.instantiationexception=Unable to instantiate class for {0} export {1} due to an instantiation exception: {2}
55   -ExportViewFactory.illegalaccess=IllegalAccessException during instantiation of class for {0} export {1}: {2}
56   -ExportViewFactory.added=ExportView for {0} media added: {1}
57   -
58   -TableProperties.errorloading=Unable to instantiate the configured {0} due to a {1} exception: {2}. Falling back to default implementation.
59   -TableProperties.classinitializedto={0} initialized to {1}.
60   -TableProperties.noconfigured=No {0} configured.
61   -
62   -DisplayPropertiesLoaderServlet.missingparameter=No properties parameter found under key {0}. Please check servlet configuration.
63   -
64   -SmartListHelper.debug.instantiated=New SmartListHelper instantiated: list.size=[{0}], page size=[{1}], full list size=[{2}].
65   -SmartListHelper.debug.sublist=Returning sublist for page {0}
66   -SmartListHelper.debug.currentpage=CurrentPage page is {0} of {1}
67   -
68   -Localization.missingkey=Missing resource for key "{0}"
src/main/java/org/displaytag/properties/TableTag.properties
... ... @@ -1,115 +0,0 @@
1   -basic.empty.showtable=false
2   -basic.show.header=true
3   -
4   -# page | list
5   -sort.amount=page
6   -
7   -#export.amount=list
8   -export.amount = page
9   -export.decorated=true
10   -
11   -paging.banner.group_size=18
12   -paging.banner.placement=bannerTopNavigationBottom
13   -
14   -css.table = displaytag
15   -css.th.ascending = order1
16   -css.th.descending = order2
17   -css.th.sortable = sortable
18   -css.th.sorted = sorted
19   -css.tr.even = even
20   -css.tr.odd = odd
21   -
22   -# factory classes for extensions
23   -factory.requestHelper=org.displaytag.util.DefaultRequestHelperFactory
24   -
25   -# locale provider (Jstl provider by default)
26   -locale.provider=org.displaytag.localization.I18nJstlAdapter
27   -
28   -# locale.resolver (nothing by default, simply use locale from request)
29   -#locale.resolver=
30   -
31   -
32   -export.banner = Op\u00E7\u00F5es de exporta\u00E7\u00E3o: {0}
33   -export.banner.sepchar = |
34   -
35   -#Tue Dec 06 11:37:12 BRST 2005
36   -export.xml.mimetype = text/xml
37   -
38   -export.types=csv excel xml pdf
39   -
40   -export.csv.class=org.displaytag.export.CsvView
41   -export.excel.class=org.displaytag.export.ExcelView
42   -export.xml.class=org.displaytag.export.XmlView
43   -export.pdf.class=org.displaytag.export.PdfView
44   -
45   -export.csv=true
46   -#export.csv.label=<span class="export csv">CSV </span>
47   -export.csv.label=CSV
48   -export.csv.include_header=false
49   -export.csv.filename=
50   -
51   -export.excel=true
52   -#export.excel.label=<span class="export excel">Excel </span>
53   -export.excel.label=Excel
54   -export.excel.include_header=true
55   -export.excel.filename=
56   -
57   -export.xml=true
58   -#export.xml.label=<span class="export xml">XML </span>
59   -export.xml.label=XML
60   -export.xml.filename=
61   -
62   -export.pdf=true
63   -export.pdf.label=<span class="export pdf">PDF </span>
64   -export.pdf.label=PDF
65   -export.pdf.include_header=true
66   -export.pdf.filename=
67   -
68   -
69   -# messages
70   -
71   -basic.msg.empty_list=N\u00E3o foi encontrado nada a ser exibido.
72   -basic.msg.empty_list_row=<tr class="empty"><td colspan="{0}">Nothing found to display.</td></tr>
73   -
74   -error.msg.cant_find_bean = O bean {0} n\u00E3o foi encontrado no escopo {1}
75   -error.msg.illegal_access_exception = Erro do tipo IllegalAccessException tentando recuperar a propriedade {0} no bean {1}
76   -error.msg.invalid_bean = O bean especificado n\u00E3o \u00E9 uma Collection suportada: {0}
77   -error.msg.invalid_decorator = A classe Decorator n\u00E3o \u00E9 uma subclasse de TableDecorator
78   -error.msg.invalid_page = P\u00E1gina ({0}) inv\u00E1lida, o valor deve estar entre 1 e {1}
79   -error.msg.invocation_target_exception = Erro do tipo InvocationTargetException tentando recuperar a propriedade {0} no bean {1}
80   -error.msg.no_column_tags = Especifique as tags 'column'.
81   -error.msg.nosuchmethod_exception = Erro do tipo NoSuchMethodException tentando recuperar a propriedade {0} no bean {1}
82   -#error.msg.invalid_page=invalid page
83   -
84   -paging.banner.item_name=item
85   -paging.banner.items_name=itens
86   -
87   -paging.banner.first_label=Primeira
88   -paging.banner.last_label=\u00DAltima
89   -paging.banner.next_label=Próxima
90   -paging.banner.prev_label=Anterior
91   -
92   -paging.banner.no_items_found=<span class="pagebanner">N\u00E3o foram encontrados {0} a serem exibidos.</span>
93   -paging.banner.one_item_found=<span class="pagebanner">1 {0} encontrado.</span>
94   -paging.banner.all_items_found=<span class="pagebanner">{0} {1} encontrados, exibindo todos os {2}.</span>
95   -paging.banner.some_items_found=<span class="pagebanner">{0} {1} encontrados, exibindo do {2} ao {3}.</span>
96   -
97   -paging.banner.include_first_last = true
98   -
99   -paging.banner.full=<span class="pagelinks">[<a href="{1}">Primeiro</a>/<a href="{2}">Anterior</a>] {0} [<a href="{3}">Próximo</a>/<a href="{4}">Último</a>]</span>
100   -paging.banner.first=<span class="pagelinks">[Primeiro/Anterior] {0} [<a href="{3}">Próximo</a>/<a href="{4}">Último</a>]</span>
101   -paging.banner.last=<span class="pagelinks">[<a href="{1}">Primeiro</a>/<a href="{2}">Anterior</a>] {0} [Próximo/Último]</span>
102   -paging.banner.onepage=<span class="pagelinks">{0}</span>
103   -
104   -paging.banner.page.selected=<strong>{0}</strong>
105   -paging.banner.page.link=<a href="{1}" title="Ir para página {0}">{0}</a>
106   -paging.banner.page.separator=,
107   -
108   -# unused
109   -save.excel.banner=<a href="{0}" rel="external">save ({1} bytes)</a>
110   -save.excel.filename=export.xls
111   -
112   -#
113   -#result.banner.placement = top
114   -
115   -paging.pagesize=0
116 0 \ No newline at end of file
src/main/resources/org/displaytag/messages.properties 0 → 100644
... ... @@ -0,0 +1,68 @@
  1 +ExportException.msg=Unable to reset response before returning exported data. You are not using an export filter. \
  2 +Be sure that no other jsp tags are used before display:table or refer to the displaytag documentation on how to configure the export filter (requires j2ee 1.3).
  3 +
  4 +InvalidTagAttributeValueException.msg=Invalid value for attribute "{0}" value="{1}"
  5 +
  6 +TagStructureException.msg=Tag "{0}" should ne nested in "{1}"
  7 +
  8 +MissingAttributeException.msg=You must specify one of the following: {0}
  9 +
  10 +TablePropertiesLoadException.msg=Unable to load file {0}
  11 +
  12 +TableProperties.invalidvalue=Invalid value for "{0}" property: value="{1}"; using default "{2}"
  13 +
  14 +TableProperties.propertiesnotfound=Was not able to load a custom displaytag.properties; {0}
  15 +
  16 +RuntimeLookupException.msg=LookupException while trying to fetch property "{0}". Cause: {1}.
  17 +
  18 +FactoryInstantiationException.msg=Cannot instantiate the class "{0}" specified by the property "{1}".
  19 +
  20 +NestableException.msg=Exception: [{0}] {1}
  21 +NestableException.msgcause=Exception: [{0}] {1} Cause: {2}
  22 +
  23 +DecoratorInstantiationException.msg=Unable to load {0} due to a {1} exception
  24 +
  25 +ObjectLookupException.msg=Error looking up property "{0}" in object type "{1}".
  26 +
  27 +DependencyChecker.lib.missing=\nYou do not appear to have the {0} library, version {1}.\n\
  28 +{0}-{1}.jar is available in the displaytag distribution, or from the {0} \n\
  29 +website at {2} \n\n\n
  30 +
  31 +DependencyChecker.lib.incompatible=\nYou appear to have an INCOMPATIBLE VERSION of the {0} library. \n\
  32 +Displaytag requires version {1} of this library, and you appear to have a prior version in \n\
  33 +your classpath. You must remove this prior version and ensure that only version {1} is in \n\
  34 +your classpath.\n\
  35 +If {0}-x.jar is in your classpath, be sure to remove it. \n\
  36 +Be sure to delete all cached or temporary jar files from your application server; Tomcat \n\
  37 +users should be sure to also check the CATALINA_HOME/shared folder; you may need to \n\
  38 +restart the server. \n\
  39 +{0}-{1}.jar is available in the displaytag distribution, or from the {0} \n\
  40 +website at {2} \n\n\n
  41 +
  42 +CompatibleUrlEncoder.errorinvoking=System error invoking URLEncoder.encode() by reflection with encoding "{0}": {1}
  43 +RequestHelper.invalidparameter=Invalid "{0}" parameter from request: value="{1}"
  44 +
  45 +ResponseOverrideFilter.parameternotfound=Filter has been called, but PARAMETER_EXPORTING parameter has not been found.
  46 +ResponseOverrideFilter.overridingoutput=Overriding output, writing new output with content type {0}
  47 +ResponseOverrideFilter.filenameis=Filename specified as {0}
  48 +
  49 +PdfView.errorexporting=Exception caught during generation of pdf file.
  50 +
  51 +ExportViewFactory.initializing=Initializing ExportViewFactory with type={0}
  52 +ExportViewFactory.classnotfound=Unable to instantiate class for {0} export. {1} was not found.
  53 +ExportViewFactory.noclassdef=Unable to instantiate class for {0} export. {1} was found, but required libraries are missing: {2}
  54 +ExportViewFactory.instantiationexception=Unable to instantiate class for {0} export {1} due to an instantiation exception: {2}
  55 +ExportViewFactory.illegalaccess=IllegalAccessException during instantiation of class for {0} export {1}: {2}
  56 +ExportViewFactory.added=ExportView for {0} media added: {1}
  57 +
  58 +TableProperties.errorloading=Unable to instantiate the configured {0} due to a {1} exception: {2}. Falling back to default implementation.
  59 +TableProperties.classinitializedto={0} initialized to {1}.
  60 +TableProperties.noconfigured=No {0} configured.
  61 +
  62 +DisplayPropertiesLoaderServlet.missingparameter=No properties parameter found under key {0}. Please check servlet configuration.
  63 +
  64 +SmartListHelper.debug.instantiated=New SmartListHelper instantiated: list.size=[{0}], page size=[{1}], full list size=[{2}].
  65 +SmartListHelper.debug.sublist=Returning sublist for page {0}
  66 +SmartListHelper.debug.currentpage=CurrentPage page is {0} of {1}
  67 +
  68 +Localization.missingkey=Missing resource for key "{0}"
... ...
src/main/resources/org/displaytag/properties/TableTag.properties 0 → 100644
... ... @@ -0,0 +1,115 @@
  1 +basic.empty.showtable=false
  2 +basic.show.header=true
  3 +
  4 +# page | list
  5 +sort.amount=page
  6 +
  7 +#export.amount=list
  8 +export.amount = page
  9 +export.decorated=true
  10 +
  11 +paging.banner.group_size=18
  12 +paging.banner.placement=bannerTopNavigationBottom
  13 +
  14 +css.table = displaytag
  15 +css.th.ascending = order1
  16 +css.th.descending = order2
  17 +css.th.sortable = sortable
  18 +css.th.sorted = sorted
  19 +css.tr.even = even
  20 +css.tr.odd = odd
  21 +
  22 +# factory classes for extensions
  23 +factory.requestHelper=org.displaytag.util.DefaultRequestHelperFactory
  24 +
  25 +# locale provider (Jstl provider by default)
  26 +locale.provider=org.displaytag.localization.I18nJstlAdapter
  27 +
  28 +# locale.resolver (nothing by default, simply use locale from request)
  29 +#locale.resolver=
  30 +
  31 +
  32 +export.banner = Op\u00E7\u00F5es de exporta\u00E7\u00E3o: {0}
  33 +export.banner.sepchar = |
  34 +
  35 +#Tue Dec 06 11:37:12 BRST 2005
  36 +export.xml.mimetype = text/xml
  37 +
  38 +export.types=csv excel xml pdf
  39 +
  40 +export.csv.class=org.displaytag.export.CsvView
  41 +export.excel.class=org.displaytag.export.ExcelView
  42 +export.xml.class=org.displaytag.export.XmlView
  43 +export.pdf.class=org.displaytag.export.PdfView
  44 +
  45 +export.csv=true
  46 +#export.csv.label=<span class="export csv">CSV </span>
  47 +export.csv.label=CSV
  48 +export.csv.include_header=false
  49 +export.csv.filename=
  50 +
  51 +export.excel=true
  52 +#export.excel.label=<span class="export excel">Excel </span>
  53 +export.excel.label=Excel
  54 +export.excel.include_header=true
  55 +export.excel.filename=
  56 +
  57 +export.xml=true
  58 +#export.xml.label=<span class="export xml">XML </span>
  59 +export.xml.label=XML
  60 +export.xml.filename=
  61 +
  62 +export.pdf=true
  63 +export.pdf.label=<span class="export pdf">PDF </span>
  64 +export.pdf.label=PDF
  65 +export.pdf.include_header=true
  66 +export.pdf.filename=
  67 +
  68 +
  69 +# messages
  70 +
  71 +basic.msg.empty_list=N\u00E3o foi encontrado nada a ser exibido.
  72 +basic.msg.empty_list_row=<tr class="empty"><td colspan="{0}">Nothing found to display.</td></tr>
  73 +
  74 +error.msg.cant_find_bean = O bean {0} n\u00E3o foi encontrado no escopo {1}
  75 +error.msg.illegal_access_exception = Erro do tipo IllegalAccessException tentando recuperar a propriedade {0} no bean {1}
  76 +error.msg.invalid_bean = O bean especificado n\u00E3o \u00E9 uma Collection suportada: {0}
  77 +error.msg.invalid_decorator = A classe Decorator n\u00E3o \u00E9 uma subclasse de TableDecorator
  78 +error.msg.invalid_page = P\u00E1gina ({0}) inv\u00E1lida, o valor deve estar entre 1 e {1}
  79 +error.msg.invocation_target_exception = Erro do tipo InvocationTargetException tentando recuperar a propriedade {0} no bean {1}
  80 +error.msg.no_column_tags = Especifique as tags 'column'.
  81 +error.msg.nosuchmethod_exception = Erro do tipo NoSuchMethodException tentando recuperar a propriedade {0} no bean {1}
  82 +#error.msg.invalid_page=invalid page
  83 +
  84 +paging.banner.item_name=item
  85 +paging.banner.items_name=itens
  86 +
  87 +paging.banner.first_label=Primeira
  88 +paging.banner.last_label=\u00DAltima
  89 +paging.banner.next_label=Próxima
  90 +paging.banner.prev_label=Anterior
  91 +
  92 +paging.banner.no_items_found=<span class="pagebanner">N\u00E3o foram encontrados {0} a serem exibidos.</span>
  93 +paging.banner.one_item_found=<span class="pagebanner">1 {0} encontrado.</span>
  94 +paging.banner.all_items_found=<span class="pagebanner">{0} {1} encontrados, exibindo todos os {2}.</span>
  95 +paging.banner.some_items_found=<span class="pagebanner">{0} {1} encontrados, exibindo do {2} ao {3}.</span>
  96 +
  97 +paging.banner.include_first_last = true
  98 +
  99 +paging.banner.full=<span class="pagelinks">[<a href="{1}">Primeiro</a>/<a href="{2}">Anterior</a>] {0} [<a href="{3}">Próximo</a>/<a href="{4}">Último</a>]</span>
  100 +paging.banner.first=<span class="pagelinks">[Primeiro/Anterior] {0} [<a href="{3}">Próximo</a>/<a href="{4}">Último</a>]</span>
  101 +paging.banner.last=<span class="pagelinks">[<a href="{1}">Primeiro</a>/<a href="{2}">Anterior</a>] {0} [Próximo/Último]</span>
  102 +paging.banner.onepage=<span class="pagelinks">{0}</span>
  103 +
  104 +paging.banner.page.selected=<strong>{0}</strong>
  105 +paging.banner.page.link=<a href="{1}" title="Ir para página {0}">{0}</a>
  106 +paging.banner.page.separator=,
  107 +
  108 +# unused
  109 +save.excel.banner=<a href="{0}" rel="external">save ({1} bytes)</a>
  110 +save.excel.filename=export.xls
  111 +
  112 +#
  113 +#result.banner.placement = top
  114 +
  115 +paging.pagesize=0
0 116 \ No newline at end of file
... ...