From ea4de411c02cdd8d39ae5ed572959bf2066ea2c4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Jun 2026 13:53:29 +0800 Subject: [PATCH] =?UTF-8?q?i18n:=20=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E6=8F=90=E7=A4=BA=E6=96=87=E5=AD=97=E6=94=AF?= =?UTF-8?q?=E6=8C=81i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bricks/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/input.js b/bricks/input.js index 1b16f59..4042cfe 100644 --- a/bricks/input.js +++ b/bricks/input.js @@ -402,7 +402,7 @@ bricks.UiFile = class extends bricks.VBox { if (opts.accept) this.input.accept = opts.accept; if (opts.multiple) this.input.multiple = true; this.input.addEventListener('change', this.handleFileSelect.bind(this)); - this.add_widget(new bricks.Text({text:'drop in or click to choose file'})); + this.add_widget(new bricks.Text({otext:'drop in or click to choose file', i18n:true})); this.dom_element.appendChild(this.input); } reset(){