correction des erreur de traduction

This commit is contained in:
Novic-Djef 2023-11-14 14:59:34 +01:00
parent a9e7c2dd90
commit 6419efb521
7 changed files with 49 additions and 37 deletions

View File

@ -40,7 +40,7 @@ import AddNetwork from "./screens/account/AddNetwork";
import MyHistory from "./screens/history-request/MyHistory"; import MyHistory from "./screens/history-request/MyHistory";
import Icon from "react-native-vector-icons/FontAwesome5"; import Icon from "react-native-vector-icons/FontAwesome5";
import I18n from "react-native-i18n"; import I18n from "react-native-i18n";
import WalletNanosante from './app/screens/wallet/user/WalletNanosante';
import WalletDetail from './screens/wallet/WalletDetail'; import WalletDetail from './screens/wallet/WalletDetail';
import WalletSelect from './screens/wallet/WalletSelect'; import WalletSelect from './screens/wallet/WalletSelect';
import {PersistGate} from 'redux-persist/integration/react'; import {PersistGate} from 'redux-persist/integration/react';
@ -57,6 +57,7 @@ import AutreCarteN from './screens/nano-sante/paymentCard/AutreCarteN';
import CarteLierN from './screens/nano-sante/paymentCard/carteLierN'; import CarteLierN from './screens/nano-sante/paymentCard/carteLierN';
import AutreCarte from './screens/wallet/user/AutreCarte'; import AutreCarte from './screens/wallet/user/AutreCarte';
import CarteLier from './screens/wallet/user/CarteLier' import CarteLier from './screens/wallet/user/CarteLier'
import MobileMoneyNanoSante from './app/screens/wallet/user/MobileMoneyNanoSante'; './s'
import ValidateIdentification from './screens/identification/validateIdentification'; import ValidateIdentification from './screens/identification/validateIdentification';
import CreateIdentificationUser from './screens/identification/CreateIdentificationUser'; import CreateIdentificationUser from './screens/identification/CreateIdentificationUser';
import OperateurOptionSelect from './screens/wallet/OperateurOptionSelect'; import OperateurOptionSelect from './screens/wallet/OperateurOptionSelect';
@ -137,6 +138,7 @@ const AppStack = createDrawerNavigator({
paymentCarteVersAutreWalletNanosante: PaymentCarteVersAutreWalletNanosante, paymentCarteVersAutreWalletNanosante: PaymentCarteVersAutreWalletNanosante,
autreCarteN: AutreCarteN, autreCarteN: AutreCarteN,
carteLierN: CarteLierN, carteLierN: CarteLierN,
mobileMoneyNanoSante: MobileMoneyNanoSante,
operateurOptionSelect: OperateurOptionSelect, operateurOptionSelect: OperateurOptionSelect,
paiementFacture: PaiementFacture, paiementFacture: PaiementFacture,
envoieWalletToWalletUser: EnvoieWalletToWalletUser, envoieWalletToWalletUser: EnvoieWalletToWalletUser,
@ -269,6 +271,10 @@ const AppAgentStack = createDrawerNavigator({
walletOptionSelect: WalletOptionSelect, walletOptionSelect: WalletOptionSelect,
CarteLier: CarteLier, CarteLier: CarteLier,
AutreCarte: AutreCarte, AutreCarte: AutreCarte,
AutreCarteN: AutreCarteN,
CarteLierN: CarteLierN,
MobileMoneyNanoSante: MobileMoneyNanoSante,
WalletNanosante: WalletNanosante,
operateurOptionSelect: OperateurOptionSelect, operateurOptionSelect: OperateurOptionSelect,
paiementFacture: PaiementFacture, paiementFacture: PaiementFacture,
retraitEnCashAgent: RetraitEnCashAgent, retraitEnCashAgent: RetraitEnCashAgent,

View File

@ -82,7 +82,7 @@ class AutreCarteN extends Component {
headerTintColor: 'white', headerTintColor: 'white',
headerStyle: { headerStyle: {
backgroundColor: Color.primaryColor, backgroundColor: Color.primaryColor,
marginTop: 30, marginTop: 0,
color: 'white', color: 'white',
}, },
headerTitleStyle: { headerTitleStyle: {

View File

@ -34,7 +34,7 @@ class PaymentCard extends Component {
headerTintColor: 'white', headerTintColor: 'white',
headerStyle: { headerStyle: {
backgroundColor: Color.primaryColor, backgroundColor: Color.primaryColor,
marginTop: 30, marginTop: 0,
color: 'white' color: 'white'
}, },
headerTitleStyle: { headerTitleStyle: {
@ -121,7 +121,6 @@ class PaymentCard extends Component {
<TouchableOpacity style={styles.contain} <TouchableOpacity style={styles.contain}
onPress={() => { onPress={() => {
this.props.navigation.push(route.carteLierN, { this.props.navigation.push(route.carteLierN, {
optionSelect: optionenvoieautrewalletNanoSanteScreen, optionSelect: optionenvoieautrewalletNanoSanteScreen,
with_linked_card : true, with_linked_card : true,
onGoBack: () => this.refresh(), onGoBack: () => this.refresh(),
@ -324,7 +323,9 @@ const styles = StyleSheet.create({
flex: 1, flex: 1,
}, },
contentTitle: { contentTitle: {
paddingTop: 5, display: 'flex',
marginTop: 22,
textAlign: 'center',
} }
}); });

View File

@ -22,7 +22,6 @@ import {useFormik} from 'formik';
import * as Yup from 'yup'; import * as Yup from 'yup';
import * as Utils from '../../../utils/UtilsFunction' import * as Utils from '../../../utils/UtilsFunction'
import {IlinkEmitter} from '../../../utils/events'; import {IlinkEmitter} from '../../../utils/events';
import { optionenvoieautrewalletNanoSanteScreen} from '../../../utils/UtilsFunction'
import {Color} from "../../../config/Color"; import {Color} from "../../../config/Color";
import I18n from 'react-native-i18n'; import I18n from 'react-native-i18n';
import {Fumi} from 'react-native-textinput-effects'; import {Fumi} from 'react-native-textinput-effects';
@ -59,24 +58,9 @@ const navigatorStyle = {
navBarTextColor: '#FFFFFF', navBarTextColor: '#FFFFFF',
navBarButtonColor: '#FFFFFF' navBarButtonColor: '#FFFFFF'
}; };
const navigationOptions = () => {
return {
drawerLabel: () => null,
headerTitle: I18n.t('PAIEMENT_FACTURE'),
headerTintColor: 'white',
headerStyle: {
backgroundColor: Color.primaryColor,
marginTop: 0,
color: 'white'
},
headerTitleStyle: {
color: "white"
},
title: I18n.t('PAIEMENT_FACTURE')
}
};
const CarteLierN = ({ const CarteLierN = ({
@ -93,7 +77,22 @@ const CarteLierN = ({
const [subscription, setSubscription] = useState(null); const [subscription, setSubscription] = useState(null);
const navigationOptions = () => {
return {
drawerLabel: () => null,
headerTitle: I18n.t('PAIEMENT_FACTURE'),
headerTintColor: 'white',
headerStyle: {
backgroundColor: Color.primaryColor,
marginTop: 0,
color: 'white'
},
headerTitleStyle: {
color: "white"
},
title: I18n.t('PAIEMENT_FACTURE')
}
};
const dispatch = useDispatch(); const dispatch = useDispatch();
let dropDownAlertRef: any = null; let dropDownAlertRef: any = null;
@ -242,8 +241,8 @@ const CarteLierN = ({
}); });
return ( return (
<ScreenComponent> // <ScreenComponent>
<DropdownAlert ref={ref => (dropDownAlertRef = ref)}/> // <DropdownAlert ref={ref => (dropDownAlertRef = ref)}/>
<KeyboardAvoidingView <KeyboardAvoidingView
behavior={Platform.OS === 'android' ? 'height' : 'padding'} behavior={Platform.OS === 'android' ? 'height' : 'padding'}
style={{flex: 1}}> style={{flex: 1}}>
@ -358,7 +357,7 @@ const CarteLierN = ({
</ScrollView> </ScrollView>
</KeyboardAvoidingView> </KeyboardAvoidingView>
</ScreenComponent> // </ScreenComponent>
); );
}; };

View File

@ -25,7 +25,7 @@ import { optionenvoieautrewalletNanoSanteScreen} from '../../../utils/UtilsFunct
import {Color} from "../../../config/Color"; import {Color} from "../../../config/Color";
import I18n from 'react-native-i18n'; import I18n from 'react-native-i18n';
import {Fumi} from 'react-native-textinput-effects'; import {Fumi} from 'react-native-textinput-effects';
import {ScreenComponent} from "../../../components/ScreenComponent"; // import {ScreenComponent} from "../../../components/ScreenComponent";
import PasswordInput from '../../../components/PasswordInput'; import PasswordInput from '../../../components/PasswordInput';
import Button from "../../../components/Button"; import Button from "../../../components/Button";
import FontAwesome from "react-native-vector-icons/FontAwesome"; import FontAwesome from "react-native-vector-icons/FontAwesome";
@ -35,7 +35,7 @@ import {
fetchGetSubscriptionList, fetchGetSubscriptionList,
fetchGetSubscriptionListReset fetchGetSubscriptionListReset
} from "../../../redux/insurance/insurance.actions"; } from "../../../redux/insurance/insurance.actions";
import DropdownAlert from "react-native-dropdownalert"; // import DropdownAlert from "react-native-dropdownalert";
import {readUser} from "../../../webservice/AuthApi"; import {readUser} from "../../../webservice/AuthApi";
import * as Animatable from 'react-native-animatable'; import * as Animatable from 'react-native-animatable';
import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'; import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome';
@ -388,8 +388,8 @@ const MobileMoneyNanoSante = ({
) )
return ( return (
<ScreenComponent> // <ScreenComponent>
<DropdownAlert ref={ref => (dropDownAlertRef = ref)}/> // <DropdownAlert ref={ref => (dropDownAlertRef = ref)}/>
<KeyboardAvoidingView <KeyboardAvoidingView
behavior={Platform.OS === 'android' ? 'height' : 'padding'} behavior={Platform.OS === 'android' ? 'height' : 'padding'}
style={{flex: 1}}> style={{flex: 1}}>
@ -492,7 +492,7 @@ const MobileMoneyNanoSante = ({
</ScrollView> </ScrollView>
</KeyboardAvoidingView> </KeyboardAvoidingView>
</ScreenComponent> // </ScreenComponent>
); );
}; };

View File

@ -34,7 +34,7 @@ import {
fetchGetSubscriptionList, fetchGetSubscriptionList,
fetchGetSubscriptionListReset fetchGetSubscriptionListReset
} from "../../../redux/insurance/insurance.actions"; } from "../../../redux/insurance/insurance.actions";
import DropdownAlert from "react-native-dropdownalert"; // import DropdownAlert from "react-native-dropdownalert";
import {readUser} from "../../../webservice/AuthApi"; import {readUser} from "../../../webservice/AuthApi";
import * as Animatable from 'react-native-animatable'; import * as Animatable from 'react-native-animatable';
import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'; import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome';
@ -259,7 +259,7 @@ const WalletNanoSante = ({
const dispatch = useDispatch(); const dispatch = useDispatch();
let dropDownAlertRef: any = null; // let dropDownAlertRef: any = null;
let subscriptionRef = null; let subscriptionRef = null;
let amountPerMonthRef = null; let amountPerMonthRef = null;
const [wallet] = useState(store.getState().walletDetailReducer.result.response); const [wallet] = useState(store.getState().walletDetailReducer.result.response);
@ -522,8 +522,8 @@ const WalletNanoSante = ({
// ) // )
return ( return (
<ScreenComponent> // <ScreenComponent>
<DropdownAlert ref={ref => (dropDownAlertRef = ref)}/> // <DropdownAlert ref={ref => (dropDownAlertRef = ref)}/>
<KeyboardAvoidingView <KeyboardAvoidingView
behavior={Platform.OS === 'android' ? 'height' : 'padding'} behavior={Platform.OS === 'android' ? 'height' : 'padding'}
style={{flex: 1}}> style={{flex: 1}}>
@ -629,7 +629,7 @@ const WalletNanoSante = ({
</ScrollView> </ScrollView>
</KeyboardAvoidingView> </KeyboardAvoidingView>
</ScreenComponent> // </ScreenComponent>
); );
}; };

View File

@ -22,6 +22,12 @@
"TAKE_MY_PLACE": "Take my position", "TAKE_MY_PLACE": "Take my position",
"MAP": "The map", "MAP": "The map",
"BSR": "Good evening", "BSR": "Good evening",
"ZIP_CODE": "Postal Code",
"ETAT_STATE": "Etat or State",
"REATTACH__MY_CARD": "Rattach my Card",
"CARD_LINK": "Linked Card",
"OTHER_CARD": "Other Card",
"CHOUSE_PAYEMENT_MODE": "Chouse Payement Mode",
"ACCOUNT_CREATED_SUCCESS": "Account created successfully.\nYou will receive in a few minutes an email and an SMS with your informations.\nWe will redirect you to the login page", "ACCOUNT_CREATED_SUCCESS": "Account created successfully.\nYou will receive in a few minutes an email and an SMS with your informations.\nWe will redirect you to the login page",
"OR_BIG": "OR", "OR_BIG": "OR",
"FOR_NUMB": "For the ", "FOR_NUMB": "For the ",