locale-pt_BR-debug.js 10 KB

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