- 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
// Malay [ms-my]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'ms-my',
|
|
weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
|
months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
|
|
weekStart: 1,
|
|
weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
|
monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
|
weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n;
|
|
},
|
|
formats: {
|
|
LT: 'HH.mm',
|
|
LTS: 'HH.mm.ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY [pukul] HH.mm',
|
|
LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'dalam %s',
|
|
past: '%s yang lepas',
|
|
s: 'beberapa saat',
|
|
m: 'seminit',
|
|
mm: '%d minit',
|
|
h: 'sejam',
|
|
hh: '%d jam',
|
|
d: 'sehari',
|
|
dd: '%d hari',
|
|
M: 'sebulan',
|
|
MM: '%d bulan',
|
|
y: 'setahun',
|
|
yy: '%d tahun'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |