- 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
39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
// Greek [el]
|
||
import dayjs from '../index';
|
||
var locale = {
|
||
name: 'el',
|
||
weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
|
||
weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
||
weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
||
months: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
||
monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ'.split('_'),
|
||
ordinal: function ordinal(n) {
|
||
return n;
|
||
},
|
||
weekStart: 1,
|
||
relativeTime: {
|
||
future: 'σε %s',
|
||
past: 'πριν %s',
|
||
s: 'μερικά δευτερόλεπτα',
|
||
m: 'ένα λεπτό',
|
||
mm: '%d λεπτά',
|
||
h: 'μία ώρα',
|
||
hh: '%d ώρες',
|
||
d: 'μία μέρα',
|
||
dd: '%d μέρες',
|
||
M: 'ένα μήνα',
|
||
MM: '%d μήνες',
|
||
y: 'ένα χρόνο',
|
||
yy: '%d χρόνια'
|
||
},
|
||
formats: {
|
||
LT: 'h:mm A',
|
||
LTS: 'h:mm:ss A',
|
||
L: 'DD/MM/YYYY',
|
||
LL: 'D MMMM YYYY',
|
||
LLL: 'D MMMM YYYY h:mm A',
|
||
LLLL: 'dddd, D MMMM YYYY h:mm A'
|
||
}
|
||
};
|
||
dayjs.locale(locale, null, true);
|
||
export default locale; |