locale-cs-debug.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. Ext.define('Ext.locale.cs.ux.colorpick.Selector', {
  2. override: 'Ext.ux.colorpick.Selector',
  3. okButtonText: 'OK',
  4. cancelButtonText: 'Storno'
  5. });
  6. Ext.define("Ext.locale.cs.Component", {
  7. override: "Ext.Component"
  8. });
  9. Ext.define('Ext.locale.cs.Dialog', {
  10. override: 'Ext.Dialog',
  11. config: {
  12. maximizeTool: {
  13. tooltip: "Maximalizovat na celou obrazovku"
  14. },
  15. restoreTool: {
  16. tooltip: "Obnovit původní velikost"
  17. }
  18. }
  19. });
  20. Ext.define("Ext.locale.cs.LoadMask", {
  21. override: "Ext.LoadMask",
  22. config: {
  23. message: 'Prosím čekejte...'
  24. }
  25. });
  26. Ext.define('Ext.locale.cs.Panel', {
  27. override: 'Ext.Panel',
  28. config: {
  29. standardButtons: {
  30. ok: {
  31. text: 'OK'
  32. },
  33. abort: {
  34. text: 'Přerušit'
  35. },
  36. retry: {
  37. text: 'Opakujte'
  38. },
  39. ignore: {
  40. text: 'Ignorovat'
  41. },
  42. yes: {
  43. text: 'Ano'
  44. },
  45. no: {
  46. text: 'Ne.'
  47. },
  48. cancel: {
  49. text: 'zrušit'
  50. },
  51. apply: {
  52. text: 'Aplikovat'
  53. },
  54. save: {
  55. text: 'Uložit'
  56. },
  57. submit: {
  58. text: 'Předložit'
  59. },
  60. help: {
  61. text: 'Pomoc'
  62. },
  63. close: {
  64. text: 'Zavřít'
  65. }
  66. },
  67. closeToolText: 'Zavřete panel'
  68. }
  69. });
  70. Ext.define('Ext.locale.cs.data.validator.Bound', {
  71. override: 'Ext.data.validator.Bound',
  72. config: {
  73. emptyMessage: 'Musí být přítomen',
  74. minOnlyMessage: 'Musí být alespoň {0}',
  75. maxOnlyMessage: 'Nesmí být větší než {0}',
  76. bothMessage: 'Musí být v rozsahu {0} a {1}'
  77. }
  78. });
  79. Ext.define('Ext.locale.cs.data.validator.CIDRv4', {
  80. override: 'Ext.data.validator.CIDRv4',
  81. config: {
  82. message: 'Není platný blok CIDR'
  83. }
  84. });
  85. Ext.define('Ext.locale.cs.data.validator.CIDRv6', {
  86. override: 'Ext.data.validator.CIDRv6',
  87. config: {
  88. message: 'Není platný blok CIDR'
  89. }
  90. });
  91. Ext.define('Ext.locale.cs.data.validator.Currency', {
  92. override: 'Ext.data.validator.Currency',
  93. config: {
  94. message: 'Není platná částka měny'
  95. }
  96. });
  97. Ext.define('Ext.locale.cs.data.validator.Date', {
  98. override: 'Ext.data.validator.Date',
  99. config: {
  100. message: 'Není platné datumčas'
  101. }
  102. });
  103. Ext.define('Ext.locale.cs.data.validator.DateTime', {
  104. override: 'Ext.data.validator.DateTime',
  105. config: {
  106. message: 'Není platné datum a čas'
  107. }
  108. });
  109. Ext.define('Ext.locale.cs.data.validator.Email', {
  110. override: 'Ext.data.validator.Email',
  111. config: {
  112. message: 'Není platná e-mailová adresa'
  113. }
  114. });
  115. Ext.define('Ext.locale.cs.data.validator.Exclusion', {
  116. override: 'Ext.data.validator.Exclusion',
  117. config: {
  118. message: 'Je hodnota, která byla vyloučena'
  119. }
  120. });
  121. Ext.define('Ext.locale.cs.data.validator.Format', {
  122. override: 'Ext.data.validator.Format',
  123. config: {
  124. message: 'Má nesprávný formát'
  125. }
  126. });
  127. Ext.define('Ext.locale.cs.data.validator.IPAddress', {
  128. override: 'Ext.data.validator.IPAddress',
  129. config: {
  130. message: 'Není platná adresa IP'
  131. }
  132. });
  133. Ext.define('Ext.locale.cs.data.validator.Inclusion', {
  134. override: 'Ext.data.validator.Inclusion',
  135. config: {
  136. message: 'Het staat niet in de lijst se setkal s aanvaardbare waarden'
  137. }
  138. });
  139. Ext.define('Ext.locale.cs.data.validator.Length', {
  140. override: 'Ext.data.validator.Length',
  141. config: {
  142. minOnlyMessage: 'Délka musí být alespoň {0}',
  143. maxOnlyMessage: 'Délka nesmí být větší než {0}',
  144. bothMessage: 'Délka musí být mezi {0} a {1}'
  145. }
  146. });
  147. Ext.define('Ext.locale.cs.data.validator.Number', {
  148. override: 'Ext.data.validator.Number',
  149. config: {
  150. message: 'Není platné číslo'
  151. }
  152. });
  153. Ext.define('Ext.locale.cs.data.validator.Phone', {
  154. override: 'Ext.data.validator.Phone',
  155. config: {
  156. message: 'Není platné telefonní číslo'
  157. }
  158. });
  159. Ext.define('Ext.locale.cs.data.validator.Presence', {
  160. override: 'Ext.data.validator.Presence',
  161. config: {
  162. message: 'Musí být přítomen'
  163. }
  164. });
  165. Ext.define('Ext.locale.cs.data.validator.Range', {
  166. override: 'Ext.data.validator.Range',
  167. config: {
  168. nanMessage: 'Musí být číselné',
  169. minOnlyMessage: 'Musí být alespoň {0}',
  170. maxOnlyMessage: 'Nesmí být větší než {0}',
  171. bothMessage: 'Musí být v rozsahu {0} a {1}'
  172. }
  173. });
  174. Ext.define('Ext.locale.cs.data.validator.Time', {
  175. override: 'Ext.data.validator.Time',
  176. config: {
  177. message: 'Není platný čas'
  178. }
  179. });
  180. Ext.define('Ext.locale.cs.data.validator.Url', {
  181. override: 'Ext.data.validator.Url',
  182. config: {
  183. message: 'Není platná adresa URL'
  184. }
  185. });
  186. Ext.define('Ext.locale.cs.dataview.Abstract', {
  187. override: 'Ext.dataview.Abstract',
  188. config: {
  189. loadingText: 'Prosím čekejte...'
  190. }
  191. });
  192. Ext.define("Ext.locale.cs.dataview.DataView", {
  193. override: "Ext.dataview.DataView",
  194. config: {
  195. emptyText: "žádná data k zobrazení"
  196. }
  197. });
  198. Ext.define('Ext.locale.cs.dataview.EmptyText', {
  199. override: 'Ext.dataview.EmptyText',
  200. config: {
  201. html: 'Žádná data k zobrazení'
  202. }
  203. });
  204. Ext.define('Ext.locale.cs.dataview.List', {
  205. override: 'Ext.dataview.List',
  206. config: {
  207. loadingText: 'Prosím čekejte...'
  208. }
  209. });
  210. Ext.define('Ext.locale.cs.dataview.plugin.ListPaging', {
  211. override: 'Ext.dataview.plugin.ListPaging',
  212. config: {
  213. loadMoreText: 'Načíst další ...',
  214. noMoreRecordsText: 'Žádné další záznamy'
  215. }
  216. });
  217. /**
  218. * Czech Translations
  219. */
  220. Ext.onReady(function() {
  221. if (Ext.Date) {
  222. Ext.Date.monthNames = [
  223. "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec",
  224. "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
  225. ];
  226. Ext.Date.shortMonthNames = {
  227. "Leden": "Led",
  228. "Únor": "Úno",
  229. "Březen": "Bře",
  230. "Duben": "Dub",
  231. "Květen": "Kvě",
  232. "Červen": "Čer",
  233. "Červenec": "Čvc",
  234. "Srpen": "Srp",
  235. "Září": "Zář",
  236. "Říjen": "Říj",
  237. "Listopad": "Lis",
  238. "Prosinec": "Pro"
  239. };
  240. Ext.Date.getShortMonthName = function(month) {
  241. return Ext.Date.shortMonthNames[Ext.Date.monthNames[month]];
  242. };
  243. Ext.Date.monthNumbers = {
  244. "Leden": 0,
  245. "Únor": 1,
  246. "Březen": 2,
  247. "Duben": 3,
  248. "Květen": 4,
  249. "Červen": 5,
  250. "Červenec": 6,
  251. "Srpen": 7,
  252. "Září": 8,
  253. "Říjen": 9,
  254. "Listopad": 10,
  255. "Prosinec": 11
  256. };
  257. Ext.Date.getMonthNumber = function(name) {
  258. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1)
  259. .toLowerCase()];
  260. };
  261. Ext.Date.dayNames = ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"];
  262. Ext.Date.getShortDayName = function(day) {
  263. return Ext.Date.dayNames[day].substring(0, 3);
  264. };
  265. }
  266. if (Ext.util && Ext.util.Format) {
  267. Ext.apply(Ext.util.Format, {
  268. thousandSeparator: '.',
  269. decimalSeparator: ',',
  270. currencySign: '\u004b\u010d',
  271. // Czech Koruny
  272. dateFormat: 'd.m.Y'
  273. });
  274. }
  275. });
  276. Ext.define('Ext.locale.cs.field.Date', {
  277. override: 'Ext.field.Date',
  278. minDateMessage: 'Datum v tomto poli nesmí být starší než {0}',
  279. maxDateMessage: 'Datum v tomto poli nesmí být novější než {0}'
  280. });
  281. Ext.define('Ext.locale.cs.field.Field', {
  282. override: 'Ext.field.Field',
  283. config: {
  284. requiredMessage: 'Toto pole je povinné',
  285. validationMessage: 'je ve špatném formátu'
  286. }
  287. });
  288. Ext.define("Ext.locale.cs.field.FileButton", {
  289. override: "Ext.field.FileButton",
  290. config: {
  291. text: 'Archiv...'
  292. }
  293. });
  294. Ext.define('Ext.locale.cs.field.Number', {
  295. override: 'Ext.field.Number',
  296. decimalsText: 'Maximální desetinné číslo je (0)',
  297. minValueText: 'Hodnota v tomto poli nesmí být menší než {0}',
  298. maxValueText: 'Hodnota v tomto poli nesmí být větší než {0}',
  299. badFormatMessage: '{0} není platné číslo'
  300. });
  301. Ext.define('Ext.locale.cs.field.Text', {
  302. override: 'Ext.field.Text',
  303. badFormatMessage: 'Hodnota neodpovídá požadovanému formátu',
  304. config: {
  305. requiredMessage: 'Toto pole je povinné',
  306. validationMessage: 'je ve špatném formátu'
  307. }
  308. });
  309. Ext.define("Ext.locale.cs.grid.filters.menu.Base", {
  310. override: "Ext.grid.filters.menu.Base",
  311. config: {
  312. text: "Filtr"
  313. }
  314. });
  315. Ext.define('Ext.locale.cs.grid.locked.Grid', {
  316. override: 'Ext.grid.locked.Grid',
  317. config: {
  318. columnMenu: {
  319. items: {
  320. region: {
  321. text: 'Oblast'
  322. }
  323. }
  324. },
  325. regions: {
  326. left: {
  327. menuLabel: 'Zamknuto (Vlevo)'
  328. },
  329. center: {
  330. menuLabel: 'Odemčeno'
  331. },
  332. right: {
  333. menuLabel: 'Zamčené (Vpravo) '
  334. }
  335. }
  336. }
  337. });
  338. Ext.define("Ext.locale.cs.grid.menu.Columns", {
  339. override: "Ext.grid.menu.Columns",
  340. config: {
  341. text: "Sloupce"
  342. }
  343. });
  344. Ext.define("Ext.locale.cs.grid.menu.GroupByThis", {
  345. override: "Ext.grid.menu.GroupByThis",
  346. config: {
  347. text: "Seskupit podle toho"
  348. }
  349. });
  350. Ext.define("Ext.locale.cs.grid.menu.ShowInGroups", {
  351. override: "Ext.grid.menu.ShowInGroups",
  352. config: {
  353. text: "Zobrazit ve skupinách"
  354. }
  355. });
  356. Ext.define("Ext.locale.cs.grid.menu.SortAsc", {
  357. override: "Ext.grid.menu.SortAsc",
  358. config: {
  359. text: "Řadit vzestupně"
  360. }
  361. });
  362. Ext.define("Ext.locale.cs.grid.menu.SortDesc", {
  363. override: "Ext.grid.menu.SortDesc",
  364. config: {
  365. text: "Řadit sestupně"
  366. }
  367. });
  368. Ext.define("Ext.locale.cs.grid.plugin.RowDragDrop", {
  369. override: "Ext.grid.plugin.RowDragDrop",
  370. dragText: "{0} vybraných řádků"
  371. });
  372. Ext.define('Ext.locale.cs.panel.Collapser', {
  373. override: 'Ext.panel.Collapser',
  374. config: {
  375. collapseToolText: "Zavřete okno",
  376. expandToolText: "rozbalte panel"
  377. }
  378. });
  379. Ext.define('Ext.locale.cs.panel.Date', {
  380. override: 'Ext.panel.Date',
  381. config: {
  382. nextText: 'Následující měsíc (Control+Right)',
  383. prevText: 'Předcházející měsíc (Control+Left)',
  384. buttons: {
  385. footerTodayButton: {
  386. text: "Dnes"
  387. }
  388. }
  389. }
  390. });
  391. Ext.define('Ext.locale.cs.picker.Date', {
  392. override: 'Ext.picker.Date',
  393. config: {
  394. doneButton: 'Hotovo',
  395. monthText: 'Měsíc',
  396. dayText: 'Den',
  397. yearText: 'Rok'
  398. }
  399. });
  400. Ext.define('Ext.locale.cs.picker.Picker', {
  401. override: 'Ext.picker.Picker',
  402. config: {
  403. doneButton: 'Hotovo',
  404. cancelButton: 'Storno'
  405. }
  406. });