fix(dialog) fixed translations

This commit is contained in:
Calin Chitu 2022-02-09 11:52:20 +02:00 committed by Calinteodor
parent 06bd279f22
commit e76adb2e1d
1 changed files with 2 additions and 2 deletions

View File

@ -121,11 +121,11 @@ class ConfirmDialog extends AbstractDialog<Props> {
{ this._renderDescription() }
{ children }
<Dialog.Button
label = { cancelLabel || t('dialog.confirmNo') }
label = { t(cancelLabel || 'dialog.confirmNo') }
onPress = { this._onCancel }
style = { styles.dialogButton } />
<Dialog.Button
label = { confirmLabel || t('dialog.confirmYes') }
label = { t(confirmLabel || 'dialog.confirmYes') }
onPress = { this._onSubmit }
style = { dialogButtonStyle } />
</Dialog.Container>