- 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.7 KiB
JavaScript
38 lines
1.7 KiB
JavaScript
// Kannada [kn]
|
||
import dayjs from '../index';
|
||
var locale = {
|
||
name: 'kn',
|
||
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: 'DD/MM/YYYY',
|
||
LL: 'D MMMM YYYY',
|
||
LLL: 'D MMMM YYYY, A h:mm',
|
||
LLLL: 'dddd, D MMMM YYYY, A h:mm'
|
||
},
|
||
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; |