You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

275 lines
8.4 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. /*
  16. * Portuguese/Brazil Translation by Weber Souza
  17. * 08 April 2007
  18. * Updated by Allan Brazute Alves (EthraZa)
  19. * 06 September 2007
  20. * Adapted to European Portuguese by Helder Batista (hbatista)
  21. * 31 January 2008
  22. */
  23. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
  24. if(Ext.View){
  25. Ext.View.prototype.emptyText = "";
  26. }
  27. if(Ext.grid.GridPanel){
  28. Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
  29. }
  30. if(Ext.TabPanelItem){
  31. Ext.TabPanelItem.prototype.closeText = "Fechar";
  32. }
  33. if(Ext.form.Field){
  34. Ext.form.Field.prototype.invalidText = "O valor para este campo &eacute; inv&aacute;lido";
  35. }
  36. if(Ext.LoadMask){
  37. Ext.LoadMask.prototype.msg = "Carregando...";
  38. }
  39. Date.monthNames = [
  40. "Janeiro",
  41. "Fevereiro",
  42. "Mar&ccedil;o",
  43. "Abril",
  44. "Maio",
  45. "Junho",
  46. "Julho",
  47. "Agosto",
  48. "Setembro",
  49. "Outubro",
  50. "Novembro",
  51. "Dezembro"
  52. ];
  53. Date.dayNames = [
  54. "Domingo",
  55. "Segunda",
  56. "Ter&ccedil;a",
  57. "Quarta",
  58. "Quinta",
  59. "Sexta",
  60. "S&aacute;bado"
  61. ];
  62. if(Ext.MessageBox){
  63. Ext.MessageBox.buttonText = {
  64. ok : "OK",
  65. cancel : "Cancelar",
  66. yes : "Sim",
  67. no : "N&atilde;o"
  68. };
  69. }
  70. if(Ext.util.Format){
  71. Ext.util.Format.date = function(v, format){
  72. if(!v) return "";
  73. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  74. return v.dateFormat(format || "d/m/Y");
  75. };
  76. }
  77. if(Ext.DatePicker){
  78. Ext.apply(Ext.DatePicker.prototype, {
  79. todayText : "Hoje",
  80. minText : "Esta data &eacute; anterior &agrave; menor data",
  81. maxText : "Esta data &eacute; posterior &agrave; maior data",
  82. disabledDaysText : "",
  83. disabledDatesText : "",
  84. monthNames : Date.monthNames,
  85. dayNames : Date.dayNames,
  86. nextText : 'Pr&oacute;ximo M&ecirc;s (Control+Direita)',
  87. prevText : 'M&ecirc;s Anterior (Control+Esquerda)',
  88. monthYearText : 'Escolha um M&ecirc;s (Control+Cima/Baixo para mover entre os anos)',
  89. todayTip : "{0} (Espa&ccedil;o)",
  90. format : "d/m/Y",
  91. okText : "&#160;OK&#160;",
  92. cancelText : "Cancelar",
  93. startDay : 0
  94. });
  95. }
  96. if(Ext.PagingToolbar){
  97. Ext.apply(Ext.PagingToolbar.prototype, {
  98. beforePageText : "P&aacute;gina",
  99. afterPageText : "de {0}",
  100. firstText : "Primeira P&aacute;gina",
  101. prevText : "P&aacute;gina Anterior",
  102. nextText : "Pr&oacute;xima P&aacute;gina",
  103. lastText : "&Uacute;ltima P&aacute;gina",
  104. refreshText : "Atualizar",
  105. displayMsg : "<b>{0} &agrave; {1} de {2} registo(s)</b>",
  106. emptyMsg : 'Sem registos para exibir'
  107. });
  108. }
  109. if(Ext.form.TextField){
  110. Ext.apply(Ext.form.TextField.prototype, {
  111. minLengthText : "O tamanho m&iacute;nimo para este campo &eacute; {0}",
  112. maxLengthText : "O tamanho m&aacute;ximo para este campo &eacute; {0}",
  113. blankText : "Este campo &eacute; obrigat&oacute;rio.",
  114. regexText : "",
  115. emptyText : null
  116. });
  117. }
  118. if(Ext.form.NumberField){
  119. Ext.apply(Ext.form.NumberField.prototype, {
  120. minText : "O valor m&iacute;nimo para este campo &eacute; {0}",
  121. maxText : "O valor m&aacute;ximo para este campo &eacute; {0}",
  122. nanText : "{0} n&atilde;o &eacute; um n&uacute;mero v&aacute;lido"
  123. });
  124. }
  125. if(Ext.form.DateField){
  126. Ext.apply(Ext.form.DateField.prototype, {
  127. disabledDaysText : "Desabilitado",
  128. disabledDatesText : "Desabilitado",
  129. minText : "A data deste campo deve ser posterior a {0}",
  130. maxText : "A data deste campo deve ser anterior a {0}",
  131. invalidText : "{0} n&atilde;o &eacute; uma data v&aacute;lida - deve ser usado o formato {1}",
  132. format : "d/m/Y",
  133. startDay : 0
  134. });
  135. }
  136. if(Ext.form.ComboBox){
  137. Ext.apply(Ext.form.ComboBox.prototype, {
  138. loadingText : "Carregando...",
  139. valueNotFoundText : undefined
  140. });
  141. }
  142. if(Ext.form.VTypes){
  143. Ext.apply(Ext.form.VTypes, {
  144. emailText : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formato "utilizador@dominio.com"',
  145. urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
  146. alphaText : 'Este campo deve conter apenas letras e _',
  147. alphanumText : 'Este campo deve conter apenas letras, n&uacute;meros e _'
  148. });
  149. }
  150. if(Ext.form.HtmlEditor){
  151. Ext.apply(Ext.form.HtmlEditor.prototype, {
  152. createLinkText : 'Por favor, entre com o URL do link:',
  153. buttonTips : {
  154. bold : {
  155. title: 'Negrito (Ctrl+B)',
  156. text: 'Deixa o texto seleccionado em negrito.',
  157. cls: 'x-html-editor-tip'
  158. },
  159. italic : {
  160. title: 'Italico (Ctrl+I)',
  161. text: 'Deixa o texto seleccionado em italico.',
  162. cls: 'x-html-editor-tip'
  163. },
  164. underline : {
  165. title: 'Sublinhado (Ctrl+U)',
  166. text: 'Sublinha o texto seleccionado.',
  167. cls: 'x-html-editor-tip'
  168. },
  169. increasefontsize : {
  170. title: 'Aumentar Texto',
  171. text: 'Aumenta o tamanho da fonte.',
  172. cls: 'x-html-editor-tip'
  173. },
  174. decreasefontsize : {
  175. title: 'Diminuir Texto',
  176. text: 'Diminui o tamanho da fonte.',
  177. cls: 'x-html-editor-tip'
  178. },
  179. backcolor : {
  180. title: 'Cor de Fundo',
  181. text: 'Muda a cor do fundo do texto seleccionado.',
  182. cls: 'x-html-editor-tip'
  183. },
  184. forecolor : {
  185. title: 'Cor da Fonte',
  186. text: 'Muda a cor do texto seleccionado.',
  187. cls: 'x-html-editor-tip'
  188. },
  189. justifyleft : {
  190. title: 'Alinhar &agrave; Esquerda',
  191. text: 'Alinha o texto &agrave; esquerda.',
  192. cls: 'x-html-editor-tip'
  193. },
  194. justifycenter : {
  195. title: 'Centrar Texto',
  196. text: 'Centra o texto no editor.',
  197. cls: 'x-html-editor-tip'
  198. },
  199. justifyright : {
  200. title: 'Alinhar &agrave; Direita',
  201. text: 'Alinha o texto &agrave; direita.',
  202. cls: 'x-html-editor-tip'
  203. },
  204. insertunorderedlist : {
  205. title: 'Lista com Marcadores',
  206. text: 'Inicia uma lista com marcadores.',
  207. cls: 'x-html-editor-tip'
  208. },
  209. insertorderedlist : {
  210. title: 'Lista Numerada',
  211. text: 'Inicia uma lista numerada.',
  212. cls: 'x-html-editor-tip'
  213. },
  214. createlink : {
  215. title: 'Hyperliga&ccedil;&atilde;o',
  216. text: 'Transforma o texto selecionado num hyperlink.',
  217. cls: 'x-html-editor-tip'
  218. },
  219. sourceedit : {
  220. title: 'Editar Fonte',
  221. text: 'Troca para o modo de edi&ccedil;&atilde;o de c&oacute;digo fonte.',
  222. cls: 'x-html-editor-tip'
  223. }
  224. }
  225. });
  226. }
  227. if(Ext.grid.GridView){
  228. Ext.apply(Ext.grid.GridView.prototype, {
  229. sortAscText : "Ordem Ascendente",
  230. sortDescText : "Ordem Descendente",
  231. lockText : "Bloquear Coluna",
  232. unlockText : "Desbloquear Coluna",
  233. columnsText : "Colunas"
  234. });
  235. }
  236. if(Ext.grid.PropertyColumnModel){
  237. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  238. nameText : "Nome",
  239. valueText : "Valor",
  240. dateFormat : "d/m/Y"
  241. });
  242. }
  243. if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  244. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  245. splitTip : "Arraste para redimensionar.",
  246. collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
  247. });
  248. }