- 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
40 lines
1.7 KiB
JavaScript
40 lines
1.7 KiB
JavaScript
// Nepalese [ne]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'ne',
|
|
weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
|
|
weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
|
|
weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
|
|
months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
|
|
monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
|
|
relativeTime: {
|
|
future: '%s पछि',
|
|
past: '%s अघि',
|
|
s: 'सेकेन्ड',
|
|
m: 'एक मिनेट',
|
|
mm: '%d मिनेट',
|
|
h: 'घन्टा',
|
|
hh: '%d घन्टा',
|
|
d: 'एक दिन',
|
|
dd: '%d दिन',
|
|
M: 'एक महिना',
|
|
MM: '%d महिना',
|
|
y: 'एक वर्ष',
|
|
yy: '%d वर्ष'
|
|
},
|
|
ordinal: function ordinal(n) {
|
|
return ("" + n).replace(/\d/g, function (i) {
|
|
return '०१२३४५६७८९'[i];
|
|
});
|
|
},
|
|
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 बजे'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |