- 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.6 KiB
JavaScript
38 lines
1.6 KiB
JavaScript
// Gujarati [gu]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'gu',
|
|
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; |