- 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
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
// siSwati [ss]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'ss',
|
|
weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
|
|
months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
|
|
weekStart: 1,
|
|
weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
|
|
monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
|
|
weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n;
|
|
},
|
|
formats: {
|
|
LT: 'h:mm A',
|
|
LTS: 'h:mm:ss A',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY h:mm A',
|
|
LLLL: 'dddd, D MMMM YYYY h:mm A'
|
|
},
|
|
relativeTime: {
|
|
future: 'nga %s',
|
|
past: 'wenteka nga %s',
|
|
s: 'emizuzwana lomcane',
|
|
m: 'umzuzu',
|
|
mm: '%d emizuzu',
|
|
h: 'lihora',
|
|
hh: '%d emahora',
|
|
d: 'lilanga',
|
|
dd: '%d emalanga',
|
|
M: 'inyanga',
|
|
MM: '%d tinyanga',
|
|
y: 'umnyaka',
|
|
yy: '%d iminyaka'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |