ext-lang-pl.js 10 KB

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