refs #5081 fix sms faltas
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pau 2023-01-12 11:48:44 +01:00
parent fe6211e965
commit b6de50848a
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Send SMS: Enviar SMS
Destination: Destinatario
Message: Mensaje
SMS sent!: ¡SMS enviado!
SMS sent: ¡SMS enviado!
Characters remaining: Carácteres restantes
The destination can't be empty: El destinatario no puede estar vacio
The message can't be empty: El mensaje no puede estar vacio

View File

@ -26,7 +26,7 @@ class Controller extends Component {
throw new Error(`The message it's too long`);
this.$http.post(`Routes/sendSms`, this.sms).then(res => {
this.vnApp.showMessage(this.$t('SMS sent!'));
this.vnApp.showMessage(this.$t('SMS sent'));
if (res.data) this.emit('send', {response: res.data});
});

View File

@ -441,10 +441,10 @@
</vn-popover>
<!-- SMS Dialog -->
<vn-ticket-sms
<vn-sms-dialog
vn-id="sms"
sms="$ctrl.newSMS">
</vn-ticket-sms>
</vn-sms-dialog>
<vn-confirm
vn-id="delete-lines"