- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
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; |