aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/locales
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-21 19:53:33 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-21 19:53:33 +0200
commit9f3445d03f106ee3ebd8b4b1bd546a08d9169af7 (patch)
treefabae2b4c9e2fee75a73c5ba1479075be908a584 /packages/meshbay-hub/src/meshbay_hub/static/locales
parent24b563d0073849d0ba74c3fce9822a70c98e9d9f (diff)
downloadmeshbay-9f3445d03f106ee3ebd8b4b1bd546a08d9169af7.tar.gz
fix: ask in the page instead of native confirm/alert
A native confirm() or alert() leaves the desktop client unable to type until the window is refocused. ask.js draws both in the page; the SPA test now bans all three browser dialogs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/de.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/en.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/es.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/it.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js4
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js4
10 files changed, 40 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js
index 989b5ca..e742787 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js
@@ -1140,4 +1140,8 @@ export default {
'node.root_rw': 'Lesen/Schreiben',
'node.root_ro': 'Nur lesen',
'node.removable': 'wechselbar',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Abbrechen',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
index 5042b31..87e5a4a 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
@@ -1121,4 +1121,8 @@ export default {
'node.tab_peers': 'Peers',
'node.tab_audit': 'Audit',
'node.tab_settings': 'Settings',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Cancel',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js
index 80beb15..9e4040d 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js
@@ -1134,4 +1134,8 @@ export default {
'node.root_rw': 'lectura-escritura',
'node.root_ro': 'solo lectura',
'node.removable': 'extraíble',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'Aceptar',
+ 'dialog.cancel': 'Cancelar',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js
index bc2e221..aaa3e19 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js
@@ -1149,4 +1149,8 @@ export default {
'node.tab_peers': 'Peers',
'node.tab_audit': 'Audit',
'node.tab_settings': 'Settings',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Annuler',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js
index 34296e1..a976e09 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js
@@ -1148,4 +1148,8 @@ export default {
'node.root_rw': 'lettura-scrittura',
'node.root_ro': 'sola lettura',
'node.removable': 'rimovibile',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Annulla',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
index d256d1b..2660e7f 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
@@ -1132,4 +1132,8 @@ export default {
'node.root_rw': '読み書き',
'node.root_ro': '読み取り専用',
'node.removable': 'リムーバブル',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'キャンセル',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js
index 2c5c854..81ed678 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js
@@ -1150,4 +1150,8 @@ export default {
'node.root_rw': 'lezen-schrijven',
'node.root_ro': 'alleen-lezen',
'node.removable': 'verwijderbaar',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Annuleren',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js
index f2cfb8d..bd91a07 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js
@@ -1176,4 +1176,8 @@ export default {
'node.root_rw': 'odczyt-zapis',
'node.root_ro': 'tylko odczyt',
'node.removable': 'wymienny',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Anuluj',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
index 9d51a9c..490f2f9 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
@@ -1135,4 +1135,8 @@ export default {
'node.root_rw': 'leitura-escrita',
'node.root_ro': 'somente leitura',
'node.removable': 'removível',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': 'OK',
+ 'dialog.cancel': 'Cancelar',
};
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
index 5ca0571..8609297 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
@@ -1121,4 +1121,8 @@ export default {
'node.root_rw': '读写',
'node.root_ro': '只读',
'node.removable': '可移除',
+
+ // In-page confirm/alert (ask.js)
+ 'dialog.ok': '确定',
+ 'dialog.cancel': '取消',
};