locale-pt_BR-debug.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. Ext.define('Ext.locale.pt.ux.colorpick.Selector', {
  2. override: 'Ext.ux.colorpick.Selector',
  3. okButtonText: 'OK',
  4. cancelButtonText: 'Cancelar'
  5. });
  6. Ext.define("Ext.locale.pt_BR.Component", {
  7. override: "Ext.Component"
  8. });
  9. Ext.define('Ext.locale.pt_BR.Dialog', {
  10. override: 'Ext.Dialog',
  11. config: {
  12. maximizeTool: {
  13. tooltip: "Maximizar para tela cheia"
  14. },
  15. restoreTool: {
  16. tooltip: "Restaurar para o tamanho original"
  17. }
  18. }
  19. });
  20. Ext.define("Ext.locale.pt_BR.LoadMask", {
  21. override: "Ext.LoadMask",
  22. config: {
  23. message: 'Carregando...'
  24. }
  25. });
  26. Ext.define('Ext.locale.pt_BR.Panel', {
  27. override: 'Ext.Panel',
  28. config: {
  29. standardButtons: {
  30. ok: {
  31. text: 'OK'
  32. },
  33. abort: {
  34. text: 'Abortar'
  35. },
  36. retry: {
  37. text: 'Repetir'
  38. },
  39. ignore: {
  40. text: 'Ignorar'
  41. },
  42. yes: {
  43. text: 'Sim'
  44. },
  45. no: {
  46. text: 'Não'
  47. },
  48. cancel: {
  49. text: 'Cancelar'
  50. },
  51. apply: {
  52. text: 'Aplicar'
  53. },
  54. save: {
  55. text: 'Salvar'
  56. },
  57. submit: {
  58. text: 'Enviar'
  59. },
  60. help: {
  61. text: 'Ajuda'
  62. },
  63. close: {
  64. text: 'Fechar'
  65. }
  66. },
  67. closeToolText: 'Fechar Painel'
  68. }
  69. });
  70. Ext.define('Ext.locale.pt_BR.data.validator.Bound', {
  71. override: 'Ext.data.validator.Bound',
  72. config: {
  73. emptyMessage: 'Deve estar presente',
  74. minOnlyMessage: 'O valor deve ser maior do que {0}',
  75. maxOnlyMessage: 'O valor deve ser inferior a {0}',
  76. bothMessage: 'O valor deve estar entre {0} e {1}'
  77. }
  78. });
  79. Ext.define('Ext.locale.pt_BR.data.validator.CIDRv4', {
  80. override: 'Ext.data.validator.CIDRv4',
  81. config: {
  82. message: 'Não é um bloco CIDR válido'
  83. }
  84. });
  85. Ext.define('Ext.locale.pt_BR.data.validator.CIDRv6', {
  86. override: 'Ext.data.validator.CIDRv6',
  87. config: {
  88. message: 'Não é um bloco CIDR válido'
  89. }
  90. });
  91. Ext.define('Ext.locale.pt_BR.data.validator.Currency', {
  92. override: 'Ext.data.validator.Currency',
  93. config: {
  94. message: 'Não é um valor monetário válido'
  95. }
  96. });
  97. Ext.define('Ext.locale.pt_BR.data.validator.Date', {
  98. override: 'Ext.data.validator.Date',
  99. config: {
  100. message: "Não é uma data válida"
  101. }
  102. });
  103. Ext.define('Ext.locale.pt_BR.data.validator.DateTime', {
  104. override: 'Ext.data.validator.DateTime',
  105. config: {
  106. message: 'Não é uma data e hora válida'
  107. }
  108. });
  109. Ext.define('Ext.locale.pt_BR.data.validator.Email', {
  110. override: 'Ext.data.validator.Email',
  111. config: {
  112. message: 'Não é um e-mail válido'
  113. }
  114. });
  115. Ext.define('Ext.locale.pt_BR.data.validator.Exclusion', {
  116. override: 'Ext.data.validator.Exclusion',
  117. config: {
  118. message: 'É um valor que foi excluído'
  119. }
  120. });
  121. Ext.define('Ext.locale.pt_BR.data.validator.Format', {
  122. override: 'Ext.data.validator.Format',
  123. config: {
  124. message: 'Está no formato incorreto'
  125. }
  126. });
  127. Ext.define('Ext.locale.pt_BR.data.validator.IPAddress', {
  128. override: 'Ext.data.validator.IPAddress',
  129. config: {
  130. message: 'Não é um endereço IP válido'
  131. }
  132. });
  133. Ext.define('Ext.locale.pt_BR.data.validator.Inclusion', {
  134. override: 'Ext.data.validator.Inclusion',
  135. config: {
  136. message: 'Não está na lista de valores válidos'
  137. }
  138. });
  139. Ext.define('Ext.locale.pt_BR.data.validator.Length', {
  140. override: 'Ext.data.validator.Length',
  141. config: {
  142. minOnlyMessage: 'Tamanho deve ser pelo menos {0}',
  143. maxOnlyMessage: 'Tamanho deve ser menor que {0}',
  144. bothMessage: 'Tamanho deve estar entre {0} e {1}'
  145. }
  146. });
  147. Ext.define('Ext.locale.pt_BR.data.validator.Number', {
  148. override: 'Ext.data.validator.Number',
  149. config: {
  150. message: 'Não é um número válido'
  151. }
  152. });
  153. Ext.define('Ext.locale.pt_BR.data.validator.Phone', {
  154. override: 'Ext.data.validator.Phone',
  155. config: {
  156. message: 'Não é um telefone válido'
  157. }
  158. });
  159. Ext.define('Ext.locale.pt_BR.data.validator.Presence', {
  160. override: 'Ext.data.validator.Presence',
  161. config: {
  162. message: 'Este campo é necessário'
  163. }
  164. });
  165. Ext.define('Ext.locale.pt_BR.data.validator.Range', {
  166. override: 'Ext.data.validator.Range',
  167. config: {
  168. nanMessage: 'O valor deve ser numérico',
  169. minOnlyMessage: 'O valor deve ser maior do que {0}',
  170. maxOnlyMessage: 'O valor deve ser inferior a {0}',
  171. bothMessage: 'O valor deve estar entre {0} e {1}'
  172. }
  173. });
  174. Ext.define('Ext.locale.pt_BR.data.validator.Time', {
  175. override: 'Ext.data.validator.Time',
  176. config: {
  177. message: 'Não é uma hora válida'
  178. }
  179. });
  180. Ext.define('Ext.locale.pt_BR.data.validator.Url', {
  181. override: 'Ext.data.validator.Url',
  182. config: {
  183. message: 'Não é uma URL válida'
  184. }
  185. });
  186. Ext.define('Ext.locale.pt_BR.dataview.Abstract', {
  187. override: 'Ext.dataview.Abstract',
  188. config: {
  189. loadingText: 'Carregando...'
  190. }
  191. });
  192. Ext.define("Ext.locale.pt_BR.dataview.DataView", {
  193. override: "Ext.dataview.DataView",
  194. config: {
  195. emptyText: ""
  196. }
  197. });
  198. Ext.define('Ext.locale.pt_BR.dataview.EmptyText', {
  199. override: 'Ext.dataview.EmptyText',
  200. config: {
  201. html: 'Sem dados para exibir'
  202. }
  203. });
  204. Ext.define('Ext.locale.pt_BR.dataview.List', {
  205. override: 'Ext.dataview.List',
  206. config: {
  207. loadingText: 'Carregando...'
  208. }
  209. });
  210. Ext.define('Ext.locale.pt_BR.dataview.plugin.ListPaging', {
  211. override: 'Ext.dataview.plugin.ListPaging',
  212. config: {
  213. loadMoreText: 'Carregar mais...',
  214. noMoreRecordsText: 'Não há mais registros'
  215. }
  216. });
  217. /**
  218. * Portuguese/Brazil Translation by Weber Souza
  219. * 08 April 2007
  220. * Updated by Allan Brazute Alves (EthraZa)
  221. * 06 September 2007
  222. * Updated by Leonardo Lima
  223. * 05 March 2008
  224. * Updated by Juliano Tarini (jtarini)
  225. * 22 April 2008
  226. * Update by Guilherme Portela
  227. * 04 May 2015
  228. */
  229. Ext.onReady(function() {
  230. if (Ext.Date) {
  231. Ext.Date.monthNames = [
  232. "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto",
  233. "Setembro", "Outubro", "Novembro", "Dezembro"
  234. ];
  235. Ext.Date.defaultFormat = 'd/m/Y';
  236. Ext.Date.defaultTimeFormat = 'H:i';
  237. Ext.Date.getShortMonthName = function(month) {
  238. return Ext.Date.monthNames[month].substring(0, 3);
  239. };
  240. Ext.Date.monthNumbers = {
  241. Jan: 0,
  242. Fev: 1,
  243. Mar: 2,
  244. Abr: 3,
  245. Mai: 4,
  246. Jun: 5,
  247. Jul: 6,
  248. Ago: 7,
  249. Set: 8,
  250. Out: 9,
  251. Nov: 10,
  252. Dez: 11
  253. };
  254. Ext.Date.getMonthNumber = function(name) {
  255. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3)
  256. .toLowerCase()];
  257. };
  258. Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
  259. }
  260. if (Ext.util && Ext.util.Format) {
  261. Ext.apply(Ext.util.Format, {
  262. thousandSeparator: '.',
  263. decimalSeparator: ',',
  264. currencySign: 'R$',
  265. // Brazilian Real
  266. dateFormat: 'd/m/Y'
  267. });
  268. Ext.util.Format.brMoney = Ext.util.Format.currency;
  269. }
  270. });
  271. Ext.define("Ext.locale.pt.grid.filters.menu.Base", {
  272. override: "Ext.grid.filters.menu.Base",
  273. config: {
  274. text: "Filtro"
  275. }
  276. });
  277. Ext.define("Ext.locale.pt_BR.grid.locked.Grid", {
  278. override: 'Ext.grid.locked.Grid',
  279. config: {
  280. columnMenu: {
  281. items: {
  282. region: {
  283. text: 'Região'
  284. }
  285. }
  286. },
  287. regions: {
  288. left: {
  289. menuLabel: 'Bloqueado (Esquerda)'
  290. },
  291. center: {
  292. menuLabel: 'Desbloqueado'
  293. },
  294. right: {
  295. menuLabel: 'Bloqueado (Direita)'
  296. }
  297. }
  298. }
  299. });
  300. Ext.define('Ext.locale.pt_BR.field.Date', {
  301. override: 'Ext.field.Date',
  302. minDateMessage: 'A data deste campo deve ser igual ou posterior à {0}',
  303. maxDateMessage: 'A data deste campo deve ser igual ou anterior à {0}'
  304. });
  305. Ext.define('Ext.locale.pt_BR.field.Field', {
  306. override: 'Ext.field.Field',
  307. config: {
  308. requiredMessage: 'Este campo é necessário',
  309. validationMessage: 'Está no formato incorreto'
  310. }
  311. });
  312. Ext.define("Ext.locale.pt_BR.field.FileButton", {
  313. override: "Ext.field.FileButton",
  314. config: {
  315. text: 'Arquivo...'
  316. }
  317. });
  318. Ext.define('Ext.locale.pt_BR.field.Number', {
  319. override: 'Ext.field.Number',
  320. decimalsText: 'O valor máximo de decimais é {0}',
  321. minValueText: 'O valor mínimo para este campo é {0}',
  322. maxValueText: 'O valor máximo para este campo é {0}',
  323. badFormatMessage: 'Valor não é um número válido'
  324. });
  325. Ext.define('Ext.locale.pt_BR.field.Text', {
  326. override: 'Ext.field.Text',
  327. badFormatMessage: 'Valor não está no formato desejado',
  328. config: {
  329. requiredMessage: 'Este campo é necessário',
  330. validationMessage: 'Está no formato incorreto'
  331. }
  332. });
  333. Ext.define("Ext.locale.pt_BR.grid.menu.Columns", {
  334. override: "Ext.grid.menu.Columns",
  335. config: {
  336. text: "Colunas"
  337. }
  338. });
  339. Ext.define("Ext.locale.pt_BR.grid.menu.GroupByThis", {
  340. override: "Ext.grid.menu.GroupByThis",
  341. config: {
  342. text: "Agrupar por este campo"
  343. }
  344. });
  345. Ext.define("Ext.locale.pt_BR.grid.menu.ShowInGroups", {
  346. override: "Ext.grid.menu.ShowInGroups",
  347. config: {
  348. text: "Mostrar em grupos"
  349. }
  350. });
  351. Ext.define("Ext.locale.pt_BR.grid.menu.SortAsc", {
  352. override: "Ext.grid.menu.SortAsc",
  353. config: {
  354. text: "Ordenar crescente"
  355. }
  356. });
  357. Ext.define("Ext.locale.pt_BR.grid.menu.SortDesc", {
  358. override: "Ext.grid.menu.SortDesc",
  359. config: {
  360. text: "Ordenar decrescente"
  361. }
  362. });
  363. Ext.define("Ext.locale.pt_BR.grid.plugin.RowDragDrop", {
  364. override: "Ext.grid.plugin.RowDragDrop",
  365. dragText: "{0} linha(s) selecionada(s)"
  366. });
  367. Ext.define('Ext.locale.pt_BR.panel.Collapser', {
  368. override: 'Ext.panel.Collapser',
  369. config: {
  370. collapseToolText: "Recolher painel",
  371. expandToolText: "Expandir painel"
  372. }
  373. });
  374. Ext.define('Ext.locale.pt_BR.panel.Date', {
  375. override: 'Ext.panel.Date',
  376. config: {
  377. nextText: 'Proximo Mês (Ctrl+Direita)',
  378. prevText: 'Mês Anterior (Ctrl+Esquerda)',
  379. buttons: {
  380. footerTodayButton: {
  381. text: "Hoje"
  382. }
  383. }
  384. }
  385. });
  386. Ext.define('Ext.locale.pt_BR.picker.Date', {
  387. override: 'Ext.picker.Date',
  388. config: {
  389. doneButton: 'Concluído',
  390. monthText: 'Mês',
  391. dayText: 'Dia',
  392. yearText: 'Ano'
  393. }
  394. });
  395. Ext.define('Ext.locale.pt_BR.picker.Picker', {
  396. override: 'Ext.picker.Picker',
  397. config: {
  398. doneButton: 'Concluído',
  399. cancelButton: 'Cancelar'
  400. }
  401. });