locale-pt_BR-debug.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. // This is needed until we can refactor all of the locales into individual files
  2. Ext.define("Ext.locale.pt_BR.Component", {
  3. override: "Ext.Component"
  4. });
  5. /**
  6. * Portuguese/Brazil Translation by Weber Souza
  7. * 08 April 2007
  8. * Updated by Allan Brazute Alves (EthraZa)
  9. * 06 September 2007
  10. * Updated by Leonardo Lima
  11. * 05 March 2008
  12. * Updated by Juliano Tarini (jtarini)
  13. * 22 April 2008
  14. * Update by Guilherme Portela
  15. * 04 May 2015
  16. */
  17. Ext.onReady(function() {
  18. if (Ext.Date) {
  19. Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
  20. Ext.Date.getShortMonthName = function(month) {
  21. return Ext.Date.monthNames[month].substring(0, 3);
  22. };
  23. Ext.Date.monthNumbers = {
  24. Jan: 0,
  25. Fev: 1,
  26. Mar: 2,
  27. Abr: 3,
  28. Mai: 4,
  29. Jun: 5,
  30. Jul: 6,
  31. Ago: 7,
  32. Set: 8,
  33. Out: 9,
  34. Nov: 10,
  35. Dez: 11
  36. };
  37. Ext.Date.getMonthNumber = function(name) {
  38. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  39. };
  40. Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
  41. }
  42. if (Ext.util && Ext.util.Format) {
  43. Ext.apply(Ext.util.Format, {
  44. thousandSeparator: '.',
  45. decimalSeparator: ',',
  46. currencySign: 'R$',
  47. // Brazilian Real
  48. dateFormat: 'd/m/Y'
  49. });
  50. Ext.util.Format.brMoney = Ext.util.Format.currency;
  51. }
  52. });
  53. Ext.define("Ext.locale.pt_BR.form.field.Base", {
  54. override: "Ext.form.field.Base",
  55. invalidText: "O valor para este campo é inválido"
  56. });
  57. Ext.define("Ext.locale.pt_BR.form.field.ComboBox", {
  58. override: "Ext.form.field.ComboBox",
  59. valueNotFoundText: undefined
  60. }, function() {
  61. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  62. loadingText: "Carregando..."
  63. });
  64. });
  65. Ext.define("Ext.locale.pt_BR.form.field.Date", {
  66. override: "Ext.form.field.Date",
  67. disabledDaysText: "Desabilitado",
  68. disabledDatesText: "Desabilitado",
  69. minText: "A data deste campo deve ser igual ou posterior a {0}",
  70. maxText: "A data deste campo deve ser igual ou anterior a {0}",
  71. invalidText: "{0} não é uma data válida - deve ser informado no formato {1}",
  72. format: "d/m/Y"
  73. });
  74. Ext.define("Ext.locale.pt_BR.form.field.HtmlEditor", {
  75. override: "Ext.form.field.HtmlEditor",
  76. createLinkText: 'Por favor, entre com a URL do link:'
  77. }, function() {
  78. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  79. buttonTips: {
  80. bold: {
  81. title: 'Negrito (Ctrl+B)',
  82. text: 'Deixa o texto selecionado em negrito.',
  83. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  84. },
  85. italic: {
  86. title: 'Itálico (Ctrl+I)',
  87. text: 'Deixa o texto selecionado em itálico.',
  88. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  89. },
  90. underline: {
  91. title: 'Sublinhado (Ctrl+U)',
  92. text: 'Sublinha o texto selecionado.',
  93. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  94. },
  95. increasefontsize: {
  96. title: 'Aumentar Texto',
  97. text: 'Aumenta o tamanho da fonte.',
  98. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  99. },
  100. decreasefontsize: {
  101. title: 'Diminuir Texto',
  102. text: 'Diminui o tamanho da fonte.',
  103. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  104. },
  105. backcolor: {
  106. title: 'Cor de Fundo',
  107. text: 'Muda a cor do fundo do texto selecionado.',
  108. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  109. },
  110. forecolor: {
  111. title: 'Cor da Fonte',
  112. text: 'Muda a cor do texto selecionado.',
  113. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  114. },
  115. justifyleft: {
  116. title: 'Alinhar à Esquerda',
  117. text: 'Alinha o texto à esquerda.',
  118. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  119. },
  120. justifycenter: {
  121. title: 'Centralizar Texto',
  122. text: 'Centraliza o texto no editor.',
  123. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  124. },
  125. justifyright: {
  126. title: 'Alinhar à Direita',
  127. text: 'Alinha o texto à direita.',
  128. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  129. },
  130. insertunorderedlist: {
  131. title: 'Lista com Marcadores',
  132. text: 'Inicia uma lista com marcadores.',
  133. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  134. },
  135. insertorderedlist: {
  136. title: 'Lista Numerada',
  137. text: 'Inicia uma lista numerada.',
  138. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  139. },
  140. createlink: {
  141. title: 'Link',
  142. text: 'Transforma o texto selecionado em um link.',
  143. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  144. },
  145. sourceedit: {
  146. title: 'Editar Fonte',
  147. text: 'Troca para o modo de edição de código fonte.',
  148. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  149. }
  150. }
  151. });
  152. });
  153. Ext.define("Ext.locale.pt_BR.form.field.Number", {
  154. override: "Ext.form.field.Number",
  155. minText: "O valor mínimo para este campo é {0}",
  156. maxText: "O valor máximo para este campo é {0}",
  157. nanText: "{0} não é um número válido"
  158. });
  159. Ext.define("Ext.locale.pt_BR.form.field.Text", {
  160. override: "Ext.form.field.Text",
  161. minLengthText: "O tamanho mínimo para este campo é {0}",
  162. maxLengthText: "O tamanho máximo para este campo é {0}",
  163. blankText: "Este campo é obrigatório.",
  164. regexText: "",
  165. emptyText: null
  166. });
  167. Ext.define("Ext.locale.pt_BR.form.field.VTypes", {
  168. override: "Ext.form.field.VTypes",
  169. emailText: 'Este campo deve ser um endereço de e-mail válido, no formato "usuario@dominio.com.br"',
  170. urlText: 'Este campo deve ser uma URL no formato "http:/' + '/www.dominio.com.br"',
  171. alphaText: 'Este campo deve conter apenas letras e _',
  172. alphanumText: 'Este campo deve conter apenas letras, números e _'
  173. });
  174. Ext.define("Ext.locale.pt_BR.grid.PropertyColumnModel", {
  175. override: "Ext.grid.PropertyColumnModel",
  176. nameText: "Nome",
  177. valueText: "Valor",
  178. dateFormat: "d/m/Y"
  179. });
  180. Ext.define('Ext.locale.pt_BR.grid.feature.Grouping', {
  181. override: 'Ext.grid.feature.Grouping',
  182. emptyGroupText: '(Nenhum)',
  183. groupByText: 'Agrupar por este campo',
  184. showGroupsText: 'Mostrar agrupado'
  185. });
  186. Ext.define('Ext.locale.pt_BR.grid.filters.Filters', {
  187. override: 'Ext.grid.filters.Filters',
  188. menuFilterText: 'Filtros'
  189. });
  190. Ext.define('Ext.locale.pt_BR.grid.filters.filter.Boolean', {
  191. override: 'Ext.grid.filters.filter.Boolean',
  192. yesText: 'Sim',
  193. noText: 'Não'
  194. });
  195. Ext.define('Ext.locale.pt_BR.grid.filters.filter.Date', {
  196. override: 'Ext.grid.filters.filter.Date',
  197. getFields: function() {
  198. return {
  199. lt: { text: 'Antes' },
  200. gt: { text: 'Depois' },
  201. eq: { text: 'Em' }
  202. };
  203. }
  204. });
  205. Ext.define('Ext.locale.pt_BR.grid.filters.filter.List', {
  206. override: 'Ext.grid.filters.filter.List',
  207. loadingText: 'Carregando...'
  208. });
  209. Ext.define('Ext.locale.pt_BR.grid.filters.filter.Number', {
  210. override: 'Ext.grid.filters.filter.Number',
  211. emptyText: 'Digite o número...'
  212. });
  213. Ext.define('Ext.locale.pt_BR.grid.filters.filter.String', {
  214. override: 'Ext.grid.filters.filter.String',
  215. emptyText: 'Digite o texto de filtro...'
  216. });
  217. Ext.define('Ext.locale.pt_BR.grid.header.Container', {
  218. override: 'Ext.grid.header.Container',
  219. sortAscText: 'Ordem Ascendente',
  220. sortDescText: 'Ordem Descendente',
  221. columnsText: 'Colunas'
  222. });
  223. Ext.define('Ext.locale.pt_BR.grid.locking.Lockable', {
  224. override: 'Ext.grid.locking.Lockable',
  225. lockText: 'Bloquear Coluna',
  226. unlockText: 'Desbloquear Coluna'
  227. });
  228. Ext.define("Ext.locale.pt_BR.grid.plugin.DragDrop", {
  229. override: "Ext.grid.plugin.DragDrop",
  230. dragText: "{0} linha(s) selecionada(s)"
  231. });
  232. /**
  233. * Portuguese/Brazil Translation by Guilherme Portela
  234. * 07 March 2016
  235. */
  236. Ext.define("Ext.locale.pt_BR.panel.Panel", {
  237. override: "Ext.panel.Panel",
  238. closeToolText: "Fechar painel",
  239. collapseToolText: "Recolher painel",
  240. expandToolText: "Expandir painel"
  241. });
  242. Ext.define("Ext.locale.pt_BR.picker.Date", {
  243. override: "Ext.picker.Date",
  244. todayText: "Hoje",
  245. minText: "Esta data é anterior a menor data",
  246. maxText: "Esta data é posterior a maior data",
  247. disabledDaysText: "",
  248. disabledDatesText: "",
  249. nextText: 'Próximo Mês (Control+Direita)',
  250. prevText: 'Mês Anterior (Control+Esquerda)',
  251. monthYearText: 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
  252. todayTip: "{0} (Espaço)",
  253. format: "d/m/Y",
  254. startDay: 0
  255. });
  256. Ext.define("Ext.locale.pt_BR.picker.Month", {
  257. override: "Ext.picker.Month",
  258. okText: " OK ",
  259. cancelText: "Cancelar"
  260. });
  261. Ext.define("Ext.locale.pt_BR.tab.Tab", {
  262. override: "Ext.tab.Tab",
  263. closeText: "Fechar"
  264. });
  265. Ext.define("Ext.locale.pt_BR.toolbar.Paging", {
  266. override: "Ext.PagingToolbar",
  267. beforePageText: "Página",
  268. afterPageText: "de {0}",
  269. firstText: "Primeira Página",
  270. prevText: "Página Anterior",
  271. nextText: "Próxima Página",
  272. lastText: "Última Página",
  273. refreshText: "Atualizar",
  274. displayMsg: "<b>{0} à {1} de {2} registro(s)</b>",
  275. emptyMsg: 'Sem registros para exibir'
  276. });
  277. // changing the msg text below will affect the LoadMask
  278. Ext.define("Ext.locale.pt_BR.view.AbstractView", {
  279. override: "Ext.view.AbstractView",
  280. loadingText: "Carregando..."
  281. });
  282. Ext.define("Ext.locale.pt_BR.view.View", {
  283. override: "Ext.view.View",
  284. emptyText: ""
  285. });
  286. Ext.define("Ext.locale.pt_BR.window.MessageBox", {
  287. override: "Ext.window.MessageBox",
  288. buttonText: {
  289. ok: "OK",
  290. cancel: "Cancelar",
  291. yes: "Sim",
  292. no: "Não"
  293. }
  294. });