Download here.
react-native project
https://github.com/lengerrong/WestminsterShorterCatechismQA
Can't release for iOS yet, since I do not have a mac laptop yet.
https://github.com/lengerrong/WestminsterShorterCatechismQA
Can't release for iOS yet, since I do not have a mac laptop yet.
Your privacy is critically important to us. At errong.win, we do not collect and transmit any user data.
export default {
wcsqa: 'Westminster Shorter Catechism Q&A'
};
.\app\i18n\locales\zh.jsexport default {
wcsqa: '威斯敏斯德小要理问答'
};
.\app\i18n\i18n.jsimport I18n from 'react-native-i18n';
import en from './locales/en';
import zh from './locales/zh';
I18n.fallbacks = true;
I18n.translations = {
en,
zh
};
export default I18n;
import ReactNativeLanguages from 'react-native-languages'; import I18n from './app/i18n/i18n' ReactNativeLanguages.addEventListener('change', ({ language }) => { I18n.locale = language; }); render() { return ( <View style={styles.container}> <View style={styles.header}> <Text style={styles.title}> {I18n.t('wcsqa')} </Text> ... // other contents </View> ... // other contents </View> ) }
render() { return ( <View style={styles.container}> <View style={styles.header}> <Text style={styles.title}> {I18n.t('wcsqa')} // your title </Text> <TouchableOpacity onPress={() => {}}> <Image style={styles.option} source={require('./res/img/nav_icon.png')} /> </TouchableOpacity> </View> <View style={styles.content}> <Text> {this.wcs[0].Q} // your content </Text> </View> </View> ) }
const styles = StyleSheet.create({
container: {
flex: 2,
},
header: {
backgroundColor: '#00FF7F',
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-around',
},
title: {
fontSize: 20,
fontWeight: 'bold'
},
option: {
width:32,
height:32
},
content: {
backgroundColor: '#F5DEB3',
flex: 12
}
});
zh-Hant
import { getLanguages } from 'react-native-i18n'
getLanguages().then(languages => {
console.log(languages);
});
Unable to process incoming event 'ProgressComplete ' (ProgressCompleteEvent) on Windows
I looked solution from web, but not found one can work for my issue.
https://github.com/gradle/gradle/issues/882
Then I just closed my shell window(cmd.exe or powershell.exe) and reopen a new one,
I found the issue gone.
Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...