- 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.0 KiB
JavaScript
39 lines
1.0 KiB
JavaScript
// Romanian [ro]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'ro',
|
|
weekdays: 'Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă'.split('_'),
|
|
weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
|
|
weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
|
|
months: 'Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie'.split('_'),
|
|
monthsShort: 'Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.'.split('_'),
|
|
weekStart: 1,
|
|
formats: {
|
|
LT: 'H:mm',
|
|
LTS: 'H:mm:ss',
|
|
L: 'DD.MM.YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY H:mm',
|
|
LLLL: 'dddd, D MMMM YYYY H:mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'peste %s',
|
|
past: 'acum %s',
|
|
s: 'câteva secunde',
|
|
m: 'un minut',
|
|
mm: '%d minute',
|
|
h: 'o oră',
|
|
hh: '%d ore',
|
|
d: 'o zi',
|
|
dd: '%d zile',
|
|
M: 'o lună',
|
|
MM: '%d luni',
|
|
y: 'un an',
|
|
yy: '%d ani'
|
|
},
|
|
ordinal: function ordinal(n) {
|
|
return n;
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |