locale-fr_CA-debug.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. /**
  2. * France (Canadian) translation
  3. */
  4. Ext.onReady(function() {
  5. if (Ext.Date) {
  6. Ext.Date.shortMonthNames = [
  7. "Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov",
  8. "Déc"
  9. ];
  10. Ext.Date.defaultFormat = 'd/m/Y';
  11. Ext.Date.defaultTimeFormat = 'h:i A';
  12. Ext.Date.getShortMonthName = function(month) {
  13. return Ext.Date.shortMonthNames[month];
  14. };
  15. Ext.Date.monthNames = [
  16. "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre",
  17. "Octobre", "Novembre", "Décembre"
  18. ];
  19. Ext.Date.monthNumbers = {
  20. "Janvier": 0,
  21. "Janv": 0,
  22. "Février": 1,
  23. "Févr": 1,
  24. "Mars": 2,
  25. "Avril": 3,
  26. "Avr": 3,
  27. "Mai": 4,
  28. "Juin": 5,
  29. "Juillet": 6,
  30. "Juil": 6,
  31. "Août": 7,
  32. "Septembre": 8,
  33. "Sept": 8,
  34. "Octobre": 9,
  35. "Oct": 9,
  36. "Novembre": 10,
  37. "Nov": 10,
  38. "Décembre": 11,
  39. "Déc": 11
  40. };
  41. Ext.Date.getMonthNumber = function(name) {
  42. return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
  43. };
  44. Ext.Date.dayNames = [
  45. "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
  46. ];
  47. Ext.Date.getShortDayName = function(day) {
  48. return Ext.Date.dayNames[day].substring(0, 3);
  49. };
  50. }
  51. if (Ext.util && Ext.util.Format) {
  52. Ext.apply(Ext.util.Format, {
  53. thousandSeparator: '.',
  54. decimalSeparator: ',',
  55. currencySign: '$',
  56. // Canadian Dollar
  57. dateFormat: 'd/m/Y'
  58. });
  59. }
  60. });
  61. // Update with French Canadian text TODO
  62. Ext.define('Ext.locale.fr_CA.Panel', {
  63. override: 'Ext.Panel',
  64. config: {
  65. standardButtons: {
  66. ok: {
  67. text: 'Ok'
  68. },
  69. abort: {
  70. text: 'Arrêter'
  71. },
  72. retry: {
  73. text: 'Re-essayer'
  74. },
  75. ignore: {
  76. text: 'Ignorer'
  77. },
  78. yes: {
  79. text: 'Oui'
  80. },
  81. no: {
  82. text: 'Non'
  83. },
  84. cancel: {
  85. text: 'Annuler'
  86. },
  87. apply: {
  88. text: 'Appliquer'
  89. },
  90. save: {
  91. text: 'Sauvegarder'
  92. },
  93. submit: {
  94. text: 'Soumettre'
  95. },
  96. help: {
  97. text: 'Aide'
  98. },
  99. close: {
  100. text: 'Fermer'
  101. }
  102. },
  103. closeToolText: 'Fermer la fenêtre'
  104. }
  105. });
  106. Ext.define('Ext.locale.fr_CA.picker.Date', {
  107. override: 'Ext.picker.Date',
  108. config: {
  109. doneButton: 'Prêt',
  110. monthText: 'Mois',
  111. dayText: 'Jour',
  112. yearText: 'Année'
  113. }
  114. });
  115. Ext.define('Ext.locale.fr_CA.picker.Picker', {
  116. override: 'Ext.picker.Picker',
  117. config: {
  118. doneButton: 'Terminé',
  119. cancelButton: 'Annuler'
  120. }
  121. });
  122. Ext.define('Ext.locale.fr_CA.panel.Date', {
  123. override: 'Ext.panel.Date',
  124. config: {
  125. nextText: 'Mois prochain (Control + droite)',
  126. prevText: 'Mois précédent (Control +gauche)',
  127. buttons: {
  128. footerTodayButton: {
  129. text: "Aujourd'hui"
  130. }
  131. }
  132. }
  133. });
  134. Ext.define('Ext.locale.fr_CA.panel.Collapser', {
  135. override: 'Ext.panel.Collapser',
  136. config: {
  137. collapseToolText: "Réduire la fenêtre",
  138. expandToolText: "Elargir la fenêtre"
  139. }
  140. });
  141. Ext.define('Ext.locale.fr_CA.field.Field', {
  142. override: 'Ext.field.Field',
  143. config: {
  144. requiredMessage: 'Ce champ est obligatoire',
  145. validationMessage: "Ce format N'est pas le bon"
  146. }
  147. });
  148. Ext.define('Ext.locale.fr_CA.field.Number', {
  149. override: 'Ext.field.Number',
  150. decimalsText: 'Le nombre maximum de décimales est de {0}',
  151. minValueText: 'La valeur minimale de ce champ est de {0}',
  152. maxValueText: 'La valeur maximale de ce champ est de {0}',
  153. badFormatMessage: 'La valeur ne correspond pas au format requis'
  154. });
  155. Ext.define('Ext.locale.fr_CA.field.Text', {
  156. override: 'Ext.field.Text',
  157. badFormatMessage: 'La valeur ne correspond pas au format requis',
  158. config: {
  159. requiredMessage: 'Ce champ est obligatoire',
  160. validationMessage: "Ce format N'est pas le bon"
  161. }
  162. });
  163. Ext.define('Ext.locale.fr_CA.Dialog', {
  164. override: 'Ext.Dialog',
  165. config: {
  166. maximizeTool: {
  167. tooltip: "Agrandir en plein écran"
  168. },
  169. restoreTool: {
  170. tooltip: "Restaurer à la taille d'origine"
  171. }
  172. }
  173. });
  174. Ext.define("Ext.locale.fr_CA.field.FileButton", {
  175. override: "Ext.field.FileButton",
  176. config: {
  177. text: 'Feuilleter...'
  178. }
  179. });
  180. Ext.define('Ext.locale.fr_CA.dataview.List', {
  181. override: 'Ext.dataview.List',
  182. config: {
  183. loadingText: 'Chargement...'
  184. }
  185. });
  186. Ext.define('Ext.locale.fr_CA.dataview.EmptyText', {
  187. override: 'Ext.dataview.EmptyText',
  188. config: {
  189. html: 'Pas de date à afficher'
  190. }
  191. });
  192. Ext.define('Ext.locale.fr_CA.dataview.Abstract', {
  193. override: 'Ext.dataview.Abstract',
  194. config: {
  195. loadingText: 'Chargement...'
  196. }
  197. });
  198. Ext.define("Ext.locale.fr_CA.LoadMask", {
  199. override: "Ext.LoadMask",
  200. config: {
  201. message: 'Chargement...'
  202. }
  203. });
  204. Ext.define('Ext.locale.fr_CA.dataview.plugin.ListPaging', {
  205. override: 'Ext.dataview.plugin.ListPaging',
  206. config: {
  207. loadMoreText: "Telecharger plus..",
  208. noMoreRecordsText: 'Plus de dossiers'
  209. }
  210. });
  211. Ext.define("Ext.locale.fr_CA.dataview.DataView", {
  212. override: "Ext.dataview.DataView",
  213. config: {
  214. emptyText: ""
  215. }
  216. });
  217. Ext.define('Ext.locale.fr_CA.field.Date', {
  218. override: 'Ext.field.Date',
  219. minDateMessage: 'La date indiquée dans ce champ doit être égale à ou après {0}',
  220. maxDateMessage: 'La date indiquée dans ce champ doit être égale à ou avant {0}'
  221. });
  222. Ext.define("Ext.locale.fr_CA.grid.menu.SortAsc", {
  223. override: "Ext.grid.menu.SortAsc",
  224. config: {
  225. text: "Trier en ordre croissant"
  226. }
  227. });
  228. Ext.define("Ext.locale.fr_CA.grid.menu.SortDesc", {
  229. override: "Ext.grid.menu.SortDesc",
  230. config: {
  231. text: "Trier en ordre décroissant"
  232. }
  233. });
  234. Ext.define("Ext.locale.fr_CA.grid.menu.GroupByThis", {
  235. override: "Ext.grid.menu.GroupByThis",
  236. config: {
  237. text: "Grouper selon ce champ"
  238. }
  239. });
  240. Ext.define("Ext.locale.fr_CA.grid.menu.ShowInGroups", {
  241. override: "Ext.grid.menu.ShowInGroups",
  242. config: {
  243. text: "Montrer en groupe"
  244. }
  245. });
  246. Ext.define("Ext.locale.fr_CA.grid.menu.Columns", {
  247. override: "Ext.grid.menu.Columns",
  248. config: {
  249. text: "Colonnes"
  250. }
  251. });
  252. Ext.define('Ext.locale.fr_CA.data.validator.Presence', {
  253. override: 'Ext.data.validator.Presence',
  254. config: {
  255. message: 'Presence obligatoire'
  256. }
  257. });
  258. Ext.define('Ext.locale.fr_CA.data.validator.Format', {
  259. override: 'Ext.data.validator.Format',
  260. config: {
  261. message: "Ce format N'est pas le bon"
  262. }
  263. });
  264. Ext.define('Ext.locale.fr_CA.data.validator.Email', {
  265. override: 'Ext.data.validator.Email',
  266. config: {
  267. message: "N'est pas une adresse email valide"
  268. }
  269. });
  270. Ext.define('Ext.locale.fr_CA.data.validator.Phone', {
  271. override: 'Ext.data.validator.Phone',
  272. config: {
  273. message: "N'est pas un numéro de téléphone valide"
  274. }
  275. });
  276. Ext.define('Ext.locale.fr_CA.data.validator.Number', {
  277. override: 'Ext.data.validator.Number',
  278. config: {
  279. message: "N'est pas un nombre valide"
  280. }
  281. });
  282. Ext.define('Ext.locale.fr_CA.data.validator.Url', {
  283. override: 'Ext.data.validator.Url',
  284. config: {
  285. message: "N'est pas un URL valide"
  286. }
  287. });
  288. Ext.define('Ext.locale.fr_CA.data.validator.Range', {
  289. override: 'Ext.data.validator.Range',
  290. config: {
  291. nanMessage: 'Doit être un chiffre',
  292. minOnlyMessage: 'Doit être au moins {0}',
  293. maxOnlyMessage: 'Ne doit pas être plus que {0}',
  294. bothMessage: 'Doit être entre {0} Et {1}'
  295. }
  296. });
  297. Ext.define('Ext.locale.fr_CA.data.validator.Bound', {
  298. override: 'Ext.data.validator.Bound',
  299. config: {
  300. emptyMessage: 'Presence obligatoire',
  301. minOnlyMessage: 'La valeur doit être supérieure à {0}',
  302. maxOnlyMessage: 'La valeur doit être inférieure à {0}',
  303. bothMessage: 'La valeur doit être comprise entre {0} et {1}'
  304. }
  305. });
  306. Ext.define('Ext.locale.fr_CA.data.validator.CIDRv4', {
  307. override: 'Ext.data.validator.CIDRv4',
  308. config: {
  309. message: "N'est pas un bloc CIDR valide"
  310. }
  311. });
  312. Ext.define('Ext.locale.fr_CA.data.validator.CIDRv6', {
  313. override: 'Ext.data.validator.CIDRv6',
  314. config: {
  315. message: "N'est pas un bloc CIDR valide"
  316. }
  317. });
  318. Ext.define('Ext.locale.fr_CA.data.validator.Currency', {
  319. override: 'Ext.data.validator.Currency',
  320. config: {
  321. message: "N'est pas un montant devises valide"
  322. }
  323. });
  324. Ext.define('Ext.locale.fr_CA.data.validator.DateTime', {
  325. override: 'Ext.data.validator.DateTime',
  326. config: {
  327. message: "N'est pas une heure et date valide"
  328. }
  329. });
  330. Ext.define('Ext.locale.fr_CA.data.validator.Exclusion', {
  331. override: 'Ext.data.validator.Exclusion',
  332. config: {
  333. message: 'Est une valeur qui a été exclue'
  334. }
  335. });
  336. Ext.define('Ext.locale.fr_CA.data.validator.IPAddress', {
  337. override: 'Ext.data.validator.IPAddress',
  338. config: {
  339. message: "N'est pas une adresse IP valide"
  340. }
  341. });
  342. Ext.define('Ext.locale.fr_CA.data.validator.Inclusion', {
  343. override: 'Ext.data.validator.Inclusion',
  344. config: {
  345. message: "N'est pas dans la liste de valeurs acceptables"
  346. }
  347. });
  348. Ext.define('Ext.locale.fr_CA.data.validator.Time', {
  349. override: 'Ext.data.validator.Time',
  350. config: {
  351. message: "N'est pas un moment valide"
  352. }
  353. });
  354. Ext.define('Ext.locale.fr_CA.data.validator.Date', {
  355. override: 'Ext.data.validator.Date',
  356. config: {
  357. message: "N'est pas une date valide"
  358. }
  359. });
  360. Ext.define('Ext.locale.fr_CA.data.validator.Length', {
  361. override: 'Ext.data.validator.Length',
  362. config: {
  363. minOnlyMessage: 'La longueur doit être au moins {0}',
  364. maxOnlyMessage: 'La longueur ne doit pas être plus que {0}',
  365. bothMessage: 'La longueur doit être entre {0} Et {1}'
  366. }
  367. });
  368. Ext.define('Ext.locale.fr_CA.ux.colorpick.Selector', {
  369. override: 'Ext.ux.colorpick.Selector',
  370. okButtonText: 'OK',
  371. cancelButtonText: 'Annuler'
  372. });
  373. // This is needed until we can refactor all of the locales into individual files
  374. Ext.define("Ext.locale.fr_CA.Component", {
  375. override: "Ext.Component"
  376. });
  377. Ext.define("Ext.locale.fr_CA.grid.filters.menu.Base", {
  378. override: "Ext.grid.filters.menu.Base",
  379. config: {
  380. text: "filtre"
  381. }
  382. });
  383. Ext.define("Ext.locale.fr_CA.grid.locked.Grid", {
  384. override: 'Ext.grid.locked.Grid',
  385. config: {
  386. columnMenu: {
  387. items: {
  388. region: {
  389. text: 'Région'
  390. }
  391. }
  392. },
  393. regions: {
  394. left: {
  395. menuLabel: 'Fermé à clef (Gauche)'
  396. },
  397. center: {
  398. menuLabel: 'Débloqué'
  399. },
  400. right: {
  401. menuLabel: 'Fermé à clef (Droite)'
  402. }
  403. }
  404. }
  405. });
  406. Ext.define("Ext.locale.fr_CA.grid.plugin.RowDragDrop", {
  407. override: "Ext.grid.plugin.RowDragDrop",
  408. dragText: "{0} ligne(s) sélectionné(s)"
  409. });