locale-pl-debug.js 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /**
  2. * Polish Translations
  3. * By vbert 17-April-2007
  4. * Updated by mmar 16-November-2007
  5. * Encoding: utf-8
  6. */
  7. Ext.onReady(function() {
  8. if (Ext.Date) {
  9. Ext.Date.monthNames = ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"];
  10. Ext.Date.getShortMonthName = function(month) {
  11. return Ext.Date.monthNames[month].substring(0, 3);
  12. };
  13. Ext.Date.monthNumbers = {
  14. Sty: 0,
  15. Lut: 1,
  16. Mar: 2,
  17. Kwi: 3,
  18. Maj: 4,
  19. Cze: 5,
  20. Lip: 6,
  21. Sie: 7,
  22. Wrz: 8,
  23. Paź: 9,
  24. Lis: 10,
  25. Gru: 11
  26. };
  27. Ext.Date.getMonthNumber = function(name) {
  28. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  29. };
  30. Ext.Date.dayNames = ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"];
  31. Ext.Date.getShortDayName = function(day) {
  32. switch (day) {
  33. case 0:
  34. return 'ndz';
  35. case 1:
  36. return 'pon';
  37. case 2:
  38. return 'wt';
  39. case 3:
  40. return 'śr';
  41. case 4:
  42. return 'czw';
  43. case 5:
  44. return 'pt';
  45. case 6:
  46. return 'sob';
  47. default:
  48. return '';
  49. }
  50. };
  51. }
  52. if (Ext.util && Ext.util.Format) {
  53. Ext.apply(Ext.util.Format, {
  54. thousandSeparator: '.',
  55. decimalSeparator: ',',
  56. currencySign: '\u007a\u0142',
  57. // Polish Zloty
  58. dateFormat: 'Y-m-d'
  59. });
  60. }
  61. });
  62. Ext.define("Ext.locale.pl.view.View", {
  63. override: "Ext.view.View",
  64. emptyText: ""
  65. });
  66. Ext.define("Ext.locale.pl.grid.plugin.DragDrop", {
  67. override: "Ext.grid.plugin.DragDrop",
  68. dragText: "{0} wybrano wiersze(y)"
  69. });
  70. Ext.define("Ext.locale.pl.tab.Tab", {
  71. override: "Ext.tab.Tab",
  72. closeText: "Zamknij zakładkę"
  73. });
  74. Ext.define("Ext.locale.pl.form.field.Base", {
  75. override: "Ext.form.field.Base",
  76. invalidText: "Wartość tego pola jest niewłaściwa"
  77. });
  78. // changing the msg text below will affect the LoadMask
  79. Ext.define("Ext.locale.pl.view.AbstractView", {
  80. override: "Ext.view.AbstractView",
  81. loadingText: "Wczytywanie danych..."
  82. });
  83. Ext.define("Ext.locale.pl.picker.Date", {
  84. override: "Ext.picker.Date",
  85. startDay: 1,
  86. todayText: "Dzisiaj",
  87. minText: "Data jest wcześniejsza od daty minimalnej",
  88. maxText: "Data jest późniejsza od daty maksymalnej",
  89. disabledDaysText: "",
  90. disabledDatesText: "",
  91. nextText: "Następny miesiąc (Control+StrzałkaWPrawo)",
  92. prevText: "Poprzedni miesiąc (Control+StrzałkaWLewo)",
  93. monthYearText: "Wybierz miesiąc (Control+Up/Down aby zmienić rok)",
  94. todayTip: "{0} (Spacja)",
  95. format: "Y-m-d"
  96. });
  97. Ext.define("Ext.locale.pl.picker.Month", {
  98. override: "Ext.picker.Month",
  99. okText: " OK ",
  100. cancelText: "Anuluj"
  101. });
  102. Ext.define("Ext.locale.pl.toolbar.Paging", {
  103. override: "Ext.PagingToolbar",
  104. beforePageText: "Strona",
  105. afterPageText: "z {0}",
  106. firstText: "Pierwsza strona",
  107. prevText: "Poprzednia strona",
  108. nextText: "Następna strona",
  109. lastText: "Ostatnia strona",
  110. refreshText: "Odśwież",
  111. displayMsg: "Wyświetlono {0} - {1} z {2}",
  112. emptyMsg: "Brak danych do wyświetlenia"
  113. });
  114. Ext.define("Ext.locale.pl.form.field.Text", {
  115. override: "Ext.form.field.Text",
  116. minLengthText: "Minimalna ilość znaków dla tego pola to {0}",
  117. maxLengthText: "Maksymalna ilość znaków dla tego pola to {0}",
  118. blankText: "To pole jest wymagane",
  119. regexText: "",
  120. emptyText: null
  121. });
  122. Ext.define("Ext.locale.pl.form.field.Number", {
  123. override: "Ext.form.field.Number",
  124. minText: "Minimalna wartość dla tego pola to {0}",
  125. maxText: "Maksymalna wartość dla tego pola to {0}",
  126. nanText: "{0} to nie jest właściwa wartość"
  127. });
  128. Ext.define("Ext.locale.pl.form.field.Date", {
  129. override: "Ext.form.field.Date",
  130. disabledDaysText: "Wyłączony",
  131. disabledDatesText: "Wyłączony",
  132. minText: "Data w tym polu musi być późniejsza od {0}",
  133. maxText: "Data w tym polu musi być wcześniejsza od {0}",
  134. invalidText: "{0} to nie jest prawidłowa data - prawidłowy format daty {1}",
  135. format: "Y-m-d",
  136. altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
  137. });
  138. Ext.define("Ext.locale.pl.form.field.ComboBox", {
  139. override: "Ext.form.field.ComboBox",
  140. valueNotFoundText: undefined
  141. }, function() {
  142. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  143. loadingText: "Wczytuję..."
  144. });
  145. });
  146. Ext.define("Ext.locale.pl.form.field.VTypes", {
  147. override: "Ext.form.field.VTypes",
  148. emailText: 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"',
  149. urlText: 'To pole wymaga podania adresu strony www w formacie: "http:/' + '/www.domena.pl"',
  150. alphaText: 'To pole wymaga podania tylko liter i _',
  151. alphanumText: 'To pole wymaga podania tylko liter, cyfr i _'
  152. });
  153. Ext.define("Ext.locale.pl.form.field.HtmlEditor", {
  154. override: "Ext.form.field.HtmlEditor",
  155. createLinkText: 'Wprowadź adres URL strony:'
  156. }, function() {
  157. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  158. buttonTips: {
  159. bold: {
  160. title: 'Pogrubienie (Ctrl+B)',
  161. text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
  162. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  163. },
  164. italic: {
  165. title: 'Kursywa (Ctrl+I)',
  166. text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
  167. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  168. },
  169. underline: {
  170. title: 'Podkreślenie (Ctrl+U)',
  171. text: 'Podkreśl zaznaczony tekst.',
  172. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  173. },
  174. increasefontsize: {
  175. title: 'Zwiększ czcionkę',
  176. text: 'Zwiększ rozmiar czcionki.',
  177. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  178. },
  179. decreasefontsize: {
  180. title: 'Zmniejsz czcionkę',
  181. text: 'Zmniejsz rozmiar czcionki.',
  182. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  183. },
  184. backcolor: {
  185. title: 'Wyróżnienie',
  186. text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
  187. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  188. },
  189. forecolor: {
  190. title: 'Kolor czcionki',
  191. text: 'Zmień kolor zaznaczonego tekstu.',
  192. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  193. },
  194. justifyleft: {
  195. title: 'Do lewej',
  196. text: 'Wyrównaj tekst do lewej.',
  197. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  198. },
  199. justifycenter: {
  200. title: 'Wyśrodkuj',
  201. text: 'Wyrównaj tekst do środka.',
  202. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  203. },
  204. justifyright: {
  205. title: 'Do prawej',
  206. text: 'Wyrównaj tekst do prawej.',
  207. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  208. },
  209. insertunorderedlist: {
  210. title: 'Lista wypunktowana',
  211. text: 'Rozpocznij listę wypunktowaną.',
  212. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  213. },
  214. insertorderedlist: {
  215. title: 'Lista numerowana',
  216. text: 'Rozpocznij listę numerowaną.',
  217. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  218. },
  219. createlink: {
  220. title: 'Hiperłącze',
  221. text: 'Przekształć zaznaczony tekst w hiperłącze.',
  222. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  223. },
  224. sourceedit: {
  225. title: 'Edycja źródła',
  226. text: 'Przełącz w tryb edycji źródła.',
  227. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  228. }
  229. }
  230. });
  231. });
  232. Ext.define("Ext.locale.pl.grid.header.Container", {
  233. override: "Ext.grid.header.Container",
  234. sortAscText: "Sortuj rosnąco",
  235. sortDescText: "Sortuj malejąco",
  236. lockText: "Zablokuj kolumnę",
  237. unlockText: "Odblokuj kolumnę",
  238. columnsText: "Kolumny"
  239. });
  240. Ext.define("Ext.locale.pl.grid.GroupingFeature", {
  241. override: "Ext.grid.feature.Grouping",
  242. emptyGroupText: '(None)',
  243. groupByText: 'Grupuj po tym polu',
  244. showGroupsText: 'Pokaż w grupach'
  245. });
  246. Ext.define("Ext.locale.pl.grid.PropertyColumnModel", {
  247. override: "Ext.grid.PropertyColumnModel",
  248. nameText: "Nazwa",
  249. valueText: "Wartość",
  250. dateFormat: "Y-m-d"
  251. });
  252. Ext.define("Ext.locale.pl.window.MessageBox", {
  253. override: "Ext.window.MessageBox",
  254. buttonText: {
  255. ok: "OK",
  256. cancel: "Anuluj",
  257. yes: "Tak",
  258. no: "Nie"
  259. }
  260. });
  261. // This is needed until we can refactor all of the locales into individual files
  262. Ext.define("Ext.locale.pl.Component", {
  263. override: "Ext.Component"
  264. });