diff --git a/components/common/StatsTable.js b/components/common/StatsTable.js index 19382c7..8da9aa1 100644 --- a/components/common/StatsTable.js +++ b/components/common/StatsTable.js @@ -67,19 +67,23 @@ StatsTable.propTypes = { const ItemDivider = () => -const FlatListHeader = () => ( - - - {'Cycle Start'} +const FlatListHeader = () => { + const { t } = useTranslation(null, { keyPrefix: 'stats' }) + + return ( + + + {t('cycle_start')} + + + {t('cycle_length')} + + + {t('bleeding')} + - - {'Cycle Length'} - - - {'Bleeding'} - - -) + ) +} const styles = StyleSheet.create({ accentCell: {