mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 09:07:28 +03:00
Conflict
This commit is contained in:
commit
e1a1927fc1
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
@ -1,10 +0,0 @@
|
||||
{
|
||||
"prettier.eslintIntegration": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.snippetSuggestions": "top",
|
||||
"explorer.confirmDelete": false,
|
||||
"window.zoomLevel": 0,
|
||||
"prettier.printWidth": 100,
|
||||
"prettier.singleQuote": true,
|
||||
"prettier.trailingComma": "all"
|
||||
}
|
@ -34,7 +34,7 @@
|
||||
"crypto-js": "^3.1.9-1",
|
||||
"currency-symbol-map": "^4.0.4",
|
||||
"diff-match-patch": "^1.0.4",
|
||||
"dsteem": "^0.10.1",
|
||||
"dsteem": "^0.11.2",
|
||||
"intl": "^1.2.5",
|
||||
"jsc-android": "^236355.1.1",
|
||||
"moment": "^2.22.2",
|
||||
@ -44,6 +44,7 @@
|
||||
"react-native-actionsheet": "^2.4.2",
|
||||
"react-native-code-push": "^5.5.2",
|
||||
"react-native-config": "^0.11.5",
|
||||
"react-native-datepicker": "^1.7.2",
|
||||
"react-native-extended-stylesheet": "^0.10.0",
|
||||
"react-native-fast-image": "^4.0.14",
|
||||
"react-native-html-renderer": "^1.0.0",
|
||||
|
@ -49,6 +49,9 @@ export default EStyleSheet.create({
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
},
|
||||
scheduleIcon: {
|
||||
color: '$iconColor',
|
||||
},
|
||||
textButton: {
|
||||
fontSize: 16,
|
||||
},
|
||||
|
@ -3,16 +3,20 @@ import {
|
||||
View, Text, ActivityIndicator, SafeAreaView,
|
||||
} from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import DatePicker from 'react-native-datepicker';
|
||||
import moment from 'moment';
|
||||
|
||||
// Components
|
||||
import { TextButton } from '../..';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { DropdownButton } from '../../dropdownButton';
|
||||
import { TextInput } from '../../textInput';
|
||||
import { Icon } from '../../icon';
|
||||
|
||||
// Constants
|
||||
// Styles
|
||||
import styles from './basicHeaderStyles';
|
||||
import datePickerStyles from './datePickerStyles';
|
||||
|
||||
class BasicHeaderView extends Component {
|
||||
/* Props
|
||||
@ -25,6 +29,7 @@ class BasicHeaderView extends Component {
|
||||
super(props);
|
||||
this.state = {
|
||||
isInputVisible: false,
|
||||
datePickerValue: '',
|
||||
};
|
||||
}
|
||||
|
||||
@ -56,6 +61,16 @@ class BasicHeaderView extends Component {
|
||||
|
||||
_handleOnInputChange = () => {};
|
||||
|
||||
_handleDatePickerChange = (datePickerValue) => {
|
||||
const { handleDatePickerChange } = this.props;
|
||||
|
||||
this.setState({ datePickerValue });
|
||||
|
||||
if (handleDatePickerChange) {
|
||||
handleDatePickerChange(datePickerValue);
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
dropdownComponent,
|
||||
@ -81,7 +96,7 @@ class BasicHeaderView extends Component {
|
||||
rightIconName,
|
||||
title,
|
||||
} = this.props;
|
||||
const { isInputVisible } = this.state;
|
||||
const { isInputVisible, datePickerValue } = this.state;
|
||||
return (
|
||||
<SafeAreaView style={styles.safeArea}>
|
||||
<View style={styles.container}>
|
||||
@ -173,13 +188,35 @@ class BasicHeaderView extends Component {
|
||||
|
||||
{isHasIcons && (
|
||||
<Fragment>
|
||||
{/* <IconButton
|
||||
style={styles.iconButton}
|
||||
iconStyle={styles.rightIcon}
|
||||
size={20}
|
||||
iconType="MaterialIcons"
|
||||
name="timer"
|
||||
/> */}
|
||||
{!isReply
|
||||
&& (
|
||||
<DatePicker
|
||||
style={{ width: 50 }}
|
||||
date={datePickerValue}
|
||||
mode="date"
|
||||
format="YYYY-MM-DD"
|
||||
minDate={moment()}
|
||||
maxDate="3000-06-01"
|
||||
confirmBtnText="Confirm"
|
||||
cancelBtnText="Cancel"
|
||||
onDateChange={(_datePickerValue) => { this._handleDatePickerChange(_datePickerValue); }}
|
||||
hideText
|
||||
disabled={!isFormValid}
|
||||
onPressDate
|
||||
customStyles={{
|
||||
...datePickerStyles,
|
||||
}}
|
||||
iconComponent={(
|
||||
<Icon
|
||||
style={{ ...styles.iconButton, ...styles.scheduleIcon }}
|
||||
size={20}
|
||||
iconType="MaterialIcons"
|
||||
name="timer"
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
<IconButton
|
||||
style={styles.iconButton}
|
||||
size={25}
|
||||
|
31
src/components/basicHeader/view/datePickerStyles.js
Normal file
31
src/components/basicHeader/view/datePickerStyles.js
Normal file
@ -0,0 +1,31 @@
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
btnConfirm: {
|
||||
color: '$iconColor',
|
||||
},
|
||||
btnTextCancel: {
|
||||
color: '$iconColor',
|
||||
},
|
||||
datePicker: {
|
||||
marginTop: 42,
|
||||
borderTopColor: '$borderColor',
|
||||
borderTopWidth: 1,
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
},
|
||||
dateText: {
|
||||
color: '$primaryDarkText',
|
||||
},
|
||||
btnText: {
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
height: 42,
|
||||
paddingHorizontal: 20,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
datePickerCon: {
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
},
|
||||
});
|
@ -1,4 +1,4 @@
|
||||
import Card from './view/card/cardView';
|
||||
import { Card } from './view/card/cardView';
|
||||
import Chip from './view/chip/chipView';
|
||||
import GrayWrapper from './view/grayWrapper/grayWrapperView';
|
||||
import LineBreak from './view/lineBreak/lineBreakView';
|
||||
|
@ -2,6 +2,4 @@ import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import styles from './cardStyles';
|
||||
|
||||
const Card = ({ children }) => <View style={styles.wrapper}>{children}</View>;
|
||||
|
||||
export default Card;
|
||||
export const Card = ({ children }) => <View style={styles.wrapper}>{children}</View>;
|
||||
|
@ -1,14 +1,15 @@
|
||||
import React from 'react';
|
||||
import { View, Text, Picker } from 'react-native';
|
||||
import GrayWrapper from '../grayWrapper/grayWrapperView';
|
||||
import { View, Text } from 'react-native';
|
||||
|
||||
// Components
|
||||
import GrayWrapper from '../grayWrapper/grayWrapperView';
|
||||
import { Icon } from '../../../icon';
|
||||
import { DropdownButton } from '../../../dropdownButton';
|
||||
|
||||
// Styles
|
||||
import styles from './walletLineItemStyles';
|
||||
|
||||
const WalletLineItem = ({
|
||||
circleIconColor,
|
||||
description,
|
||||
fitContent,
|
||||
iconName,
|
||||
@ -35,7 +36,7 @@ const WalletLineItem = ({
|
||||
style={[
|
||||
styles.iconWrapper,
|
||||
isCircleIcon && styles.circleIcon,
|
||||
circleIconColor && { backgroundColor: circleIconColor },
|
||||
index && { backgroundColor: `${index && index % 2 !== 0 ? 'white' : '#f5f5f5'}` },
|
||||
]}
|
||||
>
|
||||
<Icon style={styles.icon} name={iconName} iconType={iconType} />
|
||||
|
@ -1,5 +1,7 @@
|
||||
import React, { PureComponent, Fragment } from 'react';
|
||||
import { View, Text } from 'react-native';
|
||||
import ActionSheet from 'react-native-actionsheet';
|
||||
import { injectIntl } from 'react-intl';
|
||||
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
// Constants
|
||||
@ -44,6 +46,7 @@ class CommentView extends PureComponent {
|
||||
commentNumber,
|
||||
currentAccountUsername,
|
||||
fetchPost,
|
||||
handleDeleteComment,
|
||||
handleOnEditPress,
|
||||
handleOnReplyPress,
|
||||
handleOnUserPress,
|
||||
@ -52,6 +55,7 @@ class CommentView extends PureComponent {
|
||||
isShowMoreButton,
|
||||
marginLeft,
|
||||
voteCount,
|
||||
intl,
|
||||
} = this.props;
|
||||
const { isShowSubComments, isPressedShowButton } = this.state;
|
||||
|
||||
@ -63,6 +67,7 @@ class CommentView extends PureComponent {
|
||||
name={comment.author}
|
||||
reputation={comment.author_reputation}
|
||||
size={avatarSize || 24}
|
||||
isShowOwnerIndicator={currentAccountUsername === comment.author}
|
||||
/>
|
||||
<View style={[{ marginLeft: marginLeft || 29 }, styles.bodyWrapper]}>
|
||||
<PostBody isComment handleOnUserPress={handleOnUserPress} body={comment.body} />
|
||||
@ -86,14 +91,38 @@ class CommentView extends PureComponent {
|
||||
iconType="MaterialIcons"
|
||||
/>
|
||||
{currentAccountUsername === comment.author && (
|
||||
<IconButton
|
||||
size={18}
|
||||
iconStyle={styles.leftIcon}
|
||||
style={styles.leftButton}
|
||||
name="create"
|
||||
onPress={() => handleOnEditPress && handleOnEditPress(comment)}
|
||||
iconType="MaterialIcons"
|
||||
/>
|
||||
<Fragment>
|
||||
<IconButton
|
||||
size={18}
|
||||
iconStyle={styles.leftIcon}
|
||||
style={styles.leftButton}
|
||||
name="create"
|
||||
onPress={() => handleOnEditPress && handleOnEditPress(comment)}
|
||||
iconType="MaterialIcons"
|
||||
/>
|
||||
{!comment.children && !voteCount && (
|
||||
<Fragment>
|
||||
<IconButton
|
||||
size={18}
|
||||
iconStyle={styles.leftIcon}
|
||||
style={styles.leftButton}
|
||||
name="delete-forever"
|
||||
onPress={() => this.ActionSheet.show()}
|
||||
iconType="MaterialIcons"
|
||||
/>
|
||||
<ActionSheet
|
||||
ref={o => (this.ActionSheet = o)}
|
||||
options={['Reblog', intl.formatMessage({ id: 'alert.cancel' })]}
|
||||
title={intl.formatMessage({ id: 'alert.delete' })}
|
||||
destructiveButtonIndex={0}
|
||||
cancelButtonIndex={1}
|
||||
onPress={(index) => {
|
||||
index === 0 ? handleDeleteComment(comment.permlink) : null;
|
||||
}}
|
||||
/>
|
||||
</Fragment>
|
||||
)}
|
||||
</Fragment>
|
||||
)}
|
||||
</Fragment>
|
||||
)}
|
||||
@ -133,4 +162,4 @@ class CommentView extends PureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
export default CommentView;
|
||||
export default injectIntl(CommentView);
|
||||
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
||||
import { withNavigation } from 'react-navigation';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { getComments } from '../../../providers/steem/dsteem';
|
||||
import { getComments, deleteComment } from '../../../providers/steem/dsteem';
|
||||
|
||||
// Services and Actions
|
||||
|
||||
@ -154,6 +154,14 @@ class CommentsContainer extends Component {
|
||||
});
|
||||
};
|
||||
|
||||
_handleDeleteComment = (permlink) => {
|
||||
const { currentAccount, pinCode } = this.props;
|
||||
|
||||
deleteComment(currentAccount, pinCode, permlink).then(() => {
|
||||
this._getComments();
|
||||
});
|
||||
}
|
||||
|
||||
render() {
|
||||
const { comments: _comments, selectedPermlink } = this.state;
|
||||
const {
|
||||
@ -184,6 +192,7 @@ class CommentsContainer extends Component {
|
||||
handleOnReplyPress={this._handleOnReplyPress}
|
||||
isLoggedIn={isLoggedIn}
|
||||
fetchPost={fetchPost}
|
||||
handleDeleteComment={this._handleDeleteComment}
|
||||
{...this.props}
|
||||
/>
|
||||
);
|
||||
@ -193,6 +202,7 @@ class CommentsContainer extends Component {
|
||||
const mapStateToProps = state => ({
|
||||
isLoggedIn: state.application.isLoggedIn,
|
||||
currentAccount: state.account.currentAccount,
|
||||
pinCode: state.account.pin,
|
||||
});
|
||||
|
||||
export default withNavigation(connect(mapStateToProps)(CommentsContainer));
|
||||
|
@ -38,6 +38,7 @@ class CommentsView extends PureComponent {
|
||||
isLoggedIn,
|
||||
isShowSubComments,
|
||||
marginLeft,
|
||||
handleDeleteComment,
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@ -50,6 +51,7 @@ class CommentsView extends PureComponent {
|
||||
comment={item}
|
||||
commentCount={commentCount || item.children}
|
||||
commentNumber={commentNumber}
|
||||
handleDeleteComment={handleDeleteComment}
|
||||
currentAccountUsername={currentAccountUsername}
|
||||
fetchPost={fetchPost}
|
||||
handleOnEditPress={handleOnEditPress}
|
||||
|
@ -61,14 +61,18 @@ class IconView extends PureComponent {
|
||||
}
|
||||
};
|
||||
|
||||
_getIconWithBadge = badgeCount => (
|
||||
<Fragment>
|
||||
<View style={styles.badgeWrapper}>
|
||||
<Text style={styles.badge}>{badgeCount}</Text>
|
||||
</View>
|
||||
{this._getIcon()}
|
||||
</Fragment>
|
||||
);
|
||||
_getIconWithBadge = (badgeCount) => {
|
||||
const { badgeStyle, badgeTextStyle } = this.props;
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<View style={[badgeStyle || styles.badgeWrapper]}>
|
||||
<Text style={[badgeTextStyle || styles.badge]}>{badgeCount}</Text>
|
||||
</View>
|
||||
{this._getIcon()}
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
const { badgeCount } = this.props;
|
||||
|
@ -10,15 +10,18 @@ import styles from './iconButtonStyles';
|
||||
*/
|
||||
|
||||
const IconButton = ({
|
||||
name,
|
||||
color,
|
||||
size,
|
||||
onPress,
|
||||
backgroundColor,
|
||||
style,
|
||||
badgeCount,
|
||||
badgeTextStyle,
|
||||
badgeStyle,
|
||||
color,
|
||||
disabled,
|
||||
iconStyle,
|
||||
iconType,
|
||||
disabled,
|
||||
name,
|
||||
onPress,
|
||||
size,
|
||||
style,
|
||||
}) => (
|
||||
<Fragment>
|
||||
<TouchableHighlight
|
||||
@ -34,9 +37,12 @@ const IconButton = ({
|
||||
styles.icon,
|
||||
iconStyle && iconStyle,
|
||||
]}
|
||||
badgeTextStyle={badgeTextStyle}
|
||||
name={name}
|
||||
badgeStyle={badgeStyle}
|
||||
size={size}
|
||||
iconType={iconType}
|
||||
badgeCount={badgeCount}
|
||||
/>
|
||||
</TouchableHighlight>
|
||||
</Fragment>
|
||||
|
117
src/components/points/container/pointsContainer.js
Normal file
117
src/components/points/container/pointsContainer.js
Normal file
@ -0,0 +1,117 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Alert } from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
// Services and Actions
|
||||
import { getUser, getUserPoints, claim } from '../../../providers/esteem/ePoint';
|
||||
|
||||
// Constant
|
||||
import POINTS from '../../../constants/options/points';
|
||||
// Component
|
||||
import PointsView from '../view/pointsView';
|
||||
|
||||
/*
|
||||
* Props Name Description Value
|
||||
*@props --> props name here description here Value Type Here
|
||||
*
|
||||
*/
|
||||
|
||||
class PointsContainer extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
userPoints: {},
|
||||
userActivities: {},
|
||||
refreshing: false,
|
||||
isClaiming: false,
|
||||
};
|
||||
}
|
||||
|
||||
// Component Life Cycle Functions
|
||||
componentDidMount() {
|
||||
this._fetchuserPointActivities();
|
||||
|
||||
this.fetchInterval = setInterval(this._fetchuserPointActivities, 360000);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
clearInterval(this.fetchInterval);
|
||||
}
|
||||
|
||||
// Component Functions
|
||||
|
||||
_groomUserActivities = userActivities => userActivities.map(item => ({
|
||||
...item,
|
||||
icon: POINTS[item.type].icon,
|
||||
iconType: POINTS[item.type].iconType,
|
||||
textKey: POINTS[item.type].textKey,
|
||||
}));
|
||||
|
||||
_fetchuserPointActivities = async () => {
|
||||
const { username } = this.props;
|
||||
|
||||
this.setState({ refreshing: true });
|
||||
|
||||
await getUser(username)
|
||||
.then((userPoints) => {
|
||||
this.setState({ userPoints });
|
||||
})
|
||||
.catch((err) => {
|
||||
Alert.alert(err);
|
||||
});
|
||||
|
||||
await getUserPoints(username)
|
||||
.then((userActivities) => {
|
||||
if (Object.entries(userActivities).length !== 0) {
|
||||
this.setState({
|
||||
userActivities: this._groomUserActivities(userActivities),
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
Alert.alert(err);
|
||||
});
|
||||
|
||||
this.setState({ refreshing: false });
|
||||
};
|
||||
|
||||
_claimPoints = async () => {
|
||||
const { username } = this.props;
|
||||
this.setState({ isClaiming: true });
|
||||
|
||||
await claim(username)
|
||||
.then(() => {
|
||||
this._fetchuserPointActivities();
|
||||
})
|
||||
.catch((err) => {
|
||||
Alert.alert(err);
|
||||
});
|
||||
|
||||
this.setState({ isClaiming: false });
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
userPoints, userActivities, isDarkTheme, refreshing, isClaiming,
|
||||
} = this.state;
|
||||
|
||||
return (
|
||||
<PointsView
|
||||
userPoints={userPoints}
|
||||
userActivities={userActivities}
|
||||
isDarkTheme={isDarkTheme}
|
||||
fetchUserActivity={this._fetchuserPointActivities}
|
||||
refreshing={refreshing}
|
||||
isClaiming={isClaiming}
|
||||
claimPoints={this._claimPoints}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
username: state.account.currentAccount.name,
|
||||
isDarkTheme: state.application.isDarkTheme,
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(PointsContainer);
|
3
src/components/points/index.js
Normal file
3
src/components/points/index.js
Normal file
@ -0,0 +1,3 @@
|
||||
import Points from './container/pointsContainer';
|
||||
|
||||
export { Points };
|
93
src/components/points/view/pointsStyles.js
Normal file
93
src/components/points/view/pointsStyles.js
Normal file
@ -0,0 +1,93 @@
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
pointText: {
|
||||
color: '$primaryBlue',
|
||||
fontSize: 24,
|
||||
marginTop: 24,
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
fontWeight: 'bold',
|
||||
},
|
||||
subText: {
|
||||
color: '$tagColor',
|
||||
fontSize: 8,
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
marginTop: 5,
|
||||
},
|
||||
iconsWrapper: {
|
||||
marginVertical: 32,
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
flexDirection: 'row',
|
||||
},
|
||||
iconWrapper: {
|
||||
marginHorizontal: 16,
|
||||
width: 36,
|
||||
height: 36,
|
||||
borderRadius: 36 / 2,
|
||||
backgroundColor: '$primaryGrayBackground',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
},
|
||||
activeIconWrapper: {
|
||||
backgroundColor: '$primaryBlue',
|
||||
},
|
||||
activeIcon: {
|
||||
color: '$white',
|
||||
},
|
||||
icon: {
|
||||
fontSize: 24,
|
||||
color: '$primaryDarkText',
|
||||
},
|
||||
badge: {
|
||||
position: 'absolute',
|
||||
right: -7,
|
||||
top: 20,
|
||||
backgroundColor: '$primaryBlue',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
zIndex: 99,
|
||||
padding: 2,
|
||||
height: 12,
|
||||
minWidth: 18,
|
||||
borderRadius: 12 / 2,
|
||||
|
||||
},
|
||||
badgeText: {
|
||||
fontSize: 8,
|
||||
color: '$white',
|
||||
fontWeight: '600',
|
||||
},
|
||||
activeBadge: {
|
||||
backgroundColor: '$black',
|
||||
},
|
||||
listWrapper: {
|
||||
marginHorizontal: 8,
|
||||
},
|
||||
mainButton: {
|
||||
marginVertical: 8,
|
||||
alignSelf: 'center',
|
||||
paddingHorizontal: 24,
|
||||
},
|
||||
mainButtonWrapper: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
unclaimedText: {
|
||||
color: '$primaryBackgroundColor',
|
||||
fontSize: 14,
|
||||
fontWeight: 'bold',
|
||||
alignSelf: 'center',
|
||||
},
|
||||
mainIconWrapper: {
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
alignItems: 'center',
|
||||
borderRadius: 20,
|
||||
marginLeft: 20,
|
||||
width: 24,
|
||||
height: 24,
|
||||
},
|
||||
});
|
150
src/components/points/view/pointsView.js
Normal file
150
src/components/points/view/pointsView.js
Normal file
@ -0,0 +1,150 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import {
|
||||
Text, View, FlatList, ScrollView, RefreshControl,
|
||||
} from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
|
||||
// Components
|
||||
import { LineBreak, WalletLineItem } from '../../basicUIElements';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { Icon } from '../../icon';
|
||||
import { MainButton } from '../../mainButton';
|
||||
|
||||
// Utils
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
|
||||
// Styles
|
||||
import styles from './pointsStyles';
|
||||
|
||||
class PointsView extends Component {
|
||||
/* Props
|
||||
* ------------------------------------------------
|
||||
* @prop { type } name - Description....
|
||||
*/
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {};
|
||||
}
|
||||
|
||||
// Component Life Cycles
|
||||
|
||||
// Component Functions
|
||||
|
||||
refreshControl = () => {
|
||||
const { fetchUserActivity, refreshing, isDarkTheme } = this.props;
|
||||
|
||||
return (
|
||||
<RefreshControl
|
||||
refreshing={refreshing}
|
||||
onRefresh={fetchUserActivity}
|
||||
progressBackgroundColor="#357CE6"
|
||||
tintColor={!isDarkTheme ? '#357ce6' : '#96c0ff'}
|
||||
titleColor="#fff"
|
||||
colors={['#fff']}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
userActivities, userPoints, intl, isClaiming, claimPoints,
|
||||
} = this.props;
|
||||
const isActiveIcon = true;
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<LineBreak height={12} />
|
||||
<ScrollView
|
||||
refreshControl={this.refreshControl()}
|
||||
>
|
||||
<Text style={styles.pointText}>{userPoints.points}</Text>
|
||||
<Text style={styles.subText}>eSteem Points</Text>
|
||||
|
||||
{userPoints.unclaimed_points > 0
|
||||
&& (
|
||||
<MainButton
|
||||
isLoading={isClaiming}
|
||||
isDisable={isClaiming}
|
||||
style={styles.mainButton}
|
||||
height={50}
|
||||
onPress={() => claimPoints()}
|
||||
>
|
||||
<View style={styles.mainButtonWrapper}>
|
||||
<Text style={styles.unclaimedText}>{userPoints.unclaimed_points}</Text>
|
||||
<View style={styles.mainIconWrapper}>
|
||||
<Icon name="add" iconType="MaterialIcons" color="#357ce6" size={23} />
|
||||
</View>
|
||||
</View>
|
||||
</MainButton>
|
||||
)
|
||||
}
|
||||
|
||||
<View style={styles.iconsWrapper}>
|
||||
<View styles={styles.iconWrapper}>
|
||||
<View style={styles.iconWrapper}>
|
||||
<IconButton
|
||||
iconStyle={styles.icon}
|
||||
iconType="MaterialCommunityIcons"
|
||||
name="pencil"
|
||||
badgeCount={50}
|
||||
badgeStyle={styles.badge}
|
||||
badgeTextStyle={styles.badgeText}
|
||||
/>
|
||||
</View>
|
||||
<Text style={styles.subText}>{intl.formatMessage({ id: 'points.post' })}</Text>
|
||||
</View>
|
||||
<View styles={styles.iconWrapper}>
|
||||
<View style={styles.iconWrapper}>
|
||||
<IconButton
|
||||
iconStyle={styles.icon}
|
||||
iconType="MaterialIcons"
|
||||
name="comment"
|
||||
badgeCount={15}
|
||||
badgeStyle={styles.badge}
|
||||
badgeTextStyle={styles.badgeText}
|
||||
/>
|
||||
</View>
|
||||
<Text style={styles.subText}>{intl.formatMessage({ id: 'points.comment' })}</Text>
|
||||
</View>
|
||||
<View styles={styles.iconWrapper}>
|
||||
<View style={[styles.iconWrapper, isActiveIcon && styles.activeIconWrapper]}>
|
||||
<IconButton
|
||||
iconStyle={[styles.icon, isActiveIcon && styles.activeIcon]}
|
||||
iconType="MaterialCommunityIcons"
|
||||
name="clock-outline"
|
||||
badgeCount={50}
|
||||
badgeStyle={[styles.badge, isActiveIcon && styles.activeBadge]}
|
||||
badgeTextStyle={styles.badgeText}
|
||||
/>
|
||||
</View>
|
||||
<Text style={styles.subText}>{intl.formatMessage({ id: 'points.checkin' })}</Text>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
<View style={styles.listWrapper}>
|
||||
<FlatList
|
||||
data={userActivities}
|
||||
renderItem={({ item, index }) => (
|
||||
<WalletLineItem
|
||||
key={item.id.toString()}
|
||||
index={index + 1}
|
||||
text={intl.formatMessage({ id: item.textKey })}
|
||||
description={getTimeFromNow(item.created)}
|
||||
isCircleIcon
|
||||
isThin
|
||||
isBlackText
|
||||
iconName={item.icon}
|
||||
iconType={item.iconType}
|
||||
rightText={`${item.amount} ESTEEM`}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
</View>
|
||||
</ScrollView>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default injectIntl(PointsView);
|
@ -32,7 +32,7 @@ class PostHeaderDescription extends PureComponent {
|
||||
}
|
||||
|
||||
// Component Functions
|
||||
_handleOnUserPress = (username) => {
|
||||
_handleOnUserPress = username => {
|
||||
const { navigation, profileOnPress, reputation } = this.props;
|
||||
|
||||
if (profileOnPress) {
|
||||
@ -51,7 +51,14 @@ class PostHeaderDescription extends PureComponent {
|
||||
|
||||
render() {
|
||||
const {
|
||||
date, isHideImage, name, reputation, size, tag, tagOnPress,
|
||||
date,
|
||||
isHideImage,
|
||||
name,
|
||||
reputation,
|
||||
size,
|
||||
tag,
|
||||
tagOnPress,
|
||||
isShowOwnerIndicator,
|
||||
} = this.props;
|
||||
const { reblogedBy } = this.state;
|
||||
|
||||
@ -81,13 +88,12 @@ class PostHeaderDescription extends PureComponent {
|
||||
</TouchableOpacity>
|
||||
)}
|
||||
<Text style={styles.date}>{date}</Text>
|
||||
{isShowOwnerIndicator && (
|
||||
<Icon style={styles.ownerIndicator} name="stars" iconType="MaterialIcons" />
|
||||
)}
|
||||
{!!reblogedBy && (
|
||||
// <TextWithIcon text={reblogedBy} iconType="MaterialIcons" iconName="repeat" />
|
||||
<Icon
|
||||
style={styles.reblogedIcon}
|
||||
name="repeat"
|
||||
iconType="MaterialIcons"
|
||||
/>
|
||||
<Icon style={styles.reblogedIcon} name="repeat" iconType="MaterialIcons" />
|
||||
)}
|
||||
</View>
|
||||
);
|
||||
|
@ -37,4 +37,9 @@ export default EStyleSheet.create({
|
||||
marginLeft: 10,
|
||||
alignSelf: 'center',
|
||||
},
|
||||
ownerIndicator: {
|
||||
color: '$primaryBlue',
|
||||
alignSelf: 'center',
|
||||
marginLeft: 8,
|
||||
},
|
||||
});
|
||||
|
@ -45,6 +45,7 @@ class PostListItemView extends Component {
|
||||
handleOnRemoveItem,
|
||||
id,
|
||||
intl,
|
||||
isFormatedDate,
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@ -53,7 +54,7 @@ class PostListItemView extends Component {
|
||||
<View style={styles.header}>
|
||||
<PostHeaderDescription
|
||||
// date={intl.formatRelative(created)}
|
||||
date={getTimeFromNow(created, true)}
|
||||
date={isFormatedDate ? created : getTimeFromNow(created, true)}
|
||||
name={username}
|
||||
reputation={reputation}
|
||||
size={32}
|
||||
|
@ -4,8 +4,6 @@ import { View } from 'react-native';
|
||||
|
||||
// Utilities
|
||||
import { groomingTransactionData } from '../../../utils/wallet';
|
||||
|
||||
// Utils
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
|
||||
// Components
|
||||
@ -60,10 +58,10 @@ class TransactionView extends PureComponent {
|
||||
<CollapsibleCard
|
||||
noBorder
|
||||
noContainer
|
||||
key={index.toString()}
|
||||
key={transactionData.transDate.toString()}
|
||||
titleComponent={(
|
||||
<WalletLineItem
|
||||
key={index.toString()}
|
||||
key={transactionData.transDate.toString()}
|
||||
index={index}
|
||||
text={intl.formatMessage({
|
||||
id: `wallet.${transactionData.opName}`,
|
||||
|
@ -19,7 +19,7 @@
|
||||
"unfollow": "piyôh ikut dröen",
|
||||
"ignore": "hanapeureumeun dröen",
|
||||
"reblog": "postingan dröen ka di reblog",
|
||||
"transfer": "transfered steem",
|
||||
"transfer": "steem kalhëuh meukirèm",
|
||||
"comingsoon": "Papeun ranking akan seugeura lheuh!",
|
||||
"notification": "Bithé",
|
||||
"leaderboard": "Papeun Rangking",
|
||||
@ -58,30 +58,30 @@
|
||||
},
|
||||
"settings": {
|
||||
"settings": "Peungaturan",
|
||||
"general": "General",
|
||||
"general": "Umum",
|
||||
"currency": "Mata péng",
|
||||
"language": "Basa",
|
||||
"server": "Server",
|
||||
"dark_theme": "Layeu Supôet",
|
||||
"push_notification": "Teugön Haba",
|
||||
"notification": {
|
||||
"follow": "Follow",
|
||||
"vote": "Vote",
|
||||
"comment": "Comment",
|
||||
"mention": "Mention",
|
||||
"follow": "Iköt",
|
||||
"vote": "Pilèh",
|
||||
"comment": "Komentar",
|
||||
"mention": "Seuböt",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"transfers": "Kirèm"
|
||||
},
|
||||
"pincode": "Kode PIN",
|
||||
"reset": "Atôe ulang",
|
||||
"nsfw_content": "NSFW Content",
|
||||
"nsfw_content": "Konten urëung chik",
|
||||
"send_feedback": "Send Feedback",
|
||||
"send": "Send",
|
||||
"send": "Kirèm",
|
||||
"default_footer": "Default Footer",
|
||||
"nsfw": {
|
||||
"always_show": "Always show",
|
||||
"always_hide": "Always hide",
|
||||
"always_warn": "Always warn"
|
||||
"always_hide": "Söm Sabè",
|
||||
"always_warn": "Sabë pëuingat"
|
||||
},
|
||||
"feedback_success": "Email successfully open",
|
||||
"feedback_fail": "Email client could not open"
|
||||
@ -150,7 +150,10 @@
|
||||
"allRead": "Tanda mandum haba nyang kalhëuh baca",
|
||||
"claim_reward_balance_ok": "Gaji kalhëuh klèm",
|
||||
"fail": "Gagai!",
|
||||
"move": "Pinah",
|
||||
"move_question": "Peu neuyakin neuk pinah lam draft?",
|
||||
"success_shared": "Tulisan droen kalhëuh dibagi",
|
||||
"success_moved": "Klaheuh na lam draft",
|
||||
"permission_denied": "Hana izin",
|
||||
"permission_text": "Tulông kaloen bak aturan telepon dan gantoe izin app eSteem.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
@ -159,7 +162,7 @@
|
||||
"invalid_pincode": "Salah pin, cie neu test loëm.",
|
||||
"remove_alert": "Peu yakin neuk sampóh?",
|
||||
"clear_alert": "Peu yakin neuk sampöh?",
|
||||
"clear_user_alert": "Are you sure you want to clear all user data?",
|
||||
"clear_user_alert": "Pëu yakin nëuk sampöh mandum data pöe?",
|
||||
"clear": "Sampöh",
|
||||
"cancel": "Batai",
|
||||
"delete": "Sampóh",
|
||||
@ -223,13 +226,13 @@
|
||||
"no_existing_post": "Hana haba sapeu"
|
||||
},
|
||||
"search": {
|
||||
"posts": "Posts",
|
||||
"comments": "Comments"
|
||||
"posts": "Post",
|
||||
"comments": "Komentar-komentar"
|
||||
},
|
||||
"comment_filter": {
|
||||
"trending": "trending",
|
||||
"reputation": "reputation",
|
||||
"votes": "votes",
|
||||
"age": "age"
|
||||
"trending": "mëucuhu",
|
||||
"reputation": "reputasi",
|
||||
"votes": "pilèh-pilèh",
|
||||
"age": "umuë"
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "وضع جميع الإشعارات كأنها مقروءة",
|
||||
"claim_reward_balance_ok": "تم سحب المكافآت",
|
||||
"fail": "فشل!",
|
||||
"move": "نقل",
|
||||
"move_question": "هل أنت متأكد من نقل إلى المسودات؟",
|
||||
"success_shared": "مشاركتك تمت مشاركتها بنجاح",
|
||||
"success_moved": "تم النقل إلى المسودات",
|
||||
"permission_denied": "طلب الإذن مرفوض",
|
||||
"permission_text": "يرجى الانتقال إلى إعدادات الهاتف وتغيير أذونات تطبيق eSteem.",
|
||||
"success_rebloged": "أعيد تدوينه!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -1,235 +1,238 @@
|
||||
{
|
||||
"wallet": {
|
||||
"curation_reward": "Curation Reward",
|
||||
"author_reward": "Author Reward",
|
||||
"comment_benefactor_reward": "Comment Benefactor Reward",
|
||||
"claim_reward_balance": "Claim Reward Balance",
|
||||
"transfer": "Transfer",
|
||||
"transfer_to_vesting": "Transfer To Vesting",
|
||||
"transfer_from_savings": "Transfer From Savings",
|
||||
"withdraw_vesting": "Power Down",
|
||||
"fill_order": "Fill Order"
|
||||
"curation_reward": "Kurator Mükafatı",
|
||||
"author_reward": "Müəllif Mükafatı",
|
||||
"comment_benefactor_reward": "Rəy Xeyriyyəçi Mükafatı",
|
||||
"claim_reward_balance": "Mükafat Balansını Tələb et",
|
||||
"transfer": "Köçürmə",
|
||||
"transfer_to_vesting": "Hüquqa Köçürmə",
|
||||
"transfer_from_savings": "Yığımlardan Köçür",
|
||||
"withdraw_vesting": "Gücün Enməsi",
|
||||
"fill_order": "Sifarişi Doldur"
|
||||
},
|
||||
"notification": {
|
||||
"vote": "likes your post",
|
||||
"unvote": "unvoted your post",
|
||||
"reply": "replied to your post",
|
||||
"mention": "mentioned you",
|
||||
"follow": "followed you",
|
||||
"unfollow": "unfollowed you",
|
||||
"ignore": "ignored you",
|
||||
"reblog": "reblogged your post",
|
||||
"transfer": "transfered steem",
|
||||
"comingsoon": "Leaderboard feature is coming soon!",
|
||||
"notification": "Notifications",
|
||||
"leaderboard": "Leaderboard",
|
||||
"leaderboard_title": "Daily Top User",
|
||||
"recent": "Recent",
|
||||
"yesterday": "Yesterday",
|
||||
"this_week": "This Week",
|
||||
"this_month": "This Month",
|
||||
"older_then": "Older Than A Month"
|
||||
"vote": "göndərişini bəyəndi",
|
||||
"unvote": "verdiyi səsi götürdü",
|
||||
"reply": "göndərişə cavab verdi",
|
||||
"mention": "adını çəkdi",
|
||||
"follow": "səni izlədi",
|
||||
"unfollow": "səni izləməkdən imtina etdi",
|
||||
"ignore": "səni əngəllədi",
|
||||
"reblog": "göndərişini paylaşdı",
|
||||
"transfer": "köçürülmüş steem",
|
||||
"comingsoon": "Liderlər Cədvəli tezliklə gəlir!",
|
||||
"notification": "Bildirişlər",
|
||||
"leaderboard": "Liderlər cədvəli",
|
||||
"leaderboard_title": "Günlük Liderlər",
|
||||
"recent": "Təzəlikcə",
|
||||
"yesterday": "Dünən",
|
||||
"this_week": "Bu Həftə",
|
||||
"this_month": "Bu Ay",
|
||||
"older_then": "Bir Aydan Köhnə"
|
||||
},
|
||||
"messages": {
|
||||
"comingsoon": "Messages feature is coming soon!"
|
||||
"comingsoon": "Mesajlar tezliklə gəlir!"
|
||||
},
|
||||
"profile": {
|
||||
"following": "Following",
|
||||
"follower": "Follower",
|
||||
"post": "Post",
|
||||
"details": "Profile Details",
|
||||
"comments": "Comments",
|
||||
"replies": "Replies",
|
||||
"wallet": "Wallet",
|
||||
"wallet_details": "Wallet Details",
|
||||
"unclaimed_rewards": "Unclaimed Rewards",
|
||||
"full_in": "Full in",
|
||||
"hours": "hours",
|
||||
"voting_power": "Voting power",
|
||||
"login_to_see": "Login to see",
|
||||
"havent_commented": "haven't commented anything yet",
|
||||
"havent_posted": "haven't posted anything yet",
|
||||
"steem_power": "Steem Power",
|
||||
"next_power_text": "Next power down is in",
|
||||
"days": "days",
|
||||
"day": "day",
|
||||
"steem_dollars": "Steem Dollars",
|
||||
"savings": "Savings"
|
||||
"following": "İzlənilir",
|
||||
"follower": "İzləyici",
|
||||
"post": "Göndərişlər",
|
||||
"details": "Profil Təfsilatları",
|
||||
"comments": "Rəylər",
|
||||
"replies": "Cavablar",
|
||||
"wallet": "Pulqabı",
|
||||
"wallet_details": "Pulqabı Təfsilatları",
|
||||
"unclaimed_rewards": "Sahibsiz Mükafatlar",
|
||||
"full_in": "Olacaq",
|
||||
"hours": "saat",
|
||||
"voting_power": "Səsvermə gücü",
|
||||
"login_to_see": "Baxmaq üçün giriş et",
|
||||
"havent_commented": "hələ ki, rəy bildirmədi",
|
||||
"havent_posted": "hələ ki, göndəriş paylaşmadı",
|
||||
"steem_power": "Steem Gücü",
|
||||
"next_power_text": "Gücün növbəti enişi",
|
||||
"days": "gün",
|
||||
"day": "gün",
|
||||
"steem_dollars": "Steem Dollar",
|
||||
"savings": "Yığımlar"
|
||||
},
|
||||
"settings": {
|
||||
"settings": "Settings",
|
||||
"general": "General",
|
||||
"currency": "Currency",
|
||||
"language": "Language",
|
||||
"settings": "Tənzimləmələr",
|
||||
"general": "Ümumi",
|
||||
"currency": "Pul vahidi",
|
||||
"language": "Dil",
|
||||
"server": "Server",
|
||||
"dark_theme": "Dark Theme",
|
||||
"push_notification": "Push Notification",
|
||||
"dark_theme": "Tünd Tema",
|
||||
"push_notification": "Ani Bildiriş",
|
||||
"notification": {
|
||||
"follow": "Follow",
|
||||
"vote": "Vote",
|
||||
"comment": "Comment",
|
||||
"mention": "Mention",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"follow": "İzləmə",
|
||||
"vote": "Səsvermə",
|
||||
"comment": "Rəy",
|
||||
"mention": "Adını çəkmə",
|
||||
"reblog": "Paylaşma",
|
||||
"transfers": "Köçürmə"
|
||||
},
|
||||
"pincode": "Pincode",
|
||||
"reset": "Reset",
|
||||
"nsfw_content": "NSFW Content",
|
||||
"send_feedback": "Send Feedback",
|
||||
"send": "Send",
|
||||
"default_footer": "Default Footer",
|
||||
"pincode": "PIN kod",
|
||||
"reset": "Sıfırla",
|
||||
"nsfw_content": "NSFW Məzmunu",
|
||||
"send_feedback": "Əks Əlaqə Göndər",
|
||||
"send": "Göndər",
|
||||
"default_footer": "İlkin Alt Məlumat",
|
||||
"nsfw": {
|
||||
"always_show": "Always show",
|
||||
"always_hide": "Always hide",
|
||||
"always_warn": "Always warn"
|
||||
"always_show": "Həmişə göstər",
|
||||
"always_hide": "Həmişə gizlət",
|
||||
"always_warn": "Həmişə xəbərdar et"
|
||||
},
|
||||
"feedback_success": "Email successfully open",
|
||||
"feedback_fail": "Email client could not open"
|
||||
"feedback_success": "E-poçt uğurla açıldı",
|
||||
"feedback_fail": "E-poçt sifarişçisi açıla bilmədi"
|
||||
},
|
||||
"voters": {
|
||||
"voters_info": "Voters Info",
|
||||
"no_user": "No user found."
|
||||
"voters_info": "Səsverənlər",
|
||||
"no_user": "İstifadəçi tapılmadı."
|
||||
},
|
||||
"login": {
|
||||
"signin": "Sign in",
|
||||
"signup": "Sign up",
|
||||
"signin_title": "To get all the benefits of using eSteem",
|
||||
"username": "Username",
|
||||
"password": "Password or WIF",
|
||||
"description": "User credentials are kept locally on the device. Credentials are removed upon logout!",
|
||||
"cancel": "cancel",
|
||||
"login": "LOGIN",
|
||||
"steemconnect_description": "If you don't want to keep your password encrypted and saved on your device, you can use Steemconnect.",
|
||||
"steemconnect_fee_description": "Steemconnect may charge some fees from your reward transactions"
|
||||
"signin": "Daxil ol",
|
||||
"signup": "Qeydiyyatdan keç",
|
||||
"signin_title": "eSteem-in bütün üstünlüklərindən faydalanın",
|
||||
"username": "İstifadəçi adı",
|
||||
"password": "Şifrə və ya WIF",
|
||||
"description": "İstifadəçi kimlik məlumatları telefonunuzda saxlanılır. Çıxış edərkən kimlik məlumatları silinir!",
|
||||
"cancel": "imtina",
|
||||
"login": "GİRİŞ",
|
||||
"steemconnect_description": "Əgər məlumatları şifrəli kimi saxlamaq istəmirsinizsə, Steemconnect istifadə edə bilərsiniz.",
|
||||
"steemconnect_fee_description": "Steemconnect mükafat köçürmələrində ödəniş tuta bilər"
|
||||
},
|
||||
"home": {
|
||||
"feed": "Feed",
|
||||
"popular": "Popular"
|
||||
"feed": "Axın",
|
||||
"popular": "Məşhur"
|
||||
},
|
||||
"side_menu": {
|
||||
"profile": "Profile",
|
||||
"bookmarks": "Bookmarks",
|
||||
"favorites": "Favorites",
|
||||
"drafts": "Drafts",
|
||||
"schedules": "Schedules",
|
||||
"gallery": "Gallery",
|
||||
"settings": "Settings",
|
||||
"add_account": "Add Account",
|
||||
"logout": "Logout",
|
||||
"cancel": "Cancel",
|
||||
"logout_text": "Are you sure you want to logout?"
|
||||
"profile": "Profil",
|
||||
"bookmarks": "Əlfəcinlər",
|
||||
"favorites": "Sevimlilər",
|
||||
"drafts": "Qaralamalar",
|
||||
"schedules": "Cədvəllər",
|
||||
"gallery": "Qalereya",
|
||||
"settings": "Tənzimləmələr",
|
||||
"add_account": "Hesab Əlavə et",
|
||||
"logout": "Çıxış",
|
||||
"cancel": "İmtina",
|
||||
"logout_text": "Çıxış etmək istədiyinə əminsən?"
|
||||
},
|
||||
"header": {
|
||||
"title": "Login to customize your feed",
|
||||
"search": "Search..."
|
||||
"title": "Axınını özəlləşdirmək üçün giriş et",
|
||||
"search": "Axtar..."
|
||||
},
|
||||
"basic_header": {
|
||||
"publish": "Publish",
|
||||
"search": "Search",
|
||||
"update": "Update",
|
||||
"reply": "Reply"
|
||||
"publish": "Dərc et",
|
||||
"search": "Axtar",
|
||||
"update": "Yenilə",
|
||||
"reply": "Cavabla"
|
||||
},
|
||||
"editor": {
|
||||
"title": "Title",
|
||||
"tags": "tags",
|
||||
"default_placeholder": "What would you like to write about today?",
|
||||
"reply_placeholder": "What would you like to write about above post?",
|
||||
"publish": "Publish",
|
||||
"reply": "Reply",
|
||||
"open_galery": "Open Galery",
|
||||
"capture_photo": "Capture a photo"
|
||||
"title": "Başlıq",
|
||||
"tags": "etiketlər",
|
||||
"default_placeholder": "Bugün nə haqqında yazmaq istəyirsən?",
|
||||
"reply_placeholder": "Yuxarıdakı göndəriş haqqında nə yazmaq istəyirsən?",
|
||||
"publish": "Dərc et",
|
||||
"reply": "Cavabla",
|
||||
"open_galery": "Qalereyanı Aç",
|
||||
"capture_photo": "Foto çək"
|
||||
},
|
||||
"pincode": {
|
||||
"enter_text": "Enter pin to unlock",
|
||||
"set_new": "Set new pin",
|
||||
"write_again": "Write again",
|
||||
"forgot_text": "Oh, I forgot it..."
|
||||
"enter_text": "Kilidi açmaq üçün PIN-i daxil et",
|
||||
"set_new": "Yeni PIN tənzimlə",
|
||||
"write_again": "Təkrar yaz",
|
||||
"forgot_text": "Unutmuşam..."
|
||||
},
|
||||
"alert": {
|
||||
"success": "Success!",
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
"already_rebloged": "You have already reblogged!",
|
||||
"warning": "Warning",
|
||||
"invalid_pincode": "Invalid pin code, please check and try again.",
|
||||
"remove_alert": "Are you sure want to remove?",
|
||||
"clear_alert": "Are you sure you want to clear?",
|
||||
"clear_user_alert": "Are you sure you want to clear all user data?",
|
||||
"clear": "Clear",
|
||||
"cancel": "Cancel",
|
||||
"delete": "Delete",
|
||||
"copied": "Copied!",
|
||||
"no_internet": "No connection!"
|
||||
"success": "Uğurlu!",
|
||||
"allRead": "Bütün bildirişləri oxunmuş kimi işarələ",
|
||||
"claim_reward_balance_ok": "Mükafat alındı",
|
||||
"fail": "Uğursuz!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Göndərişin uğurla paylaşıldı",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "İcazə verilmədi",
|
||||
"permission_text": "Zəhmət olmasa telefon tənzimləmələrinə gedərək eSteem tətbiq icazələrini dəyişdirin.",
|
||||
"success_rebloged": "Təkrar paylaşıldı!",
|
||||
"already_rebloged": "Artıq təkrar paylaşdınız!",
|
||||
"warning": "Xəbərdarlıq",
|
||||
"invalid_pincode": "Etibarsız PIN kod, zəhmət olmasa yoxlayıb yenidən sınayın.",
|
||||
"remove_alert": "Çıxarmaq istədiyinizə əminsiniz?",
|
||||
"clear_alert": "Təmizləmək istədiyinizə əminsiniz?",
|
||||
"clear_user_alert": "Bütün istifadəçi verilənlərini təmizləmək istədiyinizə əminsiniz?",
|
||||
"clear": "Təmizlə",
|
||||
"cancel": "İmtina",
|
||||
"delete": "Sil",
|
||||
"copied": "Kopyalandı!",
|
||||
"no_internet": "Bağlantı yoxdur!"
|
||||
},
|
||||
"post": {
|
||||
"reblog_alert": "Are you sure you want to reblog?"
|
||||
"reblog_alert": "Təkrar paylaşmaq istədiyinizə əminsiniz?"
|
||||
},
|
||||
"drafts": {
|
||||
"title": "Drafts",
|
||||
"load_error": "Could not load drafts",
|
||||
"empty_list": "Nothing here",
|
||||
"deleted": "Draft deleted"
|
||||
"title": "Qaralamalar",
|
||||
"load_error": "Qaralamalar yüklənə bilmədi",
|
||||
"empty_list": "Burada heç nə yoxdur",
|
||||
"deleted": "Qaralama silindi"
|
||||
},
|
||||
"schedules": {
|
||||
"title": "Scheduled Posts",
|
||||
"empty_list": "Nothing here",
|
||||
"deleted": "Scheduled post deleted",
|
||||
"move": "Move to drafts",
|
||||
"moved": "Moved to drafts"
|
||||
"title": "Planlaşdırılmış Göndərişlər",
|
||||
"empty_list": "Burada heç nə yoxdur",
|
||||
"deleted": "Planlaşdırılmış göndəriş silindi",
|
||||
"move": "Qaralamalara köçür",
|
||||
"moved": "Qaralamalara köçürüldü"
|
||||
},
|
||||
"bookmarks": {
|
||||
"title": "Bookmarks",
|
||||
"load_error": "Could not load bookmarks",
|
||||
"empty_list": "Nothing here",
|
||||
"deleted": "Bookmark removed",
|
||||
"search": "Search in bookmarks",
|
||||
"added": "Added to bookmarks",
|
||||
"add": "Add to bookmarks"
|
||||
"title": "Əlfəcinlər",
|
||||
"load_error": "Əlfəcinlər yüklənilə bilmədi",
|
||||
"empty_list": "Burada heç nə yoxdur",
|
||||
"deleted": "Əlfəcin çıxarıldı",
|
||||
"search": "Əlfəcinlərdə axtar",
|
||||
"added": "Əlfəcinlərə əlavə edildi",
|
||||
"add": "Əlfəcinlərə əlavə et"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "Favorites",
|
||||
"load_error": "Could not load favorites",
|
||||
"empty_list": "Nothing here",
|
||||
"search": "Search in favorites"
|
||||
"title": "Sevimlilər",
|
||||
"load_error": "Sevimlilər yüklənilə bilmədi",
|
||||
"empty_list": "Burada heç nə yoxdur",
|
||||
"search": "Sevimlilərdə axtar"
|
||||
},
|
||||
"auth": {
|
||||
"invalid_pin": "Invalid pin code, please check and try again",
|
||||
"invalid_username": "Invalid username, please check and try again",
|
||||
"already_logged": "You are already logged in, please try to add another account",
|
||||
"invalid_credentials": "Invalid credentials, please check and try again",
|
||||
"unknow_error": "Unknown error, please contact us at support@esteem.app"
|
||||
"invalid_pin": "Etibarsız PIN kod, zəhmət olmasa yoxlayıb yenidən sınayın",
|
||||
"invalid_username": "Etibarsız istifadəçi adı, zəhmət olmasa yoxlayıb yenidən sınayın",
|
||||
"already_logged": "Artıq giriş etdiniz, zəhmət olmasa başqa bir hesab əlavə edin",
|
||||
"invalid_credentials": "Etibarsız kimlik məlumatları, zəhmət olmasa yoxlayıb yenidən sınayın",
|
||||
"unknow_error": "Bilinməyən xəta, zəhmət olmasa support@esteem.app vasitəsilə bizimlə əlaqə saxlayın"
|
||||
},
|
||||
"payout": {
|
||||
"potential_payout": "Potential Payout",
|
||||
"promoted": "Promoted",
|
||||
"author_payout": "Author Payout",
|
||||
"curation_payout": "Curation Payout",
|
||||
"payout_date": "Payout"
|
||||
"potential_payout": "Mümkün Ola Biləcək Ödəniş",
|
||||
"promoted": "Tanıdılan",
|
||||
"author_payout": "Müəllif Ödənişi",
|
||||
"curation_payout": "Kurator Ödənişi",
|
||||
"payout_date": "Ödəniş"
|
||||
},
|
||||
"post_dropdown": {
|
||||
"copy": "copy link",
|
||||
"reblog": "reblog",
|
||||
"reply": "reply",
|
||||
"share": "share",
|
||||
"bookmarks": "add to bookmarks"
|
||||
"copy": "bağlantını kopyala",
|
||||
"reblog": "təkrar paylaş",
|
||||
"reply": "cavabla",
|
||||
"share": "paylaş",
|
||||
"bookmarks": "əlfəcinlərə əlavə et"
|
||||
},
|
||||
"deep_link": {
|
||||
"no_existing_user": "No existing user",
|
||||
"no_existing_post": "No existing post"
|
||||
"no_existing_user": "Heç bir istifadəçi yoxdur",
|
||||
"no_existing_post": "Heç bir göndəriş yoxdur"
|
||||
},
|
||||
"search": {
|
||||
"posts": "Posts",
|
||||
"comments": "Comments"
|
||||
"posts": "Göndərişlər",
|
||||
"comments": "Rəylər"
|
||||
},
|
||||
"comment_filter": {
|
||||
"trending": "trending",
|
||||
"reputation": "reputation",
|
||||
"votes": "votes",
|
||||
"age": "age"
|
||||
"trending": "trend",
|
||||
"reputation": "nüfuz",
|
||||
"votes": "səslər",
|
||||
"age": "yaş"
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Alle Benachrichtigungen als gelesen markieren",
|
||||
"claim_reward_balance_ok": "Belohnung abgeholt",
|
||||
"fail": "Fehlgeschlagen!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Dein Beitrag wurde erfolgreich erstellt",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Berechtigung verweigert",
|
||||
"permission_text": "Bitte gehe zu den Telefoneinstellungen und ändere die Berechtigungen der eSteem-App.",
|
||||
"success_rebloged": "Geteilt!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -23,6 +23,7 @@
|
||||
"comingsoon": "Leaderboard feature is coming soon!",
|
||||
"notification": "Notifications",
|
||||
"leaderboard": "Leaderboard",
|
||||
"epoint": "Points",
|
||||
"leaderboard_title": "Daily Top User",
|
||||
"recent": "Recent",
|
||||
"yesterday": "Yesterday",
|
||||
@ -30,6 +31,18 @@
|
||||
"this_month": "This Month",
|
||||
"older_then": "Older Than A Month"
|
||||
},
|
||||
"points": {
|
||||
"post": "Post",
|
||||
"comment": "Comment",
|
||||
"checkin": "Checki-in",
|
||||
"post_title": "Points for post",
|
||||
"comment_title": "Points for comment",
|
||||
"vote_title": "Points for vote",
|
||||
"reblog_title": "Points for reblog",
|
||||
"login_title": "Points for login",
|
||||
"checkin_title": "Points for usage",
|
||||
"checkin_extra_title": "Usage bonus"
|
||||
},
|
||||
"messages": {
|
||||
"comingsoon": "Messages feature is coming soon!"
|
||||
},
|
||||
@ -150,7 +163,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Reblogged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marcar todas las notificaciones como leídas",
|
||||
"claim_reward_balance_ok": "Recompensa de balance reclamada",
|
||||
"fail": "Falló!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Su publicación fue compartida con éxito",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permiso dengado",
|
||||
"permission_text": "Por favor, ir a ajustes del teléfono y cambiar los permisos de la aplicación de eSteem.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "علامت زدن تمام اعلانات به عنوان خوانده شده",
|
||||
"claim_reward_balance_ok": "پاداش دریافت شده",
|
||||
"fail": "ناموفق!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "مطلب شما با موفقیت منتشر شد",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "خطای دسترسی",
|
||||
"permission_text": "لطفا به تنظیمات تلفن خود رفته و دسترسی eSteem را تغییر دهید.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Ilmoitukset merkattu luetuiksi",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Virhe!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Julkaisu jaettu onnistuneesti",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Käyttö estetty",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Re-steemattu!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -19,7 +19,7 @@
|
||||
"unfollow": "ne vous suit plus",
|
||||
"ignore": "vous a ignoré",
|
||||
"reblog": "a reblogué votre post",
|
||||
"transfer": "transfered steem",
|
||||
"transfer": "steem transférés",
|
||||
"comingsoon": "La fonctionnalité Classement arrive bientôt !",
|
||||
"notification": "Notifications",
|
||||
"leaderboard": "Classement",
|
||||
@ -58,33 +58,33 @@
|
||||
},
|
||||
"settings": {
|
||||
"settings": "Réglages",
|
||||
"general": "General",
|
||||
"general": "Général",
|
||||
"currency": "Devise",
|
||||
"language": "Langue",
|
||||
"server": "Serveur",
|
||||
"dark_theme": "Thème Sombre",
|
||||
"push_notification": "Notification push",
|
||||
"notification": {
|
||||
"follow": "Follow",
|
||||
"follow": "Abonné",
|
||||
"vote": "Vote",
|
||||
"comment": "Comment",
|
||||
"comment": "Commentaire",
|
||||
"mention": "Mention",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"transfers": "Transferts"
|
||||
},
|
||||
"pincode": "Pincode",
|
||||
"reset": "Réinitialiser",
|
||||
"nsfw_content": "NSFW Content",
|
||||
"send_feedback": "Send Feedback",
|
||||
"send": "Send",
|
||||
"default_footer": "Default Footer",
|
||||
"nsfw_content": "Contenu NSFW",
|
||||
"send_feedback": "Envoyer une suggestion",
|
||||
"send": "Envoyer",
|
||||
"default_footer": "Pied de page par défaut",
|
||||
"nsfw": {
|
||||
"always_show": "Always show",
|
||||
"always_hide": "Always hide",
|
||||
"always_warn": "Always warn"
|
||||
"always_show": "Toujours afficher",
|
||||
"always_hide": "Toujours masquer",
|
||||
"always_warn": "Toujours avertir"
|
||||
},
|
||||
"feedback_success": "Email successfully open",
|
||||
"feedback_fail": "Email client could not open"
|
||||
"feedback_success": "E-mail ouvert avec succès",
|
||||
"feedback_fail": "Le client e-mail n'a pas pu être ouvert"
|
||||
},
|
||||
"voters": {
|
||||
"voters_info": "Info des votants",
|
||||
@ -100,7 +100,7 @@
|
||||
"cancel": "annuler",
|
||||
"login": "CONNEXION",
|
||||
"steemconnect_description": "Si vous ne voulez pas garder votre mot de passe chiffré et enregistré sur votre appareil, vous pouvez utiliser Steemconnect.",
|
||||
"steemconnect_fee_description": "Steemconnect may charge some fees from your reward transactions"
|
||||
"steemconnect_fee_description": "Steemconnect peut facturer des frais sur vos transactions de récompense"
|
||||
},
|
||||
"home": {
|
||||
"feed": "Fil d'actualités",
|
||||
@ -136,8 +136,8 @@
|
||||
"reply_placeholder": "Qu'aimeriez-vous écrire à propos de l'article ci-dessus ?",
|
||||
"publish": "Publier",
|
||||
"reply": "Répondre",
|
||||
"open_galery": "Open Galery",
|
||||
"capture_photo": "Capture a photo"
|
||||
"open_galery": "Ouvrir la galerie",
|
||||
"capture_photo": "Prendre une photo"
|
||||
},
|
||||
"pincode": {
|
||||
"enter_text": "Enter pin to unlock",
|
||||
@ -150,7 +150,10 @@
|
||||
"allRead": "Marquer toutes les notifications comme lues",
|
||||
"claim_reward_balance_ok": "Solde de récompense réclamé",
|
||||
"fail": "Échec !",
|
||||
"move": "Déplacer",
|
||||
"move_question": "Êtes-vous sûr de vouloir déplacer vers Broullions ?",
|
||||
"success_shared": "Votre publication à été partagée avec succès",
|
||||
"success_moved": "Déplacé vers Brouillons",
|
||||
"permission_denied": "Autorisation refusée",
|
||||
"permission_text": "S'il vous plaît, allez dans les Paramètres de votre téléphone et changez les permissions pour l’application eSteem.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
@ -158,13 +161,13 @@
|
||||
"warning": "Attention",
|
||||
"invalid_pincode": "Invalid pin code, please check and try again.",
|
||||
"remove_alert": "Êtes-vous sûr de vouloir retirer ?",
|
||||
"clear_alert": "Are you sure you want to clear?",
|
||||
"clear_user_alert": "Are you sure you want to clear all user data?",
|
||||
"clear": "Clear",
|
||||
"clear_alert": "Êtes-vous sûr de vouloir effacer ?",
|
||||
"clear_user_alert": "Êtes-vous sûr de vouloir effacer toutes les données utilisateur ?",
|
||||
"clear": "Effacer",
|
||||
"cancel": "Annuler",
|
||||
"delete": "Supprimer",
|
||||
"copied": "Copied!",
|
||||
"no_internet": "No connection!"
|
||||
"copied": "Copié !",
|
||||
"no_internet": "Pas de connexion !"
|
||||
},
|
||||
"post": {
|
||||
"reblog_alert": "Êtes-vous sûr de vouloir rebloguer ?"
|
||||
@ -188,8 +191,8 @@
|
||||
"empty_list": "Rien ici",
|
||||
"deleted": "Signet supprimé",
|
||||
"search": "Rechercher dans les signets",
|
||||
"added": "Added to bookmarks",
|
||||
"add": "Add to bookmarks"
|
||||
"added": "Ajouté aux signets",
|
||||
"add": "Ajouter aux signets"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "Favoris",
|
||||
@ -216,20 +219,20 @@
|
||||
"reblog": "rebloguer",
|
||||
"reply": "répondre",
|
||||
"share": "partager",
|
||||
"bookmarks": "add to bookmarks"
|
||||
"bookmarks": "ajouter aux signets"
|
||||
},
|
||||
"deep_link": {
|
||||
"no_existing_user": "Utilisateur inexistant",
|
||||
"no_existing_post": "Post inexistant"
|
||||
},
|
||||
"search": {
|
||||
"posts": "Posts",
|
||||
"comments": "Comments"
|
||||
"posts": "Publications",
|
||||
"comments": "Commentaires"
|
||||
},
|
||||
"comment_filter": {
|
||||
"trending": "trending",
|
||||
"reputation": "reputation",
|
||||
"trending": "tendances",
|
||||
"reputation": "réputation",
|
||||
"votes": "votes",
|
||||
"age": "age"
|
||||
"age": "âge"
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "סימון כל ההודעות כנקראו",
|
||||
"claim_reward_balance_ok": "תגמול יתרה נתקבלה",
|
||||
"fail": "נכשל!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "הפוסט שלך שותף בהצלחה",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "הרשאה נדחתה",
|
||||
"permission_text": "אנא, שנה את ההרשאות לאפליקציית ה eSteem, דרך ההגדרות בטלפון.",
|
||||
"success_rebloged": "שותף!",
|
||||
|
@ -19,7 +19,7 @@
|
||||
"unfollow": "आपका साथ छोड़ा",
|
||||
"ignore": "आपको अनदेखा किया",
|
||||
"reblog": "आपका पोस्ट को पुनः प्रसारित किया",
|
||||
"transfer": "transfered steem",
|
||||
"transfer": "steem स्थानांतरण",
|
||||
"comingsoon": "अधिनायक पटल सुविधा जल्द आने वाली है!",
|
||||
"notification": "अधिसूचनाएं",
|
||||
"leaderboard": "अधिनायकपटल",
|
||||
@ -58,33 +58,33 @@
|
||||
},
|
||||
"settings": {
|
||||
"settings": "समायोजन",
|
||||
"general": "General",
|
||||
"general": "सामान्य",
|
||||
"currency": "मुद्रा",
|
||||
"language": "भाषा",
|
||||
"server": "सर्वर",
|
||||
"dark_theme": "काला थीम",
|
||||
"push_notification": "संभर अधिसूचना",
|
||||
"notification": {
|
||||
"follow": "Follow",
|
||||
"vote": "Vote",
|
||||
"comment": "Comment",
|
||||
"mention": "Mention",
|
||||
"follow": "का पालन करें",
|
||||
"vote": "वोट",
|
||||
"comment": "टिप्पणी",
|
||||
"mention": "उल्लेख",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"transfers": "स्थानांतरण"
|
||||
},
|
||||
"pincode": "Pincode",
|
||||
"reset": "पुनः नियोजन",
|
||||
"nsfw_content": "NSFW Content",
|
||||
"send_feedback": "Send Feedback",
|
||||
"send": "Send",
|
||||
"nsfw_content": "NSFW सामग्री",
|
||||
"send_feedback": "प्रतिक्रिया भेजें",
|
||||
"send": "भेजना",
|
||||
"default_footer": "Default Footer",
|
||||
"nsfw": {
|
||||
"always_show": "Always show",
|
||||
"always_hide": "Always hide",
|
||||
"always_warn": "Always warn"
|
||||
"always_show": "हमेशा दिखाएं",
|
||||
"always_hide": "हमेशा छिपाए",
|
||||
"always_warn": "हमेशा चेतावनी देते हैं"
|
||||
},
|
||||
"feedback_success": "Email successfully open",
|
||||
"feedback_fail": "Email client could not open"
|
||||
"feedback_success": "ईमेल सफलतापूर्वक खुला",
|
||||
"feedback_fail": "ईमेल क्लाइंट नहीं खोल सका"
|
||||
},
|
||||
"voters": {
|
||||
"voters_info": "मतदाताओं की जानकारी",
|
||||
@ -150,7 +150,10 @@
|
||||
"allRead": "सभी सूचनाओं को पढ़ लिया चिन्हित करें",
|
||||
"claim_reward_balance_ok": "इनाम की राशी ले चुके",
|
||||
"fail": "असफल!",
|
||||
"move": "हटाना",
|
||||
"move_question": "क्या आप ड्राफ्ट में जाना सुनिश्चित करते हैं?",
|
||||
"success_shared": "आपका पोस्ट सफलतापूर्ण साझा हो गया",
|
||||
"success_moved": "ड्राफ्ट में ले जाया गया",
|
||||
"permission_denied": "अनुमोदन अस्वीकृत हुवा",
|
||||
"permission_text": "कृपया, अपने फ़ोन समायोजन में जाएँ और इस्टीम एप्प की अनुमोदन बदलें|",
|
||||
"success_rebloged": "Rebloged!",
|
||||
@ -159,7 +162,7 @@
|
||||
"invalid_pincode": "Invalid pin code, please check and try again.",
|
||||
"remove_alert": "क्या आप इसे सच में हटाना चाहते हैं?",
|
||||
"clear_alert": "क्या आप सचमुच में मिटाना चाहते हैं?",
|
||||
"clear_user_alert": "Are you sure you want to clear all user data?",
|
||||
"clear_user_alert": "क्या आप वाकई सभी उपयोगकर्ता डेटा को साफ़ करना चाहते हैं?",
|
||||
"clear": "मिटायें",
|
||||
"cancel": "रद्द करें",
|
||||
"delete": "मिटा दें",
|
||||
@ -223,13 +226,13 @@
|
||||
"no_existing_post": "कोई विद्यमान पोस्ट नहीं"
|
||||
},
|
||||
"search": {
|
||||
"posts": "Posts",
|
||||
"comments": "Comments"
|
||||
"posts": "पोस्ट",
|
||||
"comments": "टिप्पणियाँ"
|
||||
},
|
||||
"comment_filter": {
|
||||
"trending": "trending",
|
||||
"reputation": "reputation",
|
||||
"votes": "votes",
|
||||
"age": "age"
|
||||
"trending": "प्रचलित",
|
||||
"reputation": "प्रतिष्ठा",
|
||||
"votes": "मत",
|
||||
"age": "उम्र"
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Označi sve obavijesti kao pročitane",
|
||||
"claim_reward_balance_ok": "Nagrada preuzeta",
|
||||
"fail": "Nije uspjelo!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Vaša objava je uspješno podijeljena",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Dopuštenje odbijeno",
|
||||
"permission_text": "Molim vas, idite na postavke uređaja i promijenite dozvole za eSteem aplikaciju.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Minden értesítés megjelölve olvasottként",
|
||||
"claim_reward_balance_ok": "Jutalom egyenleg átvéve",
|
||||
"fail": "Sikertelen!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "A bejegyzésed sikeresen megosztva",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Engedély megtagadva",
|
||||
"permission_text": "Kérjük menj a telefon beállításokhoz és változtass az eSteem app engedélyezésein.",
|
||||
"success_rebloged": "Megosztva!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Tandai semua pemberitahuan telah terbaca",
|
||||
"claim_reward_balance_ok": "Hadiah di klaim",
|
||||
"fail": "Gagal!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Tulisan anda berhasil dibagikan",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Izin ditolak",
|
||||
"permission_text": "Silakan buka pengaturan telepon dan ubah izin untuk aplikasi eSteem.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Segna tutte le notifiche come lette",
|
||||
"claim_reward_balance_ok": "Saldo Ricompensa Richiesto",
|
||||
"fail": "Non riuscito!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Il tuo post è stato con successo condiviso",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permesso negato",
|
||||
"permission_text": "Per favore, vai alle impostazioni del cellulare e modificare le autorizzazioni di eSteem app.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "모든 알림을 읽은 상태로 표시",
|
||||
"claim_reward_balance_ok": "보상을 요청했습니다",
|
||||
"fail": "실패!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "글을 성공적으로 공유했습니다",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "권한이 없습니다",
|
||||
"permission_text": "휴대폰 설정으로 이동하여 eSteem 앱 알림 설정을 변경해주세요",
|
||||
"success_rebloged": "리블로그 완료!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Pažymėti visus pranešimus kaip skaitytus",
|
||||
"claim_reward_balance_ok": "Atlygis atsiimtas",
|
||||
"fail": "Nepavyko!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Jūsų įrašas sėkmingai pasidalintas",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Leidimas nesuteiktas",
|
||||
"permission_text": "Prašome telefono nustatymuose pakeisti eSteem programėlės leidimus.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Tandakan semua pemberitahuan sebagai telah dibaca",
|
||||
"claim_reward_balance_ok": "Baki ganjaran telah dituntut",
|
||||
"fail": "Gagal!",
|
||||
"move": "Pindah",
|
||||
"move_question": "Adakah anda pasti hendak mengalih ke Draf?",
|
||||
"success_shared": "Pos anda berjaya disiarkan",
|
||||
"success_moved": "Pindah kepada Draf",
|
||||
"permission_denied": "Tidak dibenarkan",
|
||||
"permission_text": "Sila pergi ke tetapan telefon dan mengubah keizinan keyakinan eSteem app.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Alle notificaties als gelezen markeren",
|
||||
"claim_reward_balance_ok": "Beloningsbalans opgeëist",
|
||||
"fail": "Mislukt!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Je bericht is succesvol gedeeld",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Toegang geweigerd",
|
||||
"permission_text": "Ga naar telefoon-instellingen, en wijzig de machtigingen van de eSteem-app.",
|
||||
"success_rebloged": "Gedeeld!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Mark am say you don read all the alert",
|
||||
"claim_reward_balance_ok": "You don collect the reward",
|
||||
"fail": "E Fail oo!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post don share finish",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "E no gree do",
|
||||
"permission_text": "Abeg go your phone settings go change eSteem app permissions. ",
|
||||
"success_rebloged": "E don reblog!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marcar todas as notificações como lidas",
|
||||
"claim_reward_balance_ok": "Balanço de Recompensa reclamado",
|
||||
"fail": "Falha!",
|
||||
"move": "Mover",
|
||||
"move_question": "Tem certeza que deseja mover para rascunhos?",
|
||||
"success_shared": "Seu post partilhado com sucesso",
|
||||
"success_moved": "Movido para Rascunhos",
|
||||
"permission_denied": "Permissão negada",
|
||||
"permission_text": "Por favor, vá para configurações de telefone e alterar as permissões da app Steem.",
|
||||
"success_rebloged": "Reblogado!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marchează toate notificările ca citite",
|
||||
"claim_reward_balance_ok": "Sold de recompensă colectat",
|
||||
"fail": "Eșuat!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Postarea ta a fost distribuită cu succes",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permisiune respinsă",
|
||||
"permission_text": "Te rugăm să mergi în setările telefonului și să schimbi permisiunile aplicației eSteem.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Всё прочтено",
|
||||
"claim_reward_balance_ok": "Награда зачислена на баланс",
|
||||
"fail": "Не вышло!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Ваш пост отправлен",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Не достаточно разрешений",
|
||||
"permission_text": "Пожалуйста перейдите в настройки телефона и выдайте разрешения для eSteem",
|
||||
"success_rebloged": "Репостнуто!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Sva obaveštenja su označena kao pročitana",
|
||||
"claim_reward_balance_ok": "Potvrđeni bilans nagrade",
|
||||
"fail": "Nije uspelo!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Uspešno ste podelili post",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Pristup odbijen",
|
||||
"permission_text": "Molimo, idite na podešavanja telefona i promenite ovlašćenja za eSteem aplikaciju.",
|
||||
"success_rebloged": "Podeljeno!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -19,7 +19,7 @@
|
||||
"unfollow": "seni takipetmeyi bıraktı",
|
||||
"ignore": "seni engelledi",
|
||||
"reblog": "senin postunu paylaştı",
|
||||
"transfer": "transfered steem",
|
||||
"transfer": "transfer edilen steem",
|
||||
"comingsoon": "Liderler tablosu yakında burada!",
|
||||
"notification": "Bildirimler",
|
||||
"leaderboard": "Liderler Tablosu",
|
||||
@ -58,33 +58,33 @@
|
||||
},
|
||||
"settings": {
|
||||
"settings": "Ayarlar",
|
||||
"general": "General",
|
||||
"general": "Genel",
|
||||
"currency": "Para Birimi",
|
||||
"language": "Dil",
|
||||
"server": "Sunucu",
|
||||
"dark_theme": "Koyu Tema",
|
||||
"push_notification": "Bildirim",
|
||||
"notification": {
|
||||
"follow": "Follow",
|
||||
"vote": "Vote",
|
||||
"comment": "Comment",
|
||||
"mention": "Mention",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"follow": "Takip Et",
|
||||
"vote": "Oy",
|
||||
"comment": "Yorum",
|
||||
"mention": "Bahset",
|
||||
"reblog": "Yeniden yayınla",
|
||||
"transfers": "Transferler"
|
||||
},
|
||||
"pincode": "Pinkod",
|
||||
"reset": "Sifirla",
|
||||
"nsfw_content": "NSFW Content",
|
||||
"send_feedback": "Send Feedback",
|
||||
"send": "Send",
|
||||
"default_footer": "Default Footer",
|
||||
"nsfw_content": "NSFW İçeriği",
|
||||
"send_feedback": "Geri Bildirim Gönder",
|
||||
"send": "Gönder",
|
||||
"default_footer": "Varsayılan Altbilgi",
|
||||
"nsfw": {
|
||||
"always_show": "Always show",
|
||||
"always_hide": "Always hide",
|
||||
"always_warn": "Always warn"
|
||||
"always_show": "Her zaman göster",
|
||||
"always_hide": "Her zaman gizle",
|
||||
"always_warn": "Her zaman uyar"
|
||||
},
|
||||
"feedback_success": "Email successfully open",
|
||||
"feedback_fail": "Email client could not open"
|
||||
"feedback_success": "E-posta başarıyla açıldı",
|
||||
"feedback_fail": "E-posta istemcisi açılamadı"
|
||||
},
|
||||
"voters": {
|
||||
"voters_info": "Oy Verenler",
|
||||
@ -137,7 +137,7 @@
|
||||
"publish": "Yayınla",
|
||||
"reply": "Cevapla",
|
||||
"open_galery": "Gariyi Aç",
|
||||
"capture_photo": "Bir fotoğraf yakala"
|
||||
"capture_photo": "Bir fotoğraf çekin"
|
||||
},
|
||||
"pincode": {
|
||||
"enter_text": "Açmak için pin kodunu giriniz",
|
||||
@ -150,7 +150,10 @@
|
||||
"allRead": "Tüm bildirimleri okundu olarak işaretle",
|
||||
"claim_reward_balance_ok": "Ödül alındı",
|
||||
"fail": "Başarısız!",
|
||||
"move": "Taşı",
|
||||
"move_question": "Taslaklara taşıyacağınızdan emin misiniz?",
|
||||
"success_shared": "Gönderin başarıyla paylaşıldı",
|
||||
"success_moved": "Taslağa taşındı",
|
||||
"permission_denied": "İzin reddedildi",
|
||||
"permission_text": "Lütfen telefon ayarlarına gidin ve eSteem'in izinlerini açın.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
@ -159,7 +162,7 @@
|
||||
"invalid_pincode": "Geçersiz pin gözden geçirip yeniden deneyin.",
|
||||
"remove_alert": "Kaldırmak istediğine emin misin ?",
|
||||
"clear_alert": "Silmek istediğinizden emin misiniz?",
|
||||
"clear_user_alert": "Are you sure you want to clear all user data?",
|
||||
"clear_user_alert": "Tüm kullanıcı verilerini silmek istediğinize emin misiniz?",
|
||||
"clear": "Temizle",
|
||||
"cancel": "Vazgeç",
|
||||
"delete": "Temizle",
|
||||
@ -220,11 +223,11 @@
|
||||
},
|
||||
"deep_link": {
|
||||
"no_existing_user": "Kullanici Bulunamadi",
|
||||
"no_existing_post": "Kullanici Bulunamadi"
|
||||
"no_existing_post": "Mevcut yayın yok"
|
||||
},
|
||||
"search": {
|
||||
"posts": "Posts",
|
||||
"comments": "Comments"
|
||||
"posts": "Gönderi",
|
||||
"comments": "Yorumlar"
|
||||
},
|
||||
"comment_filter": {
|
||||
"trending": "öne çıkanlar",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Reblogged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Reblogged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post succesfully shared",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Đã đánh dấu tất cả các thông báo là đã đọc",
|
||||
"claim_reward_balance_ok": "Số dư tiền thưởng đã được nhận",
|
||||
"fail": "Thất bại!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Bài viết của bạn đã được chia sẻ thành công",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Quyền truy cập bị từ chối",
|
||||
"permission_text": "Vui lòng mở cài đặt điện thoại và thay đổi quyền truy cập cho ứng dụng eSteem.",
|
||||
"success_rebloged": "Đã đăng lại bài viết!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "Gba pe oti ka gbogbo akiyesi",
|
||||
"claim_reward_balance_ok": "Awon ere ti di gbigba",
|
||||
"fail": "Ko yori!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Oro akosile re ti di titan ka",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Ko ase fun",
|
||||
"permission_text": "Jowo, Losi ibi iseto ero ilewo re, ki o si se atunse awon ase to fun eSteem app.",
|
||||
"success_rebloged": "Oti se eda oro yi!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "已将所有通知标为已读",
|
||||
"claim_reward_balance_ok": "奖励余额已领取",
|
||||
"fail": "失败!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "您的帖子已成功分享",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "无权限",
|
||||
"permission_text": "请前往手机设置更改 eSteem 应用程序权限。",
|
||||
"success_rebloged": "Rebloged!",
|
||||
|
@ -150,7 +150,10 @@
|
||||
"allRead": "標記所有通知為已讀",
|
||||
"claim_reward_balance_ok": "獎勵餘額已經領取",
|
||||
"fail": "失敗!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "您的帖子已經成功分享",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "權限不足",
|
||||
"permission_text": "請前往手機「設定」,更改eSteem應用程式權限。",
|
||||
"success_rebloged": "已轉發!",
|
||||
|
38
src/constants/options/points.js
Normal file
38
src/constants/options/points.js
Normal file
@ -0,0 +1,38 @@
|
||||
export default {
|
||||
100: {
|
||||
icon: 'post',
|
||||
textKey: 'points.post_title',
|
||||
iconType: 'MaterialIcons',
|
||||
},
|
||||
110: {
|
||||
icon: 'comment',
|
||||
textKey: 'points.comment_title',
|
||||
iconType: 'MaterialIcons',
|
||||
},
|
||||
120: {
|
||||
icon: 'upcircle',
|
||||
textKey: 'points.vote_title',
|
||||
iconType: 'AntDesign',
|
||||
},
|
||||
130: {
|
||||
icon: 'repeat',
|
||||
textKey: 'points.reblog_title',
|
||||
iconType: 'MaterialIcons',
|
||||
},
|
||||
10: {
|
||||
icon: 'check-circle',
|
||||
textKey: 'points.checkin_title',
|
||||
iconType: 'MaterialCommunityIcons',
|
||||
},
|
||||
20: {
|
||||
icon: 'person',
|
||||
textKey: 'points.login_title',
|
||||
iconType: 'MaterialIcons',
|
||||
},
|
||||
30: {
|
||||
icon: 'check-decagram',
|
||||
textKey: 'points.checkin_extra_title',
|
||||
iconType: 'MaterialCommunityIcons',
|
||||
|
||||
},
|
||||
};
|
@ -14,7 +14,6 @@ export const userActivity = (us, ty, bl = '', tx = '') => new Promise((resolve,
|
||||
ePointApi
|
||||
.post('/usr-activity', params)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
resolve(res.data);
|
||||
})
|
||||
.catch((error) => {
|
||||
@ -39,7 +38,7 @@ export const transfer = (sender, receiver, amount) => new Promise((resolve, reje
|
||||
|
||||
export const getUser = username => new Promise((resolve, reject) => {
|
||||
ePointApi
|
||||
.get(`/users/:${username}`)
|
||||
.get(`/users/${username}`)
|
||||
.then((res) => {
|
||||
resolve(res.data);
|
||||
})
|
||||
@ -50,7 +49,7 @@ export const getUser = username => new Promise((resolve, reject) => {
|
||||
|
||||
export const getUserPoints = username => new Promise((resolve, reject) => {
|
||||
ePointApi
|
||||
.get(`/users/:${username}/points`)
|
||||
.get(`/users/${username}/points`)
|
||||
.then((res) => {
|
||||
resolve(res.data);
|
||||
})
|
||||
|
@ -23,9 +23,9 @@ export const getDrafts = data => new Promise((resolve, reject) => {
|
||||
* @params username
|
||||
* @params draftID
|
||||
*/
|
||||
export const removeDraft = data => new Promise((resolve, reject) => {
|
||||
export const removeDraft = (username, id) => new Promise((resolve, reject) => {
|
||||
api
|
||||
.delete(`/drafts/${data.username}/${data.draftId}`)
|
||||
.delete(`/drafts/${username}/${id}`)
|
||||
.then((res) => {
|
||||
resolve(res.data);
|
||||
})
|
||||
@ -223,7 +223,7 @@ export const schedule = (
|
||||
upvote,
|
||||
scheduleDate,
|
||||
) => api
|
||||
.post('/api/schedules', {
|
||||
.post('/schedules', {
|
||||
username: user,
|
||||
category: tags[0],
|
||||
title,
|
||||
@ -238,18 +238,18 @@ export const schedule = (
|
||||
})
|
||||
.then(resp => resp.data);
|
||||
|
||||
export const getSchedules = user => api.get(`/api/schedules/${user}`).then(resp => resp.data);
|
||||
export const getSchedules = username => api.get(`/schedules/${username}`).then(resp => resp.data);
|
||||
|
||||
export const removeSchedule = (id, user) => api.delete(`/api/schedules/${user}/${id}`);
|
||||
export const removeSchedule = (username, id) => api.delete(`/schedules/${username}/${id}`);
|
||||
|
||||
export const moveSchedule = (id, user) => api.put(`/api/schedules/${user}/${id}`);
|
||||
export const moveSchedule = (id, username) => api.put(`/schedules/${username}/${id}`);
|
||||
|
||||
// Old image service
|
||||
// Images
|
||||
|
||||
export const getImages = user => api.get(`api/images/${user}`).then(resp => resp.data);
|
||||
export const getImages = username => api.get(`api/images/${username}`).then(resp => resp.data);
|
||||
|
||||
export const addMyImage = (user, url) => api.post('/api/image', { username: user, image_url: url });
|
||||
export const addMyImage = (user, url) => api.post('/image', { username: user, image_url: url });
|
||||
|
||||
export const uploadImage = (file) => {
|
||||
const fData = new FormData();
|
||||
|
@ -341,6 +341,57 @@ export const getPurePost = async (author, permlink) => {
|
||||
}
|
||||
};
|
||||
|
||||
// export const deleteComment = (author, permlink) => {
|
||||
// return new Promise((resolve, reject) => {
|
||||
// client.database
|
||||
// .call('delete_comment', [author, permlink])
|
||||
// .then((response) => {
|
||||
// resolve(response);
|
||||
// })
|
||||
// .catch((error) => {
|
||||
// reject(error);
|
||||
// });
|
||||
// });
|
||||
// };
|
||||
|
||||
export const deleteComment = (currentAccount, pin, permlink) => {
|
||||
const { name: author } = currentAccount;
|
||||
const digitPinCode = getDigitPinCode(pin);
|
||||
const key = getAnyPrivateKey(currentAccount.local, digitPinCode);
|
||||
|
||||
if (currentAccount.local.authType === AUTH_TYPE.STEEM_CONNECT) {
|
||||
const token = decryptKey(currentAccount.accessToken, pin);
|
||||
const api = steemConnect.Initialize({
|
||||
accessToken: token,
|
||||
});
|
||||
|
||||
const params = {
|
||||
author,
|
||||
permlink,
|
||||
};
|
||||
|
||||
const opArray = [['delete_comment', params]];
|
||||
|
||||
return api.broadcast(opArray).then(resp => resp.result);
|
||||
}
|
||||
|
||||
if (key) {
|
||||
const opArray = [
|
||||
[
|
||||
'delete_comment',
|
||||
{
|
||||
author,
|
||||
permlink,
|
||||
},
|
||||
],
|
||||
];
|
||||
|
||||
const privateKey = PrivateKey.fromString(key);
|
||||
|
||||
return client.broadcast.sendOperations(opArray, privateKey);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @method getUser get user data
|
||||
* @param user post author
|
||||
|
@ -1,5 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Platform, BackHandler, Alert, NetInfo } from 'react-native';
|
||||
import {
|
||||
Platform, BackHandler, Alert, NetInfo,
|
||||
} from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
import { addLocaleData } from 'react-intl';
|
||||
import Config from 'react-native-config';
|
||||
@ -87,7 +89,7 @@ class ApplicationContainer extends Component {
|
||||
const { isIos } = this.state;
|
||||
let isConnected;
|
||||
|
||||
await NetInfo.isConnected.fetch().then(_isConnected => {
|
||||
await NetInfo.isConnected.fetch().then((_isConnected) => {
|
||||
isConnected = _isConnected;
|
||||
});
|
||||
|
||||
@ -104,7 +106,9 @@ class ApplicationContainer extends Component {
|
||||
};
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
const { isDarkTheme: _isDarkTheme, selectedLanguage, isLogingOut, isConnected } = this.props;
|
||||
const {
|
||||
isDarkTheme: _isDarkTheme, selectedLanguage, isLogingOut, isConnected,
|
||||
} = this.props;
|
||||
|
||||
if (_isDarkTheme !== nextProps.isDarkTheme || selectedLanguage !== nextProps.selectedLanguage) {
|
||||
this.setState({ isRenderRequire: false }, () => this.setState({ isRenderRequire: true }));
|
||||
@ -129,12 +133,12 @@ class ApplicationContainer extends Component {
|
||||
}
|
||||
|
||||
_fetchApp = async () => {
|
||||
this._refreshGlobalProps();
|
||||
await this._refreshGlobalProps();
|
||||
this._getSettings();
|
||||
await this._getUserData();
|
||||
};
|
||||
|
||||
_handleConntectionChange = status => {
|
||||
_handleConntectionChange = (status) => {
|
||||
const { dispatch, isConnected } = this.props;
|
||||
|
||||
if (isConnected !== status) {
|
||||
@ -154,6 +158,7 @@ class ApplicationContainer extends Component {
|
||||
} else {
|
||||
BackHandler.exitApp();
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
@ -168,19 +173,20 @@ class ApplicationContainer extends Component {
|
||||
let realmData = [];
|
||||
let currentUsername;
|
||||
|
||||
await getAuthStatus().then(res => {
|
||||
await getAuthStatus().then((res) => {
|
||||
({ currentUsername } = res);
|
||||
|
||||
if (res) {
|
||||
getUserData().then(async userData => {
|
||||
getUserData().then(async (userData) => {
|
||||
if (userData.length > 0) {
|
||||
realmData = userData;
|
||||
userData.forEach((accountData, index) => {
|
||||
if (
|
||||
!accountData.accessToken &&
|
||||
!accountData.masterKey &&
|
||||
!accountData.postingKey &&
|
||||
!accountData.activeKey &&
|
||||
!accountData.memoKey
|
||||
!accountData.accessToken
|
||||
&& !accountData.masterKey
|
||||
&& !accountData.postingKey
|
||||
&& !accountData.activeKey
|
||||
&& !accountData.memoKey
|
||||
) {
|
||||
realmData.splice(index, 1);
|
||||
if (realmData.length === 0) {
|
||||
@ -210,11 +216,12 @@ class ApplicationContainer extends Component {
|
||||
realmObject[0] = realmData[realmData.length - 1];
|
||||
await switchAccount(realmObject[0].username);
|
||||
}
|
||||
|
||||
await getUser(realmObject[0].username)
|
||||
.then(async accountData => {
|
||||
.then((accountData) => {
|
||||
dispatch(login(true));
|
||||
|
||||
const isExistUser = await getExistUser();
|
||||
const isExistUser = getExistUser();
|
||||
|
||||
[accountData.local] = realmObject;
|
||||
|
||||
@ -225,7 +232,7 @@ class ApplicationContainer extends Component {
|
||||
}
|
||||
this._connectNotificationServer(accountData.name);
|
||||
})
|
||||
.catch(err => {
|
||||
.catch((err) => {
|
||||
Alert.alert(err);
|
||||
});
|
||||
}
|
||||
@ -237,13 +244,14 @@ class ApplicationContainer extends Component {
|
||||
_getSettings = () => {
|
||||
const { dispatch } = this.props;
|
||||
|
||||
getSettings().then(response => {
|
||||
getSettings().then((response) => {
|
||||
if (response) {
|
||||
if (response.isDarkTheme !== '') dispatch(isDarkTheme(response.isDarkTheme));
|
||||
if (response.language !== '') dispatch(setLanguage(response.language));
|
||||
if (response.server !== '') dispatch(setApi(response.server));
|
||||
if (response.upvotePercent !== '')
|
||||
if (response.upvotePercent !== '') {
|
||||
dispatch(setUpvotePercent(Number(response.upvotePercent)));
|
||||
}
|
||||
if (response.isDefaultFooter !== '') dispatch(isDefaultFooter(response.isDefaultFooter));
|
||||
if (response.notification !== '') {
|
||||
dispatch(
|
||||
@ -262,7 +270,7 @@ class ApplicationContainer extends Component {
|
||||
});
|
||||
};
|
||||
|
||||
_connectNotificationServer = username => {
|
||||
_connectNotificationServer = (username) => {
|
||||
const { dispatch, unreadActivityCount } = this.props;
|
||||
const ws = new WebSocket(`${Config.ACTIVITY_WEBSOCKET_URL}?user=${username}`);
|
||||
|
||||
@ -300,10 +308,10 @@ class ApplicationContainer extends Component {
|
||||
.catch(() => {});
|
||||
};
|
||||
|
||||
_switchAccount = async targetAccountUsername => {
|
||||
_switchAccount = async (targetAccountUsername) => {
|
||||
const { dispatch } = this.props;
|
||||
|
||||
await switchAccount(targetAccountUsername).then(accountData => {
|
||||
await switchAccount(targetAccountUsername).then((accountData) => {
|
||||
const realmData = getUserDataWithUsername(targetAccountUsername);
|
||||
const _currentAccount = accountData;
|
||||
_currentAccount.username = accountData.name;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user