- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
// French [fr]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'fr',
|
|
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
|
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
|
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
|
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
|
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
|
weekStart: 1,
|
|
yearStart: 4,
|
|
formats: {
|
|
LT: 'HH:mm',
|
|
LTS: 'HH:mm:ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY HH:mm',
|
|
LLLL: 'dddd D MMMM YYYY HH:mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'dans %s',
|
|
past: 'il y a %s',
|
|
s: 'quelques secondes',
|
|
m: 'une minute',
|
|
mm: '%d minutes',
|
|
h: 'une heure',
|
|
hh: '%d heures',
|
|
d: 'un jour',
|
|
dd: '%d jours',
|
|
M: 'un mois',
|
|
MM: '%d mois',
|
|
y: 'un an',
|
|
yy: '%d ans'
|
|
},
|
|
ordinal: function ordinal(n) {
|
|
var o = n === 1 ? 'er' : '';
|
|
return "" + n + o;
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |