ext-locale-pl.js 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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. startDay: 1
  97. });
  98. Ext.define("Ext.locale.pl.picker.Month", {
  99. override: "Ext.picker.Month",
  100. okText: " OK ",
  101. cancelText: "Anuluj"
  102. });
  103. Ext.define("Ext.locale.pl.toolbar.Paging", {
  104. override: "Ext.PagingToolbar",
  105. beforePageText: "Strona",
  106. afterPageText: "z {0}",
  107. firstText: "Pierwsza strona",
  108. prevText: "Poprzednia strona",
  109. nextText: "Następna strona",
  110. lastText: "Ostatnia strona",
  111. refreshText: "Odśwież",
  112. displayMsg: "Wyświetlono {0} - {1} z {2}",
  113. emptyMsg: "Brak danych do wyświetlenia"
  114. });
  115. Ext.define("Ext.locale.pl.form.field.Text", {
  116. override: "Ext.form.field.Text",
  117. minLengthText: "Minimalna ilość znaków dla tego pola to {0}",
  118. maxLengthText: "Maksymalna ilość znaków dla tego pola to {0}",
  119. blankText: "To pole jest wymagane",
  120. regexText: "",
  121. emptyText: null
  122. });
  123. Ext.define("Ext.locale.pl.form.field.Number", {
  124. override: "Ext.form.field.Number",
  125. minText: "Minimalna wartość dla tego pola to {0}",
  126. maxText: "Maksymalna wartość dla tego pola to {0}",
  127. nanText: "{0} to nie jest właściwa wartość"
  128. });
  129. Ext.define("Ext.locale.pl.form.field.Date", {
  130. override: "Ext.form.field.Date",
  131. disabledDaysText: "Wyłączony",
  132. disabledDatesText: "Wyłączony",
  133. minText: "Data w tym polu musi być późniejsza od {0}",
  134. maxText: "Data w tym polu musi być wcześniejsza od {0}",
  135. invalidText: "{0} to nie jest prawidłowa data - prawidłowy format daty {1}",
  136. format: "Y-m-d",
  137. altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
  138. });
  139. Ext.define("Ext.locale.pl.form.field.ComboBox", {
  140. override: "Ext.form.field.ComboBox",
  141. valueNotFoundText: undefined
  142. }, function() {
  143. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  144. loadingText: "Wczytuję..."
  145. });
  146. });
  147. Ext.define("Ext.locale.pl.form.field.VTypes", {
  148. override: "Ext.form.field.VTypes",
  149. emailText: 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"',
  150. urlText: 'To pole wymaga podania adresu strony www w formacie: "http:/' + '/www.domena.pl"',
  151. alphaText: 'To pole wymaga podania tylko liter i _',
  152. alphanumText: 'To pole wymaga podania tylko liter, cyfr i _'
  153. });
  154. Ext.define("Ext.locale.pl.form.field.HtmlEditor", {
  155. override: "Ext.form.field.HtmlEditor",
  156. createLinkText: 'Wprowadź adres URL strony:'
  157. }, function() {
  158. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  159. buttonTips: {
  160. bold: {
  161. title: 'Pogrubienie (Ctrl+B)',
  162. text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
  163. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  164. },
  165. italic: {
  166. title: 'Kursywa (Ctrl+I)',
  167. text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
  168. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  169. },
  170. underline: {
  171. title: 'Podkreślenie (Ctrl+U)',
  172. text: 'Podkreśl zaznaczony tekst.',
  173. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  174. },
  175. increasefontsize: {
  176. title: 'Zwiększ czcionkę',
  177. text: 'Zwiększ rozmiar czcionki.',
  178. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  179. },
  180. decreasefontsize: {
  181. title: 'Zmniejsz czcionkę',
  182. text: 'Zmniejsz rozmiar czcionki.',
  183. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  184. },
  185. backcolor: {
  186. title: 'Wyróżnienie',
  187. text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
  188. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  189. },
  190. forecolor: {
  191. title: 'Kolor czcionki',
  192. text: 'Zmień kolor zaznaczonego tekstu.',
  193. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  194. },
  195. justifyleft: {
  196. title: 'Do lewej',
  197. text: 'Wyrównaj tekst do lewej.',
  198. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  199. },
  200. justifycenter: {
  201. title: 'Wyśrodkuj',
  202. text: 'Wyrównaj tekst do środka.',
  203. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  204. },
  205. justifyright: {
  206. title: 'Do prawej',
  207. text: 'Wyrównaj tekst do prawej.',
  208. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  209. },
  210. insertunorderedlist: {
  211. title: 'Lista wypunktowana',
  212. text: 'Rozpocznij listę wypunktowaną.',
  213. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  214. },
  215. insertorderedlist: {
  216. title: 'Lista numerowana',
  217. text: 'Rozpocznij listę numerowaną.',
  218. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  219. },
  220. createlink: {
  221. title: 'Hiperłącze',
  222. text: 'Przekształć zaznaczony tekst w hiperłącze.',
  223. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  224. },
  225. sourceedit: {
  226. title: 'Edycja źródła',
  227. text: 'Przełącz w tryb edycji źródła.',
  228. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  229. }
  230. }
  231. });
  232. });
  233. Ext.define("Ext.locale.pl.grid.header.Container", {
  234. override: "Ext.grid.header.Container",
  235. sortAscText: "Sortuj rosnąco",
  236. sortDescText: "Sortuj malejąco",
  237. lockText: "Zablokuj kolumnę",
  238. unlockText: "Odblokuj kolumnę",
  239. columnsText: "Kolumny"
  240. });
  241. Ext.define("Ext.locale.pl.grid.GroupingFeature", {
  242. override: "Ext.grid.feature.Grouping",
  243. emptyGroupText: '(None)',
  244. groupByText: 'Grupuj po tym polu',
  245. showGroupsText: 'Pokaż w grupach'
  246. });
  247. Ext.define("Ext.locale.pl.grid.PropertyColumnModel", {
  248. override: "Ext.grid.PropertyColumnModel",
  249. nameText: "Nazwa",
  250. valueText: "Wartość",
  251. dateFormat: "Y-m-d"
  252. });
  253. Ext.define("Ext.locale.pl.window.MessageBox", {
  254. override: "Ext.window.MessageBox",
  255. buttonText: {
  256. ok: "OK",
  257. cancel: "Anuluj",
  258. yes: "Tak",
  259. no: "Nie"
  260. }
  261. });
  262. // This is needed until we can refactor all of the locales into individual files
  263. Ext.define("Ext.locale.pl.Component", {
  264. override: "Ext.Component"
  265. });