grid.locale-pt.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /**
  2. * jqGrid Portuguese Translation
  3. * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
  4. * Dual licensed under the MIT and GPL licenses:
  5. * http://www.opensource.org/licenses/mit-license.php
  6. * http://www.gnu.org/licenses/gpl.html
  7. **/
  8. /*global jQuery, define */
  9. (function( factory ) {
  10. "use strict";
  11. if ( typeof define === "function" && define.amd ) {
  12. // AMD. Register as an anonymous module.
  13. define([
  14. "jquery",
  15. "../grid.base"
  16. ], factory );
  17. } else {
  18. // Browser globals
  19. factory( jQuery );
  20. }
  21. }(function( $ ) {
  22. $.jgrid = $.jgrid || {};
  23. if(!$.jgrid.hasOwnProperty("regional")) {
  24. $.jgrid.regional = [];
  25. }
  26. $.jgrid.regional["pt"] = {
  27. defaults : {
  28. recordtext: "View {0} - {1} of {2}",
  29. emptyrecords: "No records to view",
  30. loadtext: "A carregar...",
  31. pgtext : "Página {0} de {1}",
  32. savetext: "Saving...",
  33. pgfirst : "First Page",
  34. pglast : "Last Page",
  35. pgnext : "Next Page",
  36. pgprev : "Previous Page",
  37. pgrecs : "Records per Page",
  38. showhide: "Toggle Expand Collapse Grid",
  39. // mobile
  40. pagerCaption : "Grid::Page Settings",
  41. pageText : "Page:",
  42. recordPage : "Records per Page",
  43. nomorerecs : "No more records...",
  44. scrollPullup: "Pull up to load more...",
  45. scrollPulldown : "Pull down to refresh...",
  46. scrollRefresh : "Release to refresh..."
  47. },
  48. search : {
  49. caption: "Busca...",
  50. Find: "Procurar",
  51. Reset: "Limpar",
  52. odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
  53. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
  54. operandTitle : "Click to select search operation.",
  55. resetTitle : "Reset Search Value"
  56. },
  57. edit : {
  58. addCaption: "Adicionar Registo",
  59. editCaption: "Modificar Registo",
  60. bSubmit: "Submeter",
  61. bCancel: "Cancelar",
  62. bClose: "Fechar",
  63. saveData: "Data has been changed! Save changes?",
  64. bYes : "Yes",
  65. bNo : "No",
  66. bExit : "Cancel",
  67. msg: {
  68. required:"Campo obrigat�rio",
  69. number:"Por favor, introduza um numero",
  70. minValue:"O valor deve ser maior ou igual que",
  71. maxValue:"O valor deve ser menor ou igual a",
  72. email: "N�o � um endere�o de email v�lido",
  73. integer: "Por favor, introduza um numero inteiro",
  74. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  75. nodefined : " is not defined!",
  76. novalue : " return value is required!",
  77. customarray : "Custom function should return array!",
  78. customfcheck : "Custom function should be present in case of custom checking!"
  79. }
  80. },
  81. view : {
  82. caption: "View Record",
  83. bClose: "Close"
  84. },
  85. del : {
  86. caption: "Eliminar",
  87. msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
  88. bSubmit: "Eliminar",
  89. bCancel: "Cancelar"
  90. },
  91. nav : {
  92. edittext: " ",
  93. edittitle: "Modificar registo seleccionado",
  94. addtext:" ",
  95. addtitle: "Adicionar novo registo",
  96. deltext: " ",
  97. deltitle: "Eliminar registo seleccionado",
  98. searchtext: " ",
  99. searchtitle: "Procurar",
  100. refreshtext: "",
  101. refreshtitle: "Actualizar",
  102. alertcap: "Aviso",
  103. alerttext: "Por favor, seleccione um registo",
  104. viewtext: "",
  105. viewtitle: "View selected row",
  106. savetext: "",
  107. savetitle: "Save row",
  108. canceltext: "",
  109. canceltitle : "Cancel row editing",
  110. selectcaption : "Actions..."
  111. },
  112. col : {
  113. caption: "Mostrar/Ocultar Colunas",
  114. bSubmit: "Enviar",
  115. bCancel: "Cancelar"
  116. },
  117. errors : {
  118. errcap : "Erro",
  119. nourl : "N�o especificou um url",
  120. norecords: "N�o existem dados para processar",
  121. model : "Tamanho do colNames <> colModel!"
  122. },
  123. formatter : {
  124. integer : {thousandsSeparator: " ", defaultValue: '0'},
  125. number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
  126. currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  127. date : {
  128. dayNames: [
  129. "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
  130. "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
  131. ],
  132. monthNames: [
  133. "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
  134. "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
  135. ],
  136. AmPm : ["am","pm","AM","PM"],
  137. S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
  138. srcformat: 'Y-m-d',
  139. newformat: 'd/m/Y',
  140. parseRe : /[#%\\\/:_;.,\t\s-]/,
  141. masks : {
  142. ISO8601Long:"Y-m-d H:i:s",
  143. ISO8601Short:"Y-m-d",
  144. ShortDate: "n/j/Y",
  145. LongDate: "l, F d, Y",
  146. FullDateTime: "l, F d, Y g:i:s A",
  147. MonthDay: "F d",
  148. ShortTime: "g:i A",
  149. LongTime: "g:i:s A",
  150. SortableDateTime: "Y-m-d\\TH:i:s",
  151. UniversalSortableDateTime: "Y-m-d H:i:sO",
  152. YearMonth: "F, Y"
  153. },
  154. reformatAfterEdit : false,
  155. userLocalTime : false
  156. },
  157. baseLinkUrl: '',
  158. showAction: '',
  159. target: '',
  160. checkbox : {disabled:true},
  161. idName : 'id'
  162. },
  163. colmenu : {
  164. sortasc : "Sort Ascending",
  165. sortdesc : "Sort Descending",
  166. columns : "Columns",
  167. filter : "Filter",
  168. grouping : "Group By",
  169. ungrouping : "Ungroup",
  170. searchTitle : "Get items with value that:",
  171. freeze : "Freeze",
  172. unfreeze : "Unfreeze",
  173. reorder : "Move to reorder"
  174. }
  175. };
  176. }));