- 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
38 lines
1.5 KiB
JavaScript
38 lines
1.5 KiB
JavaScript
// Sinhalese [si]
|
||
import dayjs from '../index';
|
||
var locale = {
|
||
name: 'si',
|
||
weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
|
||
months: 'දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්'.split('_'),
|
||
weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
|
||
monthsShort: 'දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු'.split('_'),
|
||
weekdaysMin: 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
|
||
ordinal: function ordinal(n) {
|
||
return n;
|
||
},
|
||
formats: {
|
||
LT: 'a h:mm',
|
||
LTS: 'a h:mm:ss',
|
||
L: 'YYYY/MM/DD',
|
||
LL: 'YYYY MMMM D',
|
||
LLL: 'YYYY MMMM D, a h:mm',
|
||
LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
|
||
},
|
||
relativeTime: {
|
||
future: '%sකින්',
|
||
past: '%sකට පෙර',
|
||
s: 'තත්පර කිහිපය',
|
||
m: 'විනාඩිය',
|
||
mm: 'විනාඩි %d',
|
||
h: 'පැය',
|
||
hh: 'පැය %d',
|
||
d: 'දිනය',
|
||
dd: 'දින %d',
|
||
M: 'මාසය',
|
||
MM: 'මාස %d',
|
||
y: 'වසර',
|
||
yy: 'වසර %d'
|
||
}
|
||
};
|
||
dayjs.locale(locale, null, true);
|
||
export default locale; |