locale-pt_PT-debug.js 11 KB

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