locale-fr-debug.js 12 KB

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