diff --git a/i18n/locales/en.js b/i18n/locales/en.js index 9365dfca..8a9ae8f7 100644 --- a/i18n/locales/en.js +++ b/i18n/locales/en.js @@ -65,8 +65,8 @@ export default { connect_internet_to_update: 'connect the internet to update', for_checking_in_with_qr: 'for checking in with QR Code', press_to_confirm: 'Confirm', - can_not_change_picture: 'Can not change picture', - can_change_pic_again_in: 'You can change picture again in ', + can_not_change_picture: 'Cannot change picture', + can_change_pic_again_in: 'You can change picture again in', day_s: 'day(s)', are_you_sure: 'Are you sure?', after_changed_pic_you_will_not_be_able_to_change_until: diff --git a/src/navigations/3-MainApp/MainApp/UpdateProfileButton.tsx b/src/navigations/3-MainApp/MainApp/UpdateProfileButton.tsx index fc883349..b8852bad 100644 --- a/src/navigations/3-MainApp/MainApp/UpdateProfileButton.tsx +++ b/src/navigations/3-MainApp/MainApp/UpdateProfileButton.tsx @@ -29,7 +29,7 @@ export const UpdateProfileButton = ({ width, style, onChange }) => { const day = DEFAULT_PERIODS - daySinceUpdated Alert.alert( I18n.t('can_not_change_picture'), - 'คุณจะสามารถเปลี่ยนรูปได้อีกใน ' + day + I18n.t('day_s'), + I18n.t('can_change_pic_again_in') + ' ' + day + ' ' + I18n.t('day_s'), ) } else { navigation.navigate('MainAppFaceCamera', { @@ -37,7 +37,7 @@ export const UpdateProfileButton = ({ width, style, onChange }) => { if (daySinceCreated >= 3) { Alert.alert( I18n.t('are_you_sure'), - `I18n.t('after_changed_pic_you_will_not_be_able_to_change_until') ${DEFAULT_PERIODS} I18n.t('day_s_have_passed')`, + `${I18n.t('after_changed_pic_you_will_not_be_able_to_change_until')} ${DEFAULT_PERIODS} ${I18n.t('day_s_have_passed')}`, [ { text: I18n.t('cancel'), style: 'cancel' }, {