details: https://code.tryton.org/tryton/commit/6c484bbad45f
branch: default
user: Cédric Krier <[email protected]>
date: Wed Mar 18 17:35:20 2026 +0100
description:
Set the processing label when it is shown to be translated
Closes #14692
diffstat:
sao/src/common.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r a40ad82e4bae -r 6c484bbad45f sao/src/common.js
--- a/sao/src/common.js Tue Feb 24 22:39:38 2026 +0100
+++ b/sao/src/common.js Wed Mar 18 17:35:20 2026 +0100
@@ -3737,11 +3737,9 @@
'class': 'alert alert-info',
'role': 'alert',
});
- var label = jQuery('<p/>', {
- 'text': Sao.i18n.gettext('Processing'),
- }).appendTo(this.el);
+ this.label = jQuery('<p/>').appendTo(this.el);
for (var i = 0; i < 3; i ++) {
- label.append(jQuery('<span/>', {
+ this.label.append(jQuery('<span/>', {
'class': 'dot',
'text': '.',
}));
@@ -3752,6 +3750,7 @@
});
},
show: function(timeout=null) {
+ this.label.text(Sao.i18n.gettext("Processing"));
if (timeout === null) {
timeout = this.timeout;
}