2859 - Force translation for SMS
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-04-08 13:39:11 +02:00
parent f5b95a0c4d
commit af0307a419
2 changed files with 2 additions and 5 deletions

View File

@ -83,9 +83,6 @@ export default class Field extends FormInput {
this._required = value;
let required = this.element.querySelector('.required');
display(required, this._required);
this.$.$applyAsync(() =>
this.input.setAttribute('required', value));
}
get required() {

View File

@ -165,13 +165,13 @@ class Controller extends Section {
created: this.ticket.updated
};
this.showSMSDialog({
message: this.$params.message || this.$t('Minimum is needed', params)
message: this.$t('Minimum is needed', params)
});
}
sendPaymentSms() {
this.showSMSDialog({
message: this.$params.message || this.$t('Make a payment')
message: this.$t('Make a payment')
});
}