mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Merge branch 'master' into cleanup/config
This commit is contained in:
103 files changed
+3418
-1928
No files matched your search
@@ -4,7 +4,7 @@ console.log(args);
|
||||
|
||||
const path = './src/locale/';
|
||||
|
||||
const langs = ['bs', 'no', 'es', 'fr', 'pt', 'ptbr', 'sv', 'tr'];
|
||||
const langs = ['bs', 'no', 'es', 'fr', 'pt', 'ptbr', 'sv', 'tr', "hu"];
|
||||
|
||||
const defaultLang = 'en';
|
||||
|
||||
|
||||
+1
-5
@@ -6,10 +6,6 @@
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
"homepage": "/resources/html",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.15.1",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
||||
"@fortawesome/react-fontawesome": "^0.1.14",
|
||||
"@material-ui/core": "^4.11.3",
|
||||
"@material-ui/icons": "^4.11.2",
|
||||
"@material-ui/lab": "^4.0.0-alpha.56",
|
||||
@@ -20,7 +16,7 @@
|
||||
"dompurify": "^2.2.6",
|
||||
"emoji-mart": "^3.0.1",
|
||||
"enzyme": "^3.11.0",
|
||||
"fivem-nui-react-lib": "2.2.6",
|
||||
"fivem-nui-react-lib": "^2.2.8",
|
||||
"howler": "^2.2.1",
|
||||
"i18next": "^19.7.0",
|
||||
"jsonschema": "^1.4.0",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import React from 'react';
|
||||
import { RecoilRoot } from 'recoil';
|
||||
import { shallow } from 'enzyme';
|
||||
import { PhoneContainer } from './PhoneContainer';
|
||||
import { PhoneProviders } from './PhoneProviders';
|
||||
|
||||
it('renders Phone', () => {
|
||||
shallow(
|
||||
<RecoilRoot>
|
||||
<PhoneContainer />
|
||||
<PhoneProviders />
|
||||
</RecoilRoot>,
|
||||
);
|
||||
});
|
||||
+35
-64
@@ -4,7 +4,7 @@ import './i18n';
|
||||
import { Route } from 'react-router-dom';
|
||||
import { CallModal } from './os/call/components/CallModal';
|
||||
import { HomeApp } from './apps/home/components/Home';
|
||||
import { Box, Paper, Slide, Typography } from '@material-ui/core';
|
||||
import { Box, Paper, Typography } from '@material-ui/core';
|
||||
import { NotificationBar } from './os/notifications/components/NotificationBar';
|
||||
import { Navigation } from './os/navigation-bar/components/Navigation';
|
||||
import { useSimcardService } from './os/simcard/hooks/useSimcardService';
|
||||
@@ -23,7 +23,6 @@ import { isSettingsSchemaValid, useSettings } from './apps/settings/hooks/useSet
|
||||
import { useCallService } from './os/call/hooks/useCallService';
|
||||
import { useDialService } from './apps/dialer/hooks/useDialService';
|
||||
import InjectDebugData from './os/debug/InjectDebugData';
|
||||
import { usePhoneVisibility } from './os/phone/hooks/usePhoneVisibility';
|
||||
import { PhoneSnackbar } from './ui/components/PhoneSnackbar';
|
||||
import { NotificationAlert } from './os/notifications/components/NotificationAlert';
|
||||
import { useCallModal } from './os/call/hooks/useCallModal';
|
||||
@@ -34,6 +33,7 @@ import { useSnackbar } from './ui/hooks/useSnackbar';
|
||||
import { PhoneEvents } from '../../typings/phone';
|
||||
import { isDefaultWallpaper } from './apps/settings/utils/isDefaultWallpaper';
|
||||
import { useKeyboardService } from './os/keyboard/hooks/useKeyboardService';
|
||||
import PhoneWrapper from './PhoneWrapper';
|
||||
|
||||
import dayjs from 'dayjs';
|
||||
import DefaultConfig from '../../config.json';
|
||||
@@ -80,74 +80,45 @@ function Phone() {
|
||||
useDialService();
|
||||
|
||||
const { modal: callModal } = useCallModal();
|
||||
const { bottom, visibility } = usePhoneVisibility();
|
||||
const { isPhoneReady } = usePhone();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<WindowSnackbar />
|
||||
<Slide direction="up" timeout={{ enter: 500, exit: 500 }} in={visibility}>
|
||||
<div className="PhoneWrapper">
|
||||
<div
|
||||
className="Phone"
|
||||
style={{
|
||||
position: 'fixed',
|
||||
transformOrigin: 'right bottom',
|
||||
transform: `scale(${settings.zoom.value}`,
|
||||
bottom,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="PhoneFrame"
|
||||
style={{
|
||||
backgroundImage: `url(media/frames/${settings.frame.value})`,
|
||||
}}
|
||||
/>
|
||||
<div
|
||||
id="phone"
|
||||
className="PhoneScreen"
|
||||
style={{
|
||||
backgroundImage: !isDefaultWallpaper(settings.wallpaper.value)
|
||||
? `url(${settings.wallpaper.value})`
|
||||
: `url(media/backgrounds/${settings.wallpaper.value})`,
|
||||
}}
|
||||
>
|
||||
{isPhoneReady ? (
|
||||
<>
|
||||
<NotificationBar />
|
||||
<div className="PhoneAppContainer">
|
||||
<>
|
||||
<Route exact path="/" component={HomeApp} />
|
||||
{callModal && <Route exact path="/call" component={CallModal} />}
|
||||
{apps.map((App) => (
|
||||
<App.Route key={App.id} />
|
||||
))}
|
||||
</>
|
||||
<NotificationAlert />
|
||||
<PhoneSnackbar />
|
||||
</div>
|
||||
<Navigation />
|
||||
</>
|
||||
) : (
|
||||
<Box
|
||||
component={Paper}
|
||||
height="100%"
|
||||
width="100%"
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
>
|
||||
<Typography paragraph variant="h6">
|
||||
NPWD {t('INITIALIZING')}
|
||||
</Typography>
|
||||
<Typography paragraph>{t('GENERIC_WAIT')}</Typography>
|
||||
</Box>
|
||||
)}
|
||||
<PhoneWrapper>
|
||||
{isPhoneReady ? (
|
||||
<>
|
||||
<NotificationBar />
|
||||
<div className="PhoneAppContainer">
|
||||
<>
|
||||
<Route exact path="/" component={HomeApp} />
|
||||
{callModal && <Route exact path="/call" component={CallModal} />}
|
||||
{apps.map((App) => (
|
||||
<App.Route key={App.id} />
|
||||
))}
|
||||
</>
|
||||
<NotificationAlert />
|
||||
<PhoneSnackbar />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Slide>
|
||||
<Navigation />
|
||||
</>
|
||||
) : (
|
||||
<Box
|
||||
component={Paper}
|
||||
height="100%"
|
||||
width="100%"
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
>
|
||||
<Typography paragraph variant="h6">
|
||||
NPWD {t('INITIALIZING')}
|
||||
</Typography>
|
||||
<Typography paragraph>{t('GENERIC_WAIT')}</Typography>
|
||||
</Box>
|
||||
)}
|
||||
</PhoneWrapper>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import Phone from './Phone';
|
||||
import { NuiProvider } from 'fivem-nui-react-lib';
|
||||
import { SoundProvider } from './os/sound/providers/SoundProvider';
|
||||
|
||||
export const PhoneContainer = () => {
|
||||
export const PhoneProviders = () => {
|
||||
const currentTheme = usePhoneTheme();
|
||||
return (
|
||||
<NuiProvider resource="new-phone-who-dis">
|
||||
@@ -0,0 +1,46 @@
|
||||
import React from 'react';
|
||||
import { isDefaultWallpaper } from './apps/settings/utils/isDefaultWallpaper';
|
||||
import { useSettings } from './apps/settings/hooks/useSettings';
|
||||
import { usePhoneVisibility } from './os/phone/hooks/usePhoneVisibility';
|
||||
import { Slide } from '@material-ui/core';
|
||||
|
||||
const PhoneWrapper: React.FC = ({ children }) => {
|
||||
const [settings] = useSettings();
|
||||
const { bottom, visibility } = usePhoneVisibility();
|
||||
|
||||
return (
|
||||
<Slide direction="up" timeout={{ enter: 500, exit: 500 }} in={visibility}>
|
||||
<div className="PhoneWrapper">
|
||||
<div
|
||||
className="Phone"
|
||||
style={{
|
||||
position: 'fixed',
|
||||
transformOrigin: 'right bottom',
|
||||
transform: `scale(${settings.zoom.value}`,
|
||||
bottom,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="PhoneFrame"
|
||||
style={{
|
||||
backgroundImage: `url(media/frames/${settings.frame.value})`,
|
||||
}}
|
||||
/>
|
||||
<div
|
||||
id="phone"
|
||||
className="PhoneScreen"
|
||||
style={{
|
||||
backgroundImage: !isDefaultWallpaper(settings.wallpaper.value)
|
||||
? `url(${settings.wallpaper.value})`
|
||||
: `url(media/backgrounds/${settings.wallpaper.value})`,
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Slide>
|
||||
);
|
||||
};
|
||||
|
||||
export default PhoneWrapper;
|
||||
@@ -3,8 +3,7 @@ import React, { useState } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faHome, faList, faMoneyCheck } from '@fortawesome/free-solid-svg-icons';
|
||||
import { Home, List, Payment } from '@material-ui/icons';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -30,21 +29,9 @@ export const NavigationBar = () => {
|
||||
showLabels
|
||||
className={classes.root}
|
||||
>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<FontAwesomeIcon icon={faHome} />}
|
||||
to="/bank"
|
||||
/>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<FontAwesomeIcon icon={faMoneyCheck} />}
|
||||
to="/bank/account"
|
||||
/>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<FontAwesomeIcon icon={faList} />}
|
||||
to="/bank/transactions"
|
||||
/>
|
||||
<BottomNavigationAction component={Link} icon={<Home />} to="/bank" />
|
||||
<BottomNavigationAction component={Link} icon={<Payment />} to="/bank/account" />
|
||||
<BottomNavigationAction component={Link} icon={<List />} to="/bank/transactions" />
|
||||
</BottomNavigation>
|
||||
);
|
||||
};
|
||||
@@ -51,9 +51,9 @@ const ContactsInfoPage = () => {
|
||||
const Nui = useNuiRequest();
|
||||
const classes = useStyles();
|
||||
const history = useHistory();
|
||||
|
||||
|
||||
const { getContact } = useContacts();
|
||||
|
||||
|
||||
const { id } = useParams<ContactInfoRouteParams>();
|
||||
const { addNumber, referal } = useQueryParams<ContactInfoRouteQuery>({
|
||||
referal: '/contacts',
|
||||
@@ -109,9 +109,7 @@ const ContactsInfoPage = () => {
|
||||
data: contact,
|
||||
level: 2,
|
||||
});
|
||||
Nui.send(ContactEvents.DELETE_CONTACT, {
|
||||
id: contact.id,
|
||||
});
|
||||
Nui.send(ContactEvents.DELETE_CONTACT, contact.id);
|
||||
history.goBack();
|
||||
};
|
||||
|
||||
|
||||
@@ -2,8 +2,21 @@ import { useSetRecoilState } from 'recoil';
|
||||
import { useNuiEvent } from 'fivem-nui-react-lib';
|
||||
import { dialState } from './state';
|
||||
import { CallEvents } from '../../../../../typings/call';
|
||||
import { IAlert, useSnackbar } from '../../../ui/hooks/useSnackbar';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export const useDialService = () => {
|
||||
const { addAlert } = useSnackbar();
|
||||
const { t } = useTranslation();
|
||||
|
||||
const handleAddAlert = ({ message, type }: IAlert) => {
|
||||
addAlert({
|
||||
message: t(`APPS_${message}`),
|
||||
type,
|
||||
});
|
||||
};
|
||||
|
||||
const setHistory = useSetRecoilState(dialState.history);
|
||||
useNuiEvent('DIALER', CallEvents.SET_CALL_HISTORY, setHistory);
|
||||
useNuiEvent('DAILER', CallEvents.SEND_ALERT, handleAddAlert);
|
||||
};
|
||||
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import { AppWrapper } from '../../../ui/components/AppWrapper';
|
||||
import { AppWrapper } from '../../../ui/components';
|
||||
import { AppContent } from '../../../ui/components/AppContent';
|
||||
import { MarketplaceTitle } from './MarketplaceTitle';
|
||||
import { MarketplaceListContainer } from './SelloutList/MarketplaceListContainer';
|
||||
import { NavigationBar } from './navigation/NavigationBar';
|
||||
import { Switch, Route } from 'react-router-dom';
|
||||
@@ -9,12 +8,16 @@ import { ListingFormContainer } from './form/ListingFormContainer';
|
||||
import InjectDebugData from '../../../os/debug/InjectDebugData';
|
||||
import { MarketplaceThemeProvider } from '../providers/MarketplaceThemeProvider';
|
||||
import { MarketplaceEvents } from '../../../../../typings/marketplace';
|
||||
import { AppTitle } from '../../../ui/components/AppTitle';
|
||||
import { useApp } from '../../../os/apps/hooks/useApps';
|
||||
|
||||
export const MarketplaceApp = () => {
|
||||
const marketplaceApp = useApp('SELLOUT');
|
||||
|
||||
return (
|
||||
<MarketplaceThemeProvider>
|
||||
<AppWrapper id="sellout-app">
|
||||
<MarketplaceTitle />
|
||||
<AppTitle app={marketplaceApp} />
|
||||
<AppContent>
|
||||
<Switch>
|
||||
<Route path="/marketplace" exact component={MarketplaceListContainer} />
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
import React from 'react';
|
||||
import Paper from '@material-ui/core/Paper';
|
||||
import { makeStyles } from '@material-ui/core';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faAd } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
height: '60px',
|
||||
width: '100%',
|
||||
display: 'flex',
|
||||
flexFlow: 'row nowrap',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
background: theme.palette.background.default,
|
||||
},
|
||||
icon: {
|
||||
color: theme.palette.primary.main,
|
||||
fontSize: 40,
|
||||
},
|
||||
}));
|
||||
|
||||
export const MarketplaceTitle = () => {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper className={classes.root} square variant="outlined" elevation={24}>
|
||||
<FontAwesomeIcon icon={faAd} className={classes.icon} />
|
||||
</Paper>
|
||||
);
|
||||
};
|
||||
@@ -1,10 +1,14 @@
|
||||
import React, { useState } from 'react';
|
||||
import { makeStyles, Button, TextField } from '@material-ui/core';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { makeStyles, Button, TextField, Box } from '@material-ui/core';
|
||||
import { useNuiRequest } from 'fivem-nui-react-lib';
|
||||
import { MarketplaceEvents } from '../../../../../../typings/marketplace';
|
||||
import { useSnackbar } from '../../../../ui/hooks/useSnackbar';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory } from 'react-router';
|
||||
import ImageIcon from '@material-ui/icons/Image';
|
||||
import { useHistory, useLocation } from 'react-router-dom';
|
||||
import qs from 'qs';
|
||||
import { useQueryParams } from '../../../../common/hooks/useQueryParams';
|
||||
import { deleteQueryFromLocation } from '../../../../common/utils/deleteQueryFromLocation';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -36,6 +40,8 @@ export const ListingForm = () => {
|
||||
const { t } = useTranslation();
|
||||
const { addAlert } = useSnackbar();
|
||||
const history = useHistory();
|
||||
const { pathname, search } = useLocation();
|
||||
const query = useQueryParams();
|
||||
|
||||
const [title, setTitle] = useState('');
|
||||
const [url, setUrl] = useState('');
|
||||
@@ -57,6 +63,26 @@ export const ListingForm = () => {
|
||||
}
|
||||
};
|
||||
|
||||
/*const handleChooseImage = () => {
|
||||
history.push(`/camera?${qs.stringify({
|
||||
referal: encodeURIComponent(pathname + search),
|
||||
})}`)
|
||||
}*/
|
||||
|
||||
const handleChooseImage = useCallback(() => {
|
||||
history.push(
|
||||
`/camera?${qs.stringify({
|
||||
referal: encodeURIComponent(pathname + search),
|
||||
})}`,
|
||||
);
|
||||
}, [history, pathname, search]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!query?.image) return;
|
||||
setUrl(query?.image);
|
||||
history.replace(deleteQueryFromLocation({ pathname, search }, 'image'));
|
||||
}, [query?.image, history, pathname, search]);
|
||||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<h1>New Listing</h1>
|
||||
@@ -76,10 +102,19 @@ export const ListingForm = () => {
|
||||
}}
|
||||
/>
|
||||
|
||||
<Box display="flex" alignItems="center" paddingLeft={5}>
|
||||
<div>
|
||||
<ImageIcon />
|
||||
</div>
|
||||
<div>
|
||||
<Button onClick={handleChooseImage}>Choose a image</Button>
|
||||
</div>
|
||||
</Box>
|
||||
<TextField
|
||||
className={classes.input}
|
||||
placeholder={t('APPS_MARKETPLACE_FORM_IMAGE')}
|
||||
onChange={(e) => setUrl(e.target.value)}
|
||||
value={url}
|
||||
onChange={(e) => setUrl(e.currentTarget.value)}
|
||||
inputProps={{ className: classes.textFieldInput }}
|
||||
style={{ width: '80%' }}
|
||||
size="medium"
|
||||
|
||||
@@ -2,9 +2,7 @@ import React, { useState } from 'react';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faHome } from '@fortawesome/free-solid-svg-icons';
|
||||
import AddCircleIcon from '@material-ui/icons/AddCircle';
|
||||
import { AddCircle, Home } from '@material-ui/icons/';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -28,12 +26,8 @@ export const NavigationBar = () => {
|
||||
showLabels
|
||||
className={classes.root}
|
||||
>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<FontAwesomeIcon icon={faHome} />}
|
||||
to="/marketplace"
|
||||
/>
|
||||
<BottomNavigationAction component={Link} icon={<AddCircleIcon />} to="/marketplace/new" />
|
||||
<BottomNavigationAction component={Link} icon={<Home />} to="/marketplace" />
|
||||
<BottomNavigationAction component={Link} icon={<AddCircle />} to="/marketplace/new" />
|
||||
</BottomNavigation>
|
||||
);
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { AppWrapper } from '../../ui/components/AppWrapper';
|
||||
import { AppWrapper } from '../../ui/components';
|
||||
import { AppContent } from '../../ui/components/AppContent';
|
||||
import { AppTitle } from '../../ui/components/AppTitle';
|
||||
import { useApp } from '../../os/apps/hooks/useApps';
|
||||
@@ -11,25 +11,23 @@ import { useNoteDetail } from './hooks/useNoteDetail';
|
||||
import useStyles from './notes.styles';
|
||||
import InjectDebugData from '../../os/debug/InjectDebugData';
|
||||
import { NotesThemeProvider } from './providers/NotesThemeProvider';
|
||||
import { Route, useHistory } from 'react-router-dom';
|
||||
import { Route } from 'react-router-dom';
|
||||
import { NotesEvents } from '../../../../typings/notes';
|
||||
|
||||
export const NotesApp = () => {
|
||||
const classes = useStyles();
|
||||
const history = useHistory();
|
||||
const notesApp = useApp('NOTES');
|
||||
const { setDetail } = useNoteDetail();
|
||||
|
||||
const onClickCreate = () => {
|
||||
setDetail({ title: '', content: '' });
|
||||
history.push('/notes/detail');
|
||||
};
|
||||
|
||||
return (
|
||||
<NotesThemeProvider>
|
||||
<AppWrapper id="notes-app">
|
||||
<AppTitle app={notesApp} />
|
||||
<Route path="/notes/detail" component={NoteModal} />
|
||||
<NoteModal />
|
||||
<AppContent>
|
||||
<Route path="/notes" component={NoteList} />
|
||||
<Fab className={classes.absolute} onClick={onClickCreate} color="primary">
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
import { makeStyles, Paper } from '@material-ui/core';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faStickyNote } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
header: {
|
||||
width: '100%',
|
||||
display: 'flex',
|
||||
flexFlow: 'row nowrap',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
textAlign: 'center',
|
||||
height: '60px',
|
||||
},
|
||||
icon: {
|
||||
color: theme.palette.primary.main,
|
||||
fontSize: 40,
|
||||
},
|
||||
}));
|
||||
|
||||
const NotesTitle = () => {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper elevation={24} square variant="outlined" className={classes.header}>
|
||||
<FontAwesomeIcon icon={faStickyNote} className={classes.icon} size="lg" />
|
||||
</Paper>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotesTitle;
|
||||
@@ -2,18 +2,14 @@ import React from 'react';
|
||||
import { List, ListItem, ListItemText } from '@material-ui/core';
|
||||
import { useNoteDetail } from '../hooks/useNoteDetail';
|
||||
import { useNotes } from '../hooks/useNotes';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
|
||||
// add search bar later
|
||||
// TODO: Add interface for note
|
||||
// TODO: add search bar later
|
||||
const NoteList = () => {
|
||||
const history = useHistory();
|
||||
const { notes } = useNotes();
|
||||
const { setDetail } = useNoteDetail();
|
||||
|
||||
const handleNoteModal = (note) => {
|
||||
setDetail(note);
|
||||
history.push('/notes/detail');
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -14,48 +14,38 @@ import { useNoteDetail } from '../hooks/useNoteDetail';
|
||||
import useStyles from './modal.styles';
|
||||
import { useNuiRequest } from 'fivem-nui-react-lib';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
import { StatusButton } from '../../../ui/components/StatusButton';
|
||||
import { NotesEvents } from '../../../../../typings/notes';
|
||||
|
||||
export const NoteModal = () => {
|
||||
const Nui = useNuiRequest();
|
||||
const classes = useStyles();
|
||||
const history = useHistory();
|
||||
const { t } = useTranslation();
|
||||
const { detail, setDetail } = useNoteDetail();
|
||||
|
||||
const onClose = () => history.goBack();
|
||||
|
||||
const _handleClose = () => {
|
||||
setDetail(null);
|
||||
onClose();
|
||||
};
|
||||
|
||||
const handleNoteSave = () => {
|
||||
Nui.send(NotesEvents.ADD_NOTE, detail);
|
||||
setDetail(null);
|
||||
onClose();
|
||||
};
|
||||
|
||||
const handleDeleteNote = () => {
|
||||
const id = detail.id;
|
||||
Nui.send(NotesEvents.DELETE_NOTE, {
|
||||
id,
|
||||
});
|
||||
Nui.send(NotesEvents.DELETE_NOTE, id);
|
||||
setDetail(null);
|
||||
onClose();
|
||||
};
|
||||
|
||||
const handleUpdateNote = () => {
|
||||
Nui.send(NotesEvents.UPDATE_NOTE, detail);
|
||||
setDetail(null);
|
||||
onClose();
|
||||
};
|
||||
|
||||
return (
|
||||
<Slide direction="left" in={!!detail}>
|
||||
<Paper className={classes.modalRoot}>
|
||||
<Slide direction="left" in={!!detail} mountOnEnter unmountOnExit>
|
||||
<Paper className={classes.modalRoot} square>
|
||||
{!detail ? (
|
||||
<CircularProgress />
|
||||
) : (
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import React, { useState } from 'react';
|
||||
import { CircularProgress, makeStyles, Button } from '@material-ui/core';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faRetweet } from '@fortawesome/free-solid-svg-icons';
|
||||
import { useNuiRequest } from 'fivem-nui-react-lib';
|
||||
import { Repeat } from '@material-ui/icons';
|
||||
import { TwitterEvents } from '../../../../../../typings/twitter';
|
||||
|
||||
interface IProps {
|
||||
@@ -55,7 +54,7 @@ export const RetweetButton = ({ tweetId, isRetweet, retweetId }: IProps) => {
|
||||
|
||||
return (
|
||||
<Button onClick={handleClick}>
|
||||
<FontAwesomeIcon icon={faRetweet} className={className} size="lg" />
|
||||
<Repeat className={className} />
|
||||
</Button>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faRetweet } from '@fortawesome/free-solid-svg-icons';
|
||||
import { Repeat } from '@material-ui/icons';
|
||||
|
||||
interface IProps {
|
||||
profileName: string;
|
||||
@@ -25,7 +24,7 @@ function Retweet({ profileName }: IProps) {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<FontAwesomeIcon icon={faRetweet} /> {profileName} {t('APPS_TWITTER_RETWEETED')}
|
||||
<Repeat /> {profileName} {t('APPS_TWITTER_RETWEETED')}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -107,6 +107,10 @@
|
||||
{
|
||||
"label": "Bosanski",
|
||||
"value": "ba"
|
||||
},
|
||||
{
|
||||
"label": "Hungarian",
|
||||
"value": "hu"
|
||||
}
|
||||
],
|
||||
"ringtones": [
|
||||
|
||||
@@ -8,6 +8,7 @@ import sv from './locale/sv.json';
|
||||
import no from './locale/no.json';
|
||||
import tr from './locale/tr.json';
|
||||
import ptbr from './locale/ptbr.json';
|
||||
import hu from "./locale/hu.json"
|
||||
import pt from './locale/pt.json';
|
||||
import config from './config/default.json';
|
||||
|
||||
@@ -21,6 +22,7 @@ const resources = {
|
||||
tr,
|
||||
ptbr,
|
||||
pt,
|
||||
hu
|
||||
};
|
||||
|
||||
i18n
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/react';
|
||||
import { Integrations } from '@sentry/tracing';
|
||||
import './main.css';
|
||||
import PhoneConfig from './config/default.json';
|
||||
import { PhoneContainer } from './PhoneContainer';
|
||||
import { PhoneProviders } from './PhoneProviders';
|
||||
import attachMockNuiEvent from './os/debug/AttachMockNuiEvent';
|
||||
import dayjs from 'dayjs';
|
||||
import relativeTime from 'dayjs/plugin/relativeTime';
|
||||
@@ -34,7 +34,7 @@ if (process.env.NODE_ENV === 'development') attachMockNuiEvent();
|
||||
ReactDOM.render(
|
||||
<HashRouter>
|
||||
<RecoilRoot>
|
||||
<PhoneContainer />
|
||||
<PhoneProviders />
|
||||
</RecoilRoot>
|
||||
</HashRouter>,
|
||||
document.getElementById('root'),
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
"APPS_NOTES": "Notes",
|
||||
"APPS_EXAMPLE": "Example app",
|
||||
"APPS_TWITTER": "Twitter",
|
||||
"APPS_SELLOUT": "Market",
|
||||
"APPS_SELLOUT": "Marketplace",
|
||||
"APPS_CAMERA": "Camera",
|
||||
|
||||
"APPS_CAMERA_FAILED_TO_TAKE_PHOTO": "Photo could not be saved :(",
|
||||
|
||||
@@ -2,6 +2,50 @@
|
||||
"translation": {
|
||||
"DATE_FORMAT": "MM/DD/YYYY",
|
||||
"DATE_TIME_FORMAT": "MM/DD/YYYY hh:mm A",
|
||||
"CALLS": {
|
||||
"MESSAGES": {
|
||||
"RINGING": "Llamando",
|
||||
"OUTGOING": "Llamada saliente",
|
||||
"INCOMING": "Llamada entrante"
|
||||
}
|
||||
},
|
||||
"SETTINGS": {
|
||||
"CATEGORY": {
|
||||
"APPEARANCE": "Apariencia",
|
||||
"PHONE": "Celular",
|
||||
"ACTIONS": "Acciones"
|
||||
},
|
||||
"OPTIONS": {
|
||||
"LANGUAGE": "Lenguaje",
|
||||
"RESET_SETTINGS": "Restablecer configuraciones",
|
||||
"RESET_SETTINGS_DESC": "Esto borrara tus datos almacenados localmente",
|
||||
"CUSTOM_WALLPAPER": {
|
||||
"DIALOG_TITLE": "Wallpaper personalizado",
|
||||
"DIALOG_CONTENT": "Define un wallpaper personalizado ingresando la URL de la imagen abajo!",
|
||||
"DIALOG_PLACEHOLDER": "URL imagen",
|
||||
"DIALOG_ERROR": "Imagen o link invalido"
|
||||
}
|
||||
},
|
||||
"MESSAGES": {
|
||||
"INVALID_SETTINGS": "Configuracion invalida! Restablece la configuracion del dispositivo.",
|
||||
"SETTINGS_RESET": "Se restablecieron las configuraciones!"
|
||||
}
|
||||
},
|
||||
"RELATIVE_TIME": {
|
||||
"future": "en %s",
|
||||
"past": "hace %s",
|
||||
"s": "hace unos segundos",
|
||||
"m": "hace un minuto",
|
||||
"mm": "%d minutos",
|
||||
"h": "hace una hora",
|
||||
"hh": "%d horas",
|
||||
"d": "hace un dia",
|
||||
"dd": "%d dias",
|
||||
"M": "hace un mes",
|
||||
"MM": "%d meses",
|
||||
"y": "hace un año",
|
||||
"yy": "%d años"
|
||||
},
|
||||
|
||||
"COMING_SOON": "Próximamente...",
|
||||
|
||||
|
||||
@@ -0,0 +1,242 @@
|
||||
{
|
||||
"translation": {
|
||||
"DATE_FORMAT": "MM/DD/YYYY",
|
||||
"DATE_TIME_FORMAT": "MM/DD/YYYY hh:mm A",
|
||||
"CALLS": {
|
||||
"MESSAGES": {
|
||||
"RINGING": "Csengetés...",
|
||||
"OUTGOING": "Kimenő hívás",
|
||||
"INCOMING": "Bejövő hívás"
|
||||
}
|
||||
},
|
||||
"SETTINGS": {
|
||||
"CATEGORY": {
|
||||
"APPEARANCE": "Megjelenés",
|
||||
"PHONE": "Telefon",
|
||||
"ACTIONS": "Műveletek"
|
||||
},
|
||||
"OPTIONS": {
|
||||
"LANGUAGE": "Nyelv",
|
||||
"RESET_SETTINGS": "Beállítások visszaállítása",
|
||||
"RESET_SETTINGS_DESC": "Ez törli a helyileg mentett adataid",
|
||||
"CUSTOM_WALLPAPER": {
|
||||
"DIALOG_TITLE": "Saját háttér",
|
||||
"DIALOG_CONTENT": "Állíts be saját hátteret a kép URL-jének megadásával",
|
||||
"DIALOG_PLACEHOLDER": "Kép URL",
|
||||
"DIALOG_ERROR": "Hibás kép/fájltípus"
|
||||
}
|
||||
},
|
||||
"MESSAGES": {
|
||||
"INVALID_SETTINGS": "Hibás beállítások, állítsd vissza őket a Beállításokban!",
|
||||
"SETTINGS_RESET": "Beállítások visszaállítva!"
|
||||
}
|
||||
},
|
||||
"RELATIVE_TIME": {
|
||||
"future": "%s múlva",
|
||||
"past": "%s ago",
|
||||
"s": "pár másodperce",
|
||||
"m": "egy perce",
|
||||
"mm": "%d perce",
|
||||
"h": "egy órája",
|
||||
"hh": "%d órája",
|
||||
"d": "egy napja",
|
||||
"dd": "%d napja",
|
||||
"M": "egy hónapja",
|
||||
"MM": "%d hónapja",
|
||||
"y": "egy éve",
|
||||
"yy": "%d éve"
|
||||
},
|
||||
|
||||
"COMING_SOON": "Hamarosan...",
|
||||
"INITIALIZING": "Betöltés",
|
||||
|
||||
"APPS_DIALER": "Telefon",
|
||||
"APPS_CONTACTS": "Névlista",
|
||||
"APPS_MESSAGES": "Üzenetek",
|
||||
"APPS_CALCULATOR": "Számológép",
|
||||
"APPS_SETTINGS": "Beállítások",
|
||||
"APPS_BANK": "WhoDis bank",
|
||||
"APPS_NOTES": "Jegyzetek",
|
||||
"APPS_EXAMPLE": "Péla app",
|
||||
"APPS_TWITTER": "Twitter",
|
||||
"APPS_SELLOUT": "Pia",
|
||||
"APPS_CAMERA": "Kamera",
|
||||
|
||||
"APPS_CAMERA_FAILED_TO_TAKE_PHOTO": "Nem lehet elmenteni a képet :(",
|
||||
|
||||
"APPS_DIALER_INCOMING_CALL_TITLE": "Bejövő hívás",
|
||||
"APPS_DIALER_CURRENT_CALL_TITLE": "Jelenlegi hívás",
|
||||
"APPS_DIALER_CURRENT_CALL_WITH": "Hivásban: {{ transmitter }}",
|
||||
"APPS_DIALER_TRANSMITTER_IS_CALLING": "{{ transmitter }} hív téged!",
|
||||
"APPS_DIALER_ACCEPT_CALL": "Elfogad",
|
||||
"APPS_DIALER_REJECT_CALL": "Elutasít",
|
||||
"APPS_DIALER_END_CALL": "Befejezés",
|
||||
"APPS_DIALER_INPUT_PLACEHOLDER": "Írj be egy számot",
|
||||
"APPS_DIALER_NO_HISTORY": "Nincsenek előző hívások",
|
||||
"APPS_DIALER_NAVBAR_HISTORY": "Előző hívások",
|
||||
"APPS_DIALER_NAVBAR_DIAL": "Tárcsáz",
|
||||
"APPS_DIALER_NAVBAR_CONTACTS": "Kontaktok",
|
||||
|
||||
"APPS_TWITTER_TWEET": "Tweet",
|
||||
"APPS_TWITTER_TWEET_MESSAGE_PLACEHOLDER": "Mi történik?",
|
||||
"APPS_TWITTER_IMAGE_PLACEHOLDER": "Egy link a képhez vagy gifhez",
|
||||
"APPS_TWITTER_SUBMIT_IMAGE": "Média hozzáadása",
|
||||
"APPS_TWITTER_CLOSE_IMAGE": "Bezár",
|
||||
"APPS_TWITTER_CLOSE": "Bezár",
|
||||
"APPS_TWITTER_DELETE": "Törlés",
|
||||
"APPS_TWITTER_REPORT": "Jelentés",
|
||||
"APPS_TWITTER_REPORTED": " Jelentve",
|
||||
"APPS_TWITTER_RETWEETED": "Retweetelve",
|
||||
"APPS_TWITTER_JUST_NOW": "Éppen most",
|
||||
"APPS_TWITTER_SEARCH_TWEETS": "Tweetek keresése",
|
||||
"APPS_TWITTER_SEARCH_TWEETS_PLACEHOLDER": "Keresés üzenet vagy profil alapján",
|
||||
"APPS_TWITTER_TWEET_MESSAGE_CHAR_LIMIT": "Az üzenet meghaladja a maximális hosszúságot",
|
||||
"APPS_TWITTER_TWEET_MESSAGE_NEW_LINE_LIMIT": "Az üzenet meghaladja a maximális új-sorok számát",
|
||||
"APPS_TWITTER_CREATE_SUCCESS": "Sikeres tweet!",
|
||||
"APPS_TWITTER_CREATE_FAILED": "Hiba a tweet megosztásában",
|
||||
"APPS_TWITTER_EDIT_PROFILE_AVATAR": "Profilkép URL",
|
||||
"APPS_TWITTER_EDIT_PROFILE_NAME": "Profil név",
|
||||
"APPS_TWITTER_EDIT_DEFAULT_PROFILE_NAME": "Válaszd ki a profilneved",
|
||||
"APPS_TWITTER_EDIT_PROFILE_BIO": "Rólam",
|
||||
"APPS_TWITTER_EDIT_PROFILE_LOCATION": "Hely",
|
||||
"APPS_TWITTER_EDIT_PROFILE_JOB": "Munka",
|
||||
"APPS_TWITTER_CREATE_PROFILE_SUCCESS": "Profil sikeresen létrehozva",
|
||||
"APPS_TWITTER_CREATE_PROFILE_FAILURE": "Hiba a profil létrehozása közben",
|
||||
"APPS_TWITTER_EDIT_PROFILE_SUCCESS": "Profil sikeresen frissítve",
|
||||
"APPS_TWITTER_EDIT_PROFILE_FAILURE": "Nem sikerült a profil frissítése",
|
||||
"APPS_TWITTER_RETWEET_EXISTS": "Ezt a tweetet már retweetelted!",
|
||||
"APPS_TWITTER_TIME_JUST_NOW": "Éppen most",
|
||||
"APPS_TWITTER_TIME_MINUTES": "p",
|
||||
"APPS_TWITTER_TIME_HOURS": "ó",
|
||||
"APPS_TWITTER_TIME_DAYS": "n",
|
||||
"APPS_TWITTER_NEW_BROADCAST": "Új tweet, tőle: @{{ profile_name }}!",
|
||||
"APPS_TWITTER_NEW_RETWEET_BROADCAST": "@{{ profile_name }} retweetelt valamit!",
|
||||
"APPS_TWITTER_UNREAD_MESSAGES": "Van {{ count }} új tweet a profilodon!",
|
||||
|
||||
"APPS_MATCH": "Párkereső",
|
||||
"APPS_MATCH_LIKED": "Tetszik",
|
||||
"APPS_MATCH_NOPE": "Eh..",
|
||||
"APPS_MATCH_LIKE": "Tetszik",
|
||||
"APPS_MATCH_DISLIKE": "Nem tetszik",
|
||||
"APPS_MATCH_NO_PROFILES": "Nincs profil a közeledben",
|
||||
"APPS_MATCH_NO_MATCHES": "Nincsenek veled párba állt emberek",
|
||||
"APPS_MATCH_PROFILES_ERROR": "Hiba a profilok betöltése közben",
|
||||
"APPS_MATCH_MATCHES_ERROR": "Hiba a párok betöltése közben",
|
||||
"APPS_MATCH_PROFILE_CONFIGURATION": "Hibásan van beállítva az app, kérlek szólj egy adminnak.",
|
||||
"APPS_MATCH_MY_PROFILE_ERROR": "Hiba a profil betöltése közben",
|
||||
"APPS_MATCH_PROFILE_LAST_ACTIVE": "Utoljára elérhető: {{ lastActive }}",
|
||||
"APPS_MATCH_PROFILE_MATCHED_AT": "Párba állt: {{ matchedAt }}",
|
||||
"APPS_MATCH_EDIT_PROFILE_PREVIEW": "Bemutató megnézése",
|
||||
"APPS_MATCH_EDIT_PROFILE_IMAGE": "Kép URL",
|
||||
"APPS_MATCH_EDIT_PROFILE_NAME": "Profil név",
|
||||
"APPS_MATCH_EDIT_PROFILE_BIO": "Bio",
|
||||
"APPS_MATCH_EDIT_PROFILE_LOCATION": "Hely",
|
||||
"APPS_MATCH_EDIT_PROFILE_JOB": "Munka",
|
||||
"APPS_MATCH_EDIT_PROFILE_TAGS": "Tagek",
|
||||
"APPS_MATCH_GET_MY_PROFILE_FAILED": "Nem lehet lekéni a játékos profilját",
|
||||
"APPS_MATCH_GET_PROFILES_FAILED": "Nem lehet lekéni a profilokat",
|
||||
"APPS_MATCH_GET_MATCHES_FAILED": "Nem lehet lekéni a párokat",
|
||||
"APPS_MATCH_UPDATE_PROFILE_SUCCEEDED": "Profil sikeresen frissítve",
|
||||
"APPS_MATCH_UPDATE_PROFILE_FAILED": "Nem sikerült a profil frissítése",
|
||||
"APPS_MATCH_CREATE_PROFILE_FAILED": "Hiba a profil létrehozása közben",
|
||||
"APPS_MATCH_SAVE_LIKES_FAILED": "Hiba a likeok mentése közben",
|
||||
"APPS_MATCH_SAVE_LIKES_SUCCEDED": "Likeok mentve",
|
||||
"APPS_MATCH_NEW_LIKE_FOUND": "Nem található pár!",
|
||||
|
||||
"APPS_BANK_TRANSFER": "Utalás",
|
||||
"APPS_BANK_HOME_TITLE": "Üdvözölljük",
|
||||
"APPS_BANK_ACCOUNT_LINK": "Fiók",
|
||||
"APPS_BANK_TIME_JUST_NOW": "Éppen most",
|
||||
"APPS_BANK_ACCOUNT_TITLE": "Fiókom",
|
||||
"APPS_BANK_ACCOUNT_TRANSACTIONS": "Tranzakciók",
|
||||
"APPS_BANK_ACCOUNT_SEE_TRANSACTION": "Mutasd mind",
|
||||
"APPS_BANK_ACTIONS_TRANSFER": "Átutalás",
|
||||
"APPS_BANK_ALERT_TRANSFER_SUCCESS": "Sikeres átutalás",
|
||||
"APPS_BANK_ALERT_TRANSFER_FAILURE": "Sikertelen átutalás",
|
||||
|
||||
"APPS_MESSAGES_SEARCH_PLACEHOLDER": "Üzenetek keresése...",
|
||||
"APPS_MESSAGES_NEW_MESSAGE": "Üzenet...",
|
||||
"APPS_MESSAGES_NEW_MESSAGE_FAILED:": "Nem lehet elküldeni az üzenetet",
|
||||
"APPS_MESSAGES_NEW_MESSAGE_GROUP": "Telefonszámok...",
|
||||
"APPS_MESSAGES_GROUP_CHAT_LABEL": "Csoportos beszélgetés címe...",
|
||||
"APPS_MESSAGES_NEW_MESSAGE_GROUP_SUBMIT": "Küldés",
|
||||
"APPS_MESSAGES_INVALID_PHONE_NUMBER": "Hibás telefonszám",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_DUPLICATE": "Ez az csoport már létezik",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_CREATE_FAILED": "Hiba a csoport létrehozása közben",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_CREATE_MINE": "Nem tudod hozzáadni saját magad!",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_CREATE_ALL_NUMBERS_FAILED": "Egyik szám sem létezik!",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_CREATE_ONE_NUMBER_FAILED": "A {{ number }} nem egy regisztrált szám",
|
||||
"APPS_MESSAGES_MESSAGE_GROUP_CREATE_SOME_NUMBERS_FAILED": "({{ numbers }}) nem regisztrált számok.",
|
||||
"APPS_MESSAGES_INPUT_NAME_OR_NUMBER": "Kontakot keresése, vagy írj be egy telefonszámot",
|
||||
"APPS_MESSAGES_UNREAD_MESSAGES": "{{ count }} olvasatlan üzeneted van",
|
||||
"APPS_MESSAGES_MEMBERS_TITLE": "Tagok",
|
||||
"APPS_MESSAGES_ME": "Én",
|
||||
|
||||
"APPS_CONTACT_FORM_NAME": "Név",
|
||||
"APPS_CONTACT_FORM_NUMBER": "Szám",
|
||||
"APPS_CONTACT_FORM_AVATAR": "Avatar URL",
|
||||
|
||||
"APPS_CONTACT_ADD_SUCCESS": "Kontakt sikeresen létrehozva",
|
||||
"APPS_CONTACT_ADD_FAILED": "Hiba a kontakt létrehozása közben",
|
||||
"APPS_CONTACT_UPDATE_SUCCESS": "Kontakt frissítve!",
|
||||
"APPS_CONTACT_UPDATE_FAILED": "A kontakt frissítése sikertelen!",
|
||||
"APPS_CONTACT_DELETE_SUCCESS": "Kontakt törölve!",
|
||||
"APPS_CONTACT_DELETE_FAILED": "Nem sikerült a kontakt törlése!",
|
||||
"APPS_CONTACT_PLACEHOLDER_SEARCH_CONTACTS": "Kontaktok keresése",
|
||||
"APPS_CONTACT_MODAL_PLACEHOLDER_NAME": "Név",
|
||||
"APPS_CONTACT_MODAL_PLACEHOLDER_NUMBER": "Szám",
|
||||
"APPS_CONTACT_MODAL_PLACEHOLDER_AVATAR": "Avatar",
|
||||
"APPS_CONTACT_MODAL_BUTTON_ADD": "Kontakt hozzáadása",
|
||||
|
||||
"APPS_NOTES_ADD_SUCCESS": "Jegyzet mentve",
|
||||
"APPS_NOTES_ADD_FAILED": "Hiba a jegyzet mentése közben.",
|
||||
"APPS_NOTES_UPDATE_SUCCESS": "Jegyzet frissítve.",
|
||||
"APPS_NOTES_UPDATE_FAILED": "Hiba a jegyzet frissítése közben.",
|
||||
"APPS_NOTES_DELETE_SUCCESS": "Jegyzet törölve.",
|
||||
"APPS_NOTES_DELETE_FAILED": "Hiba a jegyzet törlése közben.",
|
||||
|
||||
"APPS_CALCULATOR_COPIED": "Másolva a vágólapra!",
|
||||
|
||||
"APPS_SETTINGS_PHONE_NUMBER": "Telefonszám",
|
||||
"APPS_SETTINGS_OPTION_WALLPAPER": "Háttér",
|
||||
"APPS_SETTINGS_OPTIONS_CUSTOM_WALLPAPER": "Saját háttér",
|
||||
"APPS_SETTINGS_OPTION_FRAME": "Keret",
|
||||
"APPS_SETTINGS_OPTION_THEME": "Téma",
|
||||
"APPS_SETTINGS_OPTION_ZOOM": "Nagyítás",
|
||||
"APPS_SETTINGS_OPTION_STREAMER_MODE": "Streamer mód",
|
||||
"APPS_SETTINGS_OPTION_RINGTONE": "Csengőhang",
|
||||
"APPS_SETTINGS_OPTION_RINGTONEVOL": "Csengőhang hangereje",
|
||||
"APPS_SETTINGS_OPTION_NOTIFICATION_FILTER": "Értesítés filter",
|
||||
"APPS_SETTINGS_OPTION_NOTIFICATION": "Értesítés",
|
||||
"APPS_SETTINGS_OPTION_NOTIFICATIONVOL": "Értesítés hangereje",
|
||||
"APPS_SETTING_STREAMER_MODE_DESC": "Képek elrejtése",
|
||||
|
||||
"APPS_MARKETPLACE_CREATE_LISTING_SUCCESS": "Új termék közzétéve",
|
||||
"APPS_MARKETPLACE_CREATE_LISTING_FAILED": "Hiba az új termék közzététele közben",
|
||||
"APPS_MARKETPLACE_DELETE_LISTING_SUCCESS": "Termék törölve",
|
||||
"APPS_MARKETPLACE_DELETE_LISTING_FAILED": "Hiba a termék törlése közben",
|
||||
"APPS_MARKETPLACE_REPORT_LISTING_FAILED": "Ezt a terméket már jelentetted",
|
||||
"APPS_MARKETPLACE_REPORT_LISTING_SUCCESS": "Termék jelentve",
|
||||
"APPS_MARKETPLACE_REQUIRED_FIELDS": "Minden kötelező mezőt ki kell tölteni!",
|
||||
"APPS_MARKETPLACE_FORM_TITLE": "Cím",
|
||||
"APPS_MARKETPLACE_FORM_IMAGE": "Kép vagy URL",
|
||||
"APPS_MARKETPLACE_FORM_DESCRIPTION": "Leírás",
|
||||
|
||||
"GENERIC_CLICK_TO_REVEAL": "Kattints a megtekintéshez",
|
||||
"GENERIC_LOADING": "Töltés...",
|
||||
"GENERIC_WAIT": "Kérlek várj...",
|
||||
"GENERIC_SAVE": "Mentés",
|
||||
"GENERIC_UPDATE": "Frissítés",
|
||||
"GENERIC_REQUIRED": "Kötelező",
|
||||
"GENERIC_DELETE": "Törlés",
|
||||
"GENERIC_REPORT": "Jelentés",
|
||||
"GENERIC_CALL": "Hívás",
|
||||
"GENERIC_MESSAGE": "Üzenet",
|
||||
"GENERIC_CLOSE": "Bezár",
|
||||
"GENERIC_CANCEL": "Mégse",
|
||||
"GENERIC_TITLE": "Cím",
|
||||
"GENERIC_CONTENT": "Tartalom",
|
||||
"GENERIC_WRITE_TO_CLIPBOARD_TOOLTIP": "Másolás: {{ content }}",
|
||||
"GENERIC_WRITE_TO_CLIPBOARD_MESSAGE": "{{content}} másolva a vágólapra!"
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,13 @@
|
||||
"translation": {
|
||||
"DATE_FORMAT": "DD/MM/YYYY",
|
||||
"DATE_TIME_FORMAT": "DD/MM/YYYY hh:mm A",
|
||||
"CALLS": {
|
||||
"MESSAGES": {
|
||||
"RINGING": "Tocando",
|
||||
"OUTGOING": "Enviando chamada",
|
||||
"INCOMING": "Chamada recebida"
|
||||
}
|
||||
},
|
||||
"SETTINGS": {
|
||||
"CATEGORY": {
|
||||
"APPEARANCE": "Aparência",
|
||||
@@ -11,7 +18,13 @@
|
||||
"OPTIONS": {
|
||||
"LANGUAGE": "Idioma",
|
||||
"RESET_SETTINGS": "Redefinir as configurações",
|
||||
"RESET_SETTINGS_DESC": "Isso limpará seus dados armazenados localmente"
|
||||
"RESET_SETTINGS_DESC": "Isso limpará seus dados armazenados localmente",
|
||||
"CUSTOM_WALLPAPER": {
|
||||
"DIALOG_TITLE": "Plano de Fundo customizado",
|
||||
"DIALOG_CONTENT": "Defina um Plano de Fundo customizado inserindo a URL da imagem abaixo!",
|
||||
"DIALOG_PLACEHOLDER": "URL da Imagem",
|
||||
"DIALOG_ERROR": "Imagem ou link inválido"
|
||||
}
|
||||
},
|
||||
"MESSAGES": {
|
||||
"INVALID_SETTINGS": "Configurações armazenadas inválidas! Redefina no aplicativo Configurações.",
|
||||
@@ -49,10 +62,12 @@
|
||||
"APPS_SELLOUT": "Mercado",
|
||||
"APPS_CAMERA": "Camera",
|
||||
|
||||
"APPS_CAMERA_FAILED_TO_TAKE_PHOTO": "Não foi possível salvar a foto :(",
|
||||
|
||||
"APPS_DIALER_INCOMING_CALL_TITLE": "Ligação",
|
||||
"APPS_DIALER_CURRENT_CALL_TITLE": "Chamada atual",
|
||||
"APPS_DIALER_CURRENT_CALL_WITH": "Em ligação com {{ transmitter }}",
|
||||
"APPS_DIALER_TRANSMITTER_IS_CALLING": "{{ transmitter }} Esta te ligando!",
|
||||
"APPS_DIALER_TRANSMITTER_IS_CALLING": "{{ transmitter }} esta te ligando!",
|
||||
"APPS_DIALER_ACCEPT_CALL": "Atender",
|
||||
"APPS_DIALER_REJECT_CALL": "Rejeitar",
|
||||
"APPS_DIALER_END_CALL": "Fim",
|
||||
@@ -180,7 +195,7 @@
|
||||
"APPS_NOTES_DELETE_SUCCESS": "Nota deletada com sucesso.",
|
||||
"APPS_NOTES_DELETE_FAILED": "Falha em deletar nota.",
|
||||
|
||||
"APPS_CALCULATOR_COPIED": "Resultado foi copiado para a área de transferência!",
|
||||
"APPS_CALCULATOR_COPIED": "Resultado copiado para a área de transferência!",
|
||||
|
||||
"APPS_SETTINGS_PHONE_NUMBER": "Número de telefone",
|
||||
"APPS_SETTINGS_OPTION_WALLPAPER": "Papel de parede",
|
||||
@@ -195,7 +210,6 @@
|
||||
"APPS_SETTINGS_OPTION_NOTIFICATION": "Notificação",
|
||||
"APPS_SETTINGS_OPTION_NOTIFICATIONVOL": "Volume das notificações",
|
||||
"APPS_SETTING_STREAMER_MODE_DESC": "Ocultar as imagens antes de serem mostradas",
|
||||
"APPS_SETTINGS_SET_CUSTOM_WALLPAPER": "Definir novo papel de parede",
|
||||
|
||||
"APPS_MARKETPLACE_CREATE_LISTING_SUCCESS": "Lista sendo criada com sucesso",
|
||||
"APPS_MARKETPLACE_CREATE_LISTING_FAILED": "Falha em criar nova lista",
|
||||
@@ -209,6 +223,7 @@
|
||||
"APPS_MARKETPLACE_FORM_DESCRIPTION": "Descrição",
|
||||
|
||||
"GENERIC_CLICK_TO_REVEAL": "Clique para revelar",
|
||||
"GENERIC_LOADING": "Carregando",
|
||||
"GENERIC_WAIT": "Por favor, espere...",
|
||||
"GENERIC_SAVE": "Salvar",
|
||||
"GENERIC_UPDATE": "Atualizar",
|
||||
|
||||
+10
-55
@@ -1233,44 +1233,6 @@
|
||||
minimatch "^3.0.4"
|
||||
strip-json-comments "^3.1.1"
|
||||
|
||||
"@fortawesome/fontawesome-common-types@^0.2.32":
|
||||
version "0.2.32"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.32.tgz#3436795d5684f22742989bfa08f46f50f516f259"
|
||||
integrity sha512-ux2EDjKMpcdHBVLi/eWZynnPxs0BtFVXJkgHIxXRl+9ZFaHPvYamAfCzeeQFqHRjuJtX90wVnMRaMQAAlctz3w==
|
||||
|
||||
"@fortawesome/fontawesome-common-types@^0.2.35":
|
||||
version "0.2.35"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz#01dd3d054da07a00b764d78748df20daf2b317e9"
|
||||
integrity sha512-IHUfxSEDS9dDGqYwIW7wTN6tn/O8E0n5PcAHz9cAaBoZw6UpG20IG/YM3NNLaGPwPqgjBAFjIURzqoQs3rrtuw==
|
||||
|
||||
"@fortawesome/fontawesome-svg-core@^1.2.35":
|
||||
version "1.2.35"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.35.tgz#85aea8c25645fcec88d35f2eb1045c38d3e65cff"
|
||||
integrity sha512-uLEXifXIL7hnh2sNZQrIJWNol7cTVIzwI+4qcBIq9QWaZqUblm0IDrtSqbNg+3SQf8SMGHkiSigD++rHmCHjBg==
|
||||
dependencies:
|
||||
"@fortawesome/fontawesome-common-types" "^0.2.35"
|
||||
|
||||
"@fortawesome/free-brands-svg-icons@^5.15.1":
|
||||
version "5.15.1"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-5.15.1.tgz#1dc0563f4036639e53d24b8e532ea78a53ca2250"
|
||||
integrity sha512-pkTZIWn7iuliCCgV+huDfZmZb2UjslalXGDA2PcqOVUYJmYL11y6ooFiMJkJvUZu+xgAc1gZgQe+Px12mZF0CA==
|
||||
dependencies:
|
||||
"@fortawesome/fontawesome-common-types" "^0.2.32"
|
||||
|
||||
"@fortawesome/free-solid-svg-icons@^5.15.1":
|
||||
version "5.15.1"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.1.tgz#e1432676ddd43108b41197fee9f86d910ad458ef"
|
||||
integrity sha512-EFMuKtzRMNbvjab/SvJBaOOpaqJfdSap/Nl6hst7CgrJxwfORR1drdTV6q1Ib/JVzq4xObdTDcT6sqTaXMqfdg==
|
||||
dependencies:
|
||||
"@fortawesome/fontawesome-common-types" "^0.2.32"
|
||||
|
||||
"@fortawesome/react-fontawesome@^0.1.14":
|
||||
version "0.1.14"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.14.tgz#bf28875c3935b69ce2dc620e1060b217a47f64ca"
|
||||
integrity sha512-4wqNb0gRLVaBm/h+lGe8UfPPivcbuJ6ecI4hIgW0LjI7kzpYB9FkN0L9apbVzg+lsBdcTf0AlBtODjcSX5mmKA==
|
||||
dependencies:
|
||||
prop-types "^15.7.2"
|
||||
|
||||
"@hapi/[email protected]":
|
||||
version "2.1.4"
|
||||
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
|
||||
@@ -5422,12 +5384,10 @@ find-up@^3.0.0:
|
||||
dependencies:
|
||||
locate-path "^3.0.0"
|
||||
|
||||
[email protected].6:
|
||||
version "2.2.6"
|
||||
resolved "https://registry.yarnpkg.com/fivem-nui-react-lib/-/fivem-nui-react-lib-2.2.6.tgz#2ffc01aee5a01aeb444c7c404e3e2b374b9798d7"
|
||||
integrity sha512-h8WJsyP7/VehkmRdfs9/pjGK73LmZSEeWH4kW0Mo9InC0qIulcTfJnnvdp40fIJ6SSCZLjteSQrUN6f+ZUoKdA==
|
||||
dependencies:
|
||||
typescript "^4.1.2"
|
||||
fivem-nui-react-lib@^2.2.8:
|
||||
version "2.2.8"
|
||||
resolved "https://registry.yarnpkg.com/fivem-nui-react-lib/-/fivem-nui-react-lib-2.2.8.tgz#41df54b37cbb61806f44a5d426e4c5ec6387fde9"
|
||||
integrity sha512-8eeCp3J1yS4ymFpRwig72dcIJviF+63ug1j4GBZXBzo1QmKyDjRCR36HwBhl2YKYgYyC4sJbTSeT+k6T61F3Fg==
|
||||
|
||||
flat-cache@^3.0.4:
|
||||
version "3.0.4"
|
||||
@@ -5943,9 +5903,9 @@ hoopy@^0.1.4:
|
||||
integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==
|
||||
|
||||
hosted-git-info@^2.1.4:
|
||||
version "2.8.8"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"
|
||||
integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==
|
||||
version "2.8.9"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
||||
integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
|
||||
|
||||
howler@^2.2.1:
|
||||
version "2.2.1"
|
||||
@@ -10918,9 +10878,9 @@ sshpk@^1.7.0:
|
||||
tweetnacl "~0.14.0"
|
||||
|
||||
ssri@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8"
|
||||
integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==
|
||||
version "6.0.2"
|
||||
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5"
|
||||
integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==
|
||||
dependencies:
|
||||
figgy-pudding "^3.5.1"
|
||||
|
||||
@@ -11604,11 +11564,6 @@ [email protected]:
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
|
||||
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
|
||||
|
||||
typescript@^4.1.2:
|
||||
version "4.2.3"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3"
|
||||
integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==
|
||||
|
||||
unbox-primitive@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.0.tgz#eeacbc4affa28e9b3d36b5eaeccc50b3251b1d3f"
|
||||
|
||||
Reference in new issue
Block a user