diff --git a/crates/kiri/src/ui/index.html b/crates/kiri/src/ui/index.html
index f7962aaa..ace5ac91 100644
--- a/crates/kiri/src/ui/index.html
+++ b/crates/kiri/src/ui/index.html
@@ -112,7 +112,7 @@
.gfind:hover { border-color: color-mix(in srgb, var(--text) 22%, var(--line)); }
.gfind:focus-within { width: 400px; background: var(--panel); border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.gfind > svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
-.gfind input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--text); font: var(--fs) var(--ui-font); outline: none; }
+.gfind input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--text); font: var(--fs) var(--ui-font); outline: none; -webkit-user-select: text; user-select: text; }
.gfind input::placeholder { color: var(--faint); }
.gfind kbd { flex: none; height: 18px; padding: 0 6px; border-radius: 5px; display: inline-flex; align-items: center; font: 500 var(--fs-small) var(--ui-font);
color: var(--faint); background: color-mix(in srgb, var(--text) 6%, transparent); transition: opacity .15s; }
@@ -2760,12 +2760,11 @@
Containers
const editable = ev.target.closest?.("input, textarea, [contenteditable]");
if (!editable && !String(getSelection()).trim()) ev.preventDefault();
});
-/* Copy with the keyboard. The window has no Edit menu, which is where the
- Mac gets Copy's key from, so selected text (a log, a row's value) goes to
- the clipboard the way the terminal's does. Text fields and the terminal
- keep their own handling. */
+/* Copy with the keyboard: selected text (a log, a row's value) goes to the
+ clipboard the way the terminal's does. On the Mac, Edit → Copy does it.
+ Text fields and the terminal keep their own handling. */
document.addEventListener("keydown", (ev) => {
- const mod = WIN || LINUX ? ev.ctrlKey && !ev.metaKey : ev.metaKey && !ev.ctrlKey;
+ const mod = (WIN || LINUX) && ev.ctrlKey && !ev.metaKey;
if (!mod || ev.altKey || ev.shiftKey || ev.key.toLowerCase() !== "c") return;
if (ev.target.closest?.("input, textarea, [contenteditable], .xterm")) return;
const text = String(getSelection());
diff --git a/crates/kiri/src/ui/lang/am.json b/crates/kiri/src/ui/lang/am.json
index 51fedd29..53b1f988 100644
--- a/crates/kiri/src/ui/lang/am.json
+++ b/crates/kiri/src/ui/lang/am.json
@@ -248,6 +248,7 @@
"Created": "የተፈጠረ",
"Critical": "ወሳኝ",
"Custom": "ብጁ",
+ "Cut": "ቁረጥ",
"Dark": "ጨለማ",
"Database": "የውሂብ ጎታ",
"Debug": "ማረሚያ",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name}ን እንደገና በማገናኘት ላይ…",
"Reconnecting · {reason}": "እንደገና በማገናኘት ላይ · {reason}",
"Reconnecting…": "እንደገና በማገናኘት ላይ…",
+ "Redo": "ድገም",
"Registries": "ሬጂስትሪዎች",
"Registry": "ሬጂስትሪ",
"Reload": "እንደገና ጫን",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ምን እንደሚመስል ይመልከቱ ↗",
"See why": "ምክንያቱን ይመልከቱ",
"Select": "ምረጥ",
+ "Select All": "ሁሉንም ምረጥ",
"Select all": "ሁሉንም ምረጥ",
"Select all in this project": "በዚህ ፕሮጀክት ውስጥ ያሉትን ሁሉ ምረጥ",
"Select all {n}": "ሁሉንም {n} ምረጥ",
diff --git a/crates/kiri/src/ui/lang/ar.json b/crates/kiri/src/ui/lang/ar.json
index 3d6a63d2..684f3b2e 100644
--- a/crates/kiri/src/ui/lang/ar.json
+++ b/crates/kiri/src/ui/lang/ar.json
@@ -248,6 +248,7 @@
"Created": "الإنشاء",
"Critical": "حرج",
"Custom": "مخصص",
+ "Cut": "قص",
"Dark": "داكن",
"Database": "قاعدة بيانات",
"Debug": "تصحيح",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "جارٍ إعادة اتصال {name}…",
"Reconnecting · {reason}": "جارٍ إعادة الاتصال · {reason}",
"Reconnecting…": "جارٍ إعادة الاتصال…",
+ "Redo": "إعادة",
"Registries": "سجلات الصور",
"Registry": "سجل الصور",
"Reload": "إعادة التحميل",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "عرض الشكل ↗",
"See why": "عرض السبب",
"Select": "تحديد",
+ "Select All": "تحديد الكل",
"Select all": "تحديد الكل",
"Select all in this project": "تحديد الكل في هذا المشروع",
"Select all {n}": "تحديد الكل ({n})",
diff --git a/crates/kiri/src/ui/lang/bg.json b/crates/kiri/src/ui/lang/bg.json
index 4f1bb1a9..f54a0bdb 100644
--- a/crates/kiri/src/ui/lang/bg.json
+++ b/crates/kiri/src/ui/lang/bg.json
@@ -248,6 +248,7 @@
"Created": "Създаден",
"Critical": "Критична",
"Custom": "Персонализиран",
+ "Cut": "Изрязване",
"Dark": "Тъмна",
"Database": "База данни",
"Debug": "Отстраняване на грешки",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Повторно свързване на {name}…",
"Reconnecting · {reason}": "Повторно свързване · {reason}",
"Reconnecting…": "Повторно свързване…",
+ "Redo": "Повторение",
"Registries": "Регистри",
"Registry": "Регистър",
"Reload": "Презареждане",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Вижте как изглежда ↗",
"See why": "Защо?",
"Select": "Избиране",
+ "Select All": "Избиране на всички",
"Select all": "Избиране на всички",
"Select all in this project": "Избиране на всички в този проект",
"Select all {n}": "Избиране на всички ({n})",
diff --git a/crates/kiri/src/ui/lang/bn.json b/crates/kiri/src/ui/lang/bn.json
index 896a2929..592b8685 100644
--- a/crates/kiri/src/ui/lang/bn.json
+++ b/crates/kiri/src/ui/lang/bn.json
@@ -248,6 +248,7 @@
"Created": "তৈরি হয়েছে",
"Critical": "সংকটপূর্ণ",
"Custom": "কাস্টম",
+ "Cut": "কাট",
"Dark": "ডার্ক",
"Database": "ডেটাবেস",
"Debug": "ডিবাগ",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} আবার সংযোগ হচ্ছে…",
"Reconnecting · {reason}": "আবার সংযোগ হচ্ছে · {reason}",
"Reconnecting…": "আবার সংযোগ হচ্ছে…",
+ "Redo": "পুনরায় করুন",
"Registries": "রেজিস্ট্রি",
"Registry": "রেজিস্ট্রি",
"Reload": "রিলোড",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "এটি দেখতে কেমন দেখুন ↗",
"See why": "কারণ দেখুন",
"Select": "নির্বাচন করুন",
+ "Select All": "সব নির্বাচন করুন",
"Select all": "সব নির্বাচন করুন",
"Select all in this project": "এই প্রজেক্টের সব নির্বাচন করুন",
"Select all {n}": "সব {n}টি নির্বাচন করুন",
diff --git a/crates/kiri/src/ui/lang/ca.json b/crates/kiri/src/ui/lang/ca.json
index 05d17b03..e1f6691b 100644
--- a/crates/kiri/src/ui/lang/ca.json
+++ b/crates/kiri/src/ui/lang/ca.json
@@ -248,6 +248,7 @@
"Created": "Creat",
"Critical": "Crític",
"Custom": "Personalitzat",
+ "Cut": "Retalla",
"Dark": "Fosc",
"Database": "Base de dades",
"Debug": "Depuració",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconnectant {name}…",
"Reconnecting · {reason}": "Reconnectant · {reason}",
"Reconnecting…": "Reconnectant…",
+ "Redo": "Refés",
"Registries": "Registres d'imatges",
"Registry": "Registre d'imatges",
"Reload": "Torna a carregar",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Mira com és ↗",
"See why": "Mostra per què",
"Select": "Selecciona",
+ "Select All": "Selecciona-ho tot",
"Select all": "Selecciona-ho tot",
"Select all in this project": "Selecciona-ho tot en aquest projecte",
"Select all {n}": "Selecciona'ls tots ({n})",
diff --git a/crates/kiri/src/ui/lang/ckb.json b/crates/kiri/src/ui/lang/ckb.json
index f5b19006..314f93e2 100644
--- a/crates/kiri/src/ui/lang/ckb.json
+++ b/crates/kiri/src/ui/lang/ckb.json
@@ -248,6 +248,7 @@
"Created": "دروستکراوە",
"Critical": "مەترسیدار",
"Custom": "تایبەت",
+ "Cut": "بڕین",
"Dark": "تاریک",
"Database": "بنکەدراوە",
"Debug": "هەڵەدۆزی",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "دووبارە پەیوەستکردنەوەی {name}…",
"Reconnecting · {reason}": "دووبارە پەیوەستبوونەوە · {reason}",
"Reconnecting…": "دووبارە پەیوەستبوونەوە…",
+ "Redo": "دووبارەکردنەوە",
"Registries": "Registry ەکان",
"Registry": "Registry",
"Reload": "بارکردنەوە",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ببینە چۆن دەردەکەوێت ↗",
"See why": "هۆکار ببینە",
"Select": "هەڵبژاردن",
+ "Select All": "هەڵبژاردنی هەموو",
"Select all": "هەڵبژاردنی هەموو",
"Select all in this project": "هەڵبژاردنی هەموو لەم پرۆژەیەدا",
"Select all {n}": "هەڵبژاردنی هەموو ({n})",
diff --git a/crates/kiri/src/ui/lang/cs.json b/crates/kiri/src/ui/lang/cs.json
index 2aa4c1b4..9b6dfc92 100644
--- a/crates/kiri/src/ui/lang/cs.json
+++ b/crates/kiri/src/ui/lang/cs.json
@@ -248,6 +248,7 @@
"Created": "Vytvořeno",
"Critical": "Kritická",
"Custom": "Vlastní",
+ "Cut": "Vyjmout",
"Dark": "Tmavý",
"Database": "Databáze",
"Debug": "Ladění",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Opětovné připojování {name}…",
"Reconnecting · {reason}": "Opětovné připojování · {reason}",
"Reconnecting…": "Opětovné připojování…",
+ "Redo": "Znovu",
"Registries": "Registry",
"Registry": "Registr",
"Reload": "Znovu načíst",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Podívejte se, jak to vypadá ↗",
"See why": "Proč?",
"Select": "Vybrat",
+ "Select All": "Vybrat vše",
"Select all": "Vybrat vše",
"Select all in this project": "Vybrat vše v tomto projektu",
"Select all {n}": "Vybrat vše ({n})",
diff --git a/crates/kiri/src/ui/lang/de.json b/crates/kiri/src/ui/lang/de.json
index ccd4bad9..1324c245 100644
--- a/crates/kiri/src/ui/lang/de.json
+++ b/crates/kiri/src/ui/lang/de.json
@@ -248,6 +248,7 @@
"Created": "Erstellt",
"Critical": "Kritisch",
"Custom": "Eigene",
+ "Cut": "Ausschneiden",
"Dark": "Dunkel",
"Database": "Datenbank",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Verbinde {name} neu…",
"Reconnecting · {reason}": "Verbinde neu · {reason}",
"Reconnecting…": "Verbinde neu…",
+ "Redo": "Wiederholen",
"Registries": "Registrys",
"Registry": "Registry",
"Reload": "Neu laden",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "So sieht es aus ↗",
"See why": "Warum?",
"Select": "Auswählen",
+ "Select All": "Alle auswählen",
"Select all": "Alle auswählen",
"Select all in this project": "Alle in diesem Projekt auswählen",
"Select all {n}": "Alle {n} auswählen",
diff --git a/crates/kiri/src/ui/lang/el.json b/crates/kiri/src/ui/lang/el.json
index c43649bb..c0c4788c 100644
--- a/crates/kiri/src/ui/lang/el.json
+++ b/crates/kiri/src/ui/lang/el.json
@@ -248,6 +248,7 @@
"Created": "Δημιουργήθηκε",
"Critical": "Κρίσιμο",
"Custom": "Προσαρμογή",
+ "Cut": "Αποκοπή",
"Dark": "Σκούρο",
"Database": "Βάση δεδομένων",
"Debug": "Αποσφαλμάτωση",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Επανασύνδεση του {name}…",
"Reconnecting · {reason}": "Επανασύνδεση · {reason}",
"Reconnecting…": "Επανασύνδεση…",
+ "Redo": "Επανάληψη",
"Registries": "Registries",
"Registry": "Registry",
"Reload": "Επαναφόρτωση",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Δείτε πώς φαίνεται ↗",
"See why": "Γιατί;",
"Select": "Επιλογή",
+ "Select All": "Επιλογή όλων",
"Select all": "Επιλογή όλων",
"Select all in this project": "Επιλογή όλων σε αυτό το έργο",
"Select all {n}": "Επιλογή και των {n}",
diff --git a/crates/kiri/src/ui/lang/es.json b/crates/kiri/src/ui/lang/es.json
index ba9e3425..e9c14ab7 100644
--- a/crates/kiri/src/ui/lang/es.json
+++ b/crates/kiri/src/ui/lang/es.json
@@ -248,6 +248,7 @@
"Created": "Creado",
"Critical": "Crítico",
"Custom": "Personalizado",
+ "Cut": "Cortar",
"Dark": "Oscuro",
"Database": "Base de datos",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconectando {name}…",
"Reconnecting · {reason}": "Reconectando · {reason}",
"Reconnecting…": "Reconectando…",
+ "Redo": "Rehacer",
"Registries": "Registros",
"Registry": "Registro",
"Reload": "Recargar",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Ver cómo queda ↗",
"See why": "Ver por qué",
"Select": "Seleccionar",
+ "Select All": "Seleccionar todo",
"Select all": "Seleccionar todo",
"Select all in this project": "Seleccionar todo en este proyecto",
"Select all {n}": "Seleccionar los {n}",
diff --git a/crates/kiri/src/ui/lang/fa.json b/crates/kiri/src/ui/lang/fa.json
index 3f7077e8..ec73d686 100644
--- a/crates/kiri/src/ui/lang/fa.json
+++ b/crates/kiri/src/ui/lang/fa.json
@@ -248,6 +248,7 @@
"Created": "ایجاد",
"Critical": "بحرانی",
"Custom": "سفارشی",
+ "Cut": "برش",
"Dark": "تیره",
"Database": "پایگاه داده",
"Debug": "اشکالزدایی",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "در حال اتصال مجدد {name}…",
"Reconnecting · {reason}": "در حال اتصال مجدد · {reason}",
"Reconnecting…": "در حال اتصال مجدد…",
+ "Redo": "ازنو",
"Registries": "رجیستریها",
"Registry": "رجیستری",
"Reload": "بارگذاری مجدد",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ببینید چه شکلی است ↗",
"See why": "دیدن دلیل",
"Select": "انتخاب",
+ "Select All": "انتخاب همه",
"Select all": "انتخاب همه",
"Select all in this project": "انتخاب همه در این پروژه",
"Select all {n}": "انتخاب همهٔ {n} مورد",
diff --git a/crates/kiri/src/ui/lang/fi.json b/crates/kiri/src/ui/lang/fi.json
index 4a6c8c3d..9ac18505 100644
--- a/crates/kiri/src/ui/lang/fi.json
+++ b/crates/kiri/src/ui/lang/fi.json
@@ -248,6 +248,7 @@
"Created": "Luotu",
"Critical": "Kriittinen",
"Custom": "Mukautettu",
+ "Cut": "Leikkaa",
"Dark": "Tumma",
"Database": "Tietokanta",
"Debug": "Virheenkorjaus",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Yhdistetään uudelleen: {name}…",
"Reconnecting · {reason}": "Yhdistetään uudelleen · {reason}",
"Reconnecting…": "Yhdistetään uudelleen…",
+ "Redo": "Tee uudelleen",
"Registries": "Rekisterit",
"Registry": "Rekisteri",
"Reload": "Lataa uudelleen",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Katso miltä se näyttää ↗",
"See why": "Katso syy",
"Select": "Valitse",
+ "Select All": "Valitse kaikki",
"Select all": "Valitse kaikki",
"Select all in this project": "Valitse kaikki tästä projektista",
"Select all {n}": "Valitse kaikki ({n})",
diff --git a/crates/kiri/src/ui/lang/fr.json b/crates/kiri/src/ui/lang/fr.json
index f27e688e..e752b237 100644
--- a/crates/kiri/src/ui/lang/fr.json
+++ b/crates/kiri/src/ui/lang/fr.json
@@ -248,6 +248,7 @@
"Created": "Créé",
"Critical": "Critique",
"Custom": "Personnalisé",
+ "Cut": "Couper",
"Dark": "Sombre",
"Database": "Base de données",
"Debug": "Débogage",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconnexion de {name}…",
"Reconnecting · {reason}": "Reconnexion · {reason}",
"Reconnecting…": "Reconnexion…",
+ "Redo": "Rétablir",
"Registries": "Registres",
"Registry": "Registre",
"Reload": "Recharger",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Voir à quoi ça ressemble ↗",
"See why": "Voir pourquoi",
"Select": "Sélectionner",
+ "Select All": "Tout sélectionner",
"Select all": "Tout sélectionner",
"Select all in this project": "Tout sélectionner dans ce projet",
"Select all {n}": "Sélectionner les {n}",
diff --git a/crates/kiri/src/ui/lang/hi.json b/crates/kiri/src/ui/lang/hi.json
index 3cf1153d..e1002098 100644
--- a/crates/kiri/src/ui/lang/hi.json
+++ b/crates/kiri/src/ui/lang/hi.json
@@ -248,6 +248,7 @@
"Created": "बनाया गया",
"Critical": "गंभीर",
"Custom": "कस्टम",
+ "Cut": "कट करें",
"Dark": "डार्क",
"Database": "डेटाबेस",
"Debug": "डीबग",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} फिर से कनेक्ट हो रहा है…",
"Reconnecting · {reason}": "फिर से कनेक्ट हो रहा है · {reason}",
"Reconnecting…": "फिर से कनेक्ट हो रहा है…",
+ "Redo": "फिर से करें",
"Registries": "रजिस्ट्री",
"Registry": "रजिस्ट्री",
"Reload": "रीलोड करें",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "देखें यह कैसा दिखता है ↗",
"See why": "कारण देखें",
"Select": "चुनें",
+ "Select All": "सब चुनें",
"Select all": "सब चुनें",
"Select all in this project": "इस प्रोजेक्ट में सब चुनें",
"Select all {n}": "सभी {n} चुनें",
diff --git a/crates/kiri/src/ui/lang/hu.json b/crates/kiri/src/ui/lang/hu.json
index cc47e1d6..e870e587 100644
--- a/crates/kiri/src/ui/lang/hu.json
+++ b/crates/kiri/src/ui/lang/hu.json
@@ -248,6 +248,7 @@
"Created": "Létrehozva",
"Critical": "Kritikus",
"Custom": "Egyéni",
+ "Cut": "Kivágás",
"Dark": "Sötét",
"Database": "Adatbázis",
"Debug": "Hibakeresés",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Újracsatlakozás: {name}…",
"Reconnecting · {reason}": "Újracsatlakozás · {reason}",
"Reconnecting…": "Újracsatlakozás…",
+ "Redo": "Ismétlés",
"Registries": "Registryk",
"Registry": "Registry",
"Reload": "Újratöltés",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Nézd meg, hogy néz ki ↗",
"See why": "Miért?",
"Select": "Kijelölés",
+ "Select All": "Összes kijelölése",
"Select all": "Összes kijelölése",
"Select all in this project": "Az összes kijelölése ebben a projektben",
"Select all {n}": "Mind kijelölése ({n})",
diff --git a/crates/kiri/src/ui/lang/id.json b/crates/kiri/src/ui/lang/id.json
index 5ae9d7bc..9f69a4dd 100644
--- a/crates/kiri/src/ui/lang/id.json
+++ b/crates/kiri/src/ui/lang/id.json
@@ -248,6 +248,7 @@
"Created": "Dibuat",
"Critical": "Kritis",
"Custom": "Kustom",
+ "Cut": "Potong",
"Dark": "Gelap",
"Database": "Database",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Menghubungkan ulang {name}…",
"Reconnecting · {reason}": "Menghubungkan ulang · {reason}",
"Reconnecting…": "Menghubungkan ulang…",
+ "Redo": "Ulangi",
"Registries": "Registry",
"Registry": "Registry",
"Reload": "Muat ulang",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Lihat tampilannya ↗",
"See why": "Lihat alasannya",
"Select": "Pilih",
+ "Select All": "Pilih semua",
"Select all": "Pilih semua",
"Select all in this project": "Pilih semua di proyek ini",
"Select all {n}": "Pilih semua {n}",
diff --git a/crates/kiri/src/ui/lang/it.json b/crates/kiri/src/ui/lang/it.json
index 9ec7255d..d0dcf29a 100644
--- a/crates/kiri/src/ui/lang/it.json
+++ b/crates/kiri/src/ui/lang/it.json
@@ -248,6 +248,7 @@
"Created": "Creato",
"Critical": "Critico",
"Custom": "Personalizzato",
+ "Cut": "Taglia",
"Dark": "Scuro",
"Database": "Database",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Riconnessione di {name}…",
"Reconnecting · {reason}": "Riconnessione · {reason}",
"Reconnecting…": "Riconnessione…",
+ "Redo": "Ripeti",
"Registries": "Registry",
"Registry": "Registry",
"Reload": "Ricarica",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Guarda com'è ↗",
"See why": "Vedi perché",
"Select": "Seleziona",
+ "Select All": "Seleziona tutto",
"Select all": "Seleziona tutto",
"Select all in this project": "Seleziona tutto in questo progetto",
"Select all {n}": "Seleziona tutti i {n}",
diff --git a/crates/kiri/src/ui/lang/ja.json b/crates/kiri/src/ui/lang/ja.json
index edf9a8b1..729d0b73 100644
--- a/crates/kiri/src/ui/lang/ja.json
+++ b/crates/kiri/src/ui/lang/ja.json
@@ -248,6 +248,7 @@
"Created": "作成日時",
"Critical": "重大",
"Custom": "カスタム",
+ "Cut": "カット",
"Dark": "ダーク",
"Database": "データベース",
"Debug": "デバッグ",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} に再接続しています…",
"Reconnecting · {reason}": "再接続中 · {reason}",
"Reconnecting…": "再接続しています…",
+ "Redo": "やり直す",
"Registries": "レジストリ",
"Registry": "レジストリ",
"Reload": "再読み込み",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "表示例を見る ↗",
"See why": "理由を表示",
"Select": "選択",
+ "Select All": "すべて選択",
"Select all": "すべて選択",
"Select all in this project": "このプロジェクトのすべてを選択",
"Select all {n}": "{n} 個すべてを選択",
diff --git a/crates/kiri/src/ui/lang/kk.json b/crates/kiri/src/ui/lang/kk.json
index 3f8ab682..2602b2c5 100644
--- a/crates/kiri/src/ui/lang/kk.json
+++ b/crates/kiri/src/ui/lang/kk.json
@@ -248,6 +248,7 @@
"Created": "Жасалған",
"Critical": "Сыни",
"Custom": "Басқа",
+ "Cut": "Қиып алу",
"Dark": "Қараңғы",
"Database": "Дерекқор",
"Debug": "Жөндеу",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} қайта қосылуда…",
"Reconnecting · {reason}": "Қайта қосылуда · {reason}",
"Reconnecting…": "Қайта қосылуда…",
+ "Redo": "Қайталау",
"Registries": "Тізілімдер",
"Registry": "Тізілім",
"Reload": "Қайта жүктеу",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Қалай көрінетінін көру ↗",
"See why": "Неліктен?",
"Select": "Таңдау",
+ "Select All": "Барлығын таңдау",
"Select all": "Барлығын таңдау",
"Select all in this project": "Осы жобадағының бәрін таңдау",
"Select all {n}": "Барлығын таңдау ({n})",
diff --git a/crates/kiri/src/ui/lang/ko.json b/crates/kiri/src/ui/lang/ko.json
index 2292cab3..9e6f9ab1 100644
--- a/crates/kiri/src/ui/lang/ko.json
+++ b/crates/kiri/src/ui/lang/ko.json
@@ -248,6 +248,7 @@
"Created": "생성됨",
"Critical": "심각",
"Custom": "사용자 지정",
+ "Cut": "오려두기",
"Dark": "다크",
"Database": "데이터베이스",
"Debug": "디버그",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} 다시 연결 중…",
"Reconnecting · {reason}": "다시 연결 중 · {reason}",
"Reconnecting…": "다시 연결 중…",
+ "Redo": "실행 복귀",
"Registries": "레지스트리",
"Registry": "레지스트리",
"Reload": "새로 고침",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "어떻게 보이는지 보기 ↗",
"See why": "이유 보기",
"Select": "선택",
+ "Select All": "모두 선택",
"Select all": "모두 선택",
"Select all in this project": "이 프로젝트에서 모두 선택",
"Select all {n}": "{n}개 모두 선택",
diff --git a/crates/kiri/src/ui/lang/lo.json b/crates/kiri/src/ui/lang/lo.json
index c315a7ea..62704e46 100644
--- a/crates/kiri/src/ui/lang/lo.json
+++ b/crates/kiri/src/ui/lang/lo.json
@@ -248,6 +248,7 @@
"Created": "ສ້າງເມື່ອ",
"Critical": "ຮ້າຍແຮງຫຼາຍ",
"Custom": "ກຳນົດເອງ",
+ "Cut": "ຕັດ",
"Dark": "ມືດ",
"Database": "ຖານຂໍ້ມູນ",
"Debug": "ດີບັກ",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "ກຳລັງເຊື່ອມຕໍ່ {name} ໃໝ່…",
"Reconnecting · {reason}": "ກຳລັງເຊື່ອມຕໍ່ໃໝ່ · {reason}",
"Reconnecting…": "ກຳລັງເຊື່ອມຕໍ່ໃໝ່…",
+ "Redo": "ເຮັດຊ້ຳ",
"Registries": "Registry",
"Registry": "Registry",
"Reload": "ໂຫຼດຄືນ",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ເບິ່ງວ່າມັນເປັນແນວໃດ ↗",
"See why": "ເບິ່ງເຫດຜົນ",
"Select": "ເລືອກ",
+ "Select All": "ເລືອກທັງໝົດ",
"Select all": "ເລືອກທັງໝົດ",
"Select all in this project": "ເລືອກທັງໝົດໃນໂປຣເຈັກນີ້",
"Select all {n}": "ເລືອກທັງໝົດ {n}",
diff --git a/crates/kiri/src/ui/lang/lt.json b/crates/kiri/src/ui/lang/lt.json
index ba635078..409b5f6c 100644
--- a/crates/kiri/src/ui/lang/lt.json
+++ b/crates/kiri/src/ui/lang/lt.json
@@ -248,6 +248,7 @@
"Created": "Sukurta",
"Critical": "Kritinis",
"Custom": "Pasirinktinis",
+ "Cut": "Iškirpti",
"Dark": "Tamsus",
"Database": "Duomenų bazė",
"Debug": "Derinimas",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Iš naujo jungiamas {name}…",
"Reconnecting · {reason}": "Jungiamasi iš naujo · {reason}",
"Reconnecting…": "Jungiamasi iš naujo…",
+ "Redo": "Perdaryti",
"Registries": "Registrai",
"Registry": "Registras",
"Reload": "Įkelti iš naujo",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Pažiūrėti, kaip atrodo ↗",
"See why": "Kodėl?",
"Select": "Pasirinkti",
+ "Select All": "Pasirinkti viską",
"Select all": "Pasirinkti viską",
"Select all in this project": "Pasirinkti viską šiame projekte",
"Select all {n}": "Pasirinkti visus ({n})",
diff --git a/crates/kiri/src/ui/lang/nb.json b/crates/kiri/src/ui/lang/nb.json
index 652154fd..84c017fa 100644
--- a/crates/kiri/src/ui/lang/nb.json
+++ b/crates/kiri/src/ui/lang/nb.json
@@ -248,6 +248,7 @@
"Created": "Opprettet",
"Critical": "Kritisk",
"Custom": "Egendefinert",
+ "Cut": "Klipp ut",
"Dark": "Mørk",
"Database": "Database",
"Debug": "Feilsøking",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Kobler til {name} igjen…",
"Reconnecting · {reason}": "Kobler til igjen · {reason}",
"Reconnecting…": "Kobler til igjen…",
+ "Redo": "Gjør om",
"Registries": "Registre",
"Registry": "Register",
"Reload": "Last inn på nytt",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Se hvordan det ser ut ↗",
"See why": "Se hvorfor",
"Select": "Velg",
+ "Select All": "Velg alle",
"Select all": "Velg alle",
"Select all in this project": "Velg alle i dette prosjektet",
"Select all {n}": "Velg alle {n}",
diff --git a/crates/kiri/src/ui/lang/pl.json b/crates/kiri/src/ui/lang/pl.json
index ebc1c0f6..f5b115f5 100644
--- a/crates/kiri/src/ui/lang/pl.json
+++ b/crates/kiri/src/ui/lang/pl.json
@@ -248,6 +248,7 @@
"Created": "Utworzono",
"Critical": "Krytyczna",
"Custom": "Niestandardowe",
+ "Cut": "Wytnij",
"Dark": "Ciemny",
"Database": "Baza danych",
"Debug": "Debugowanie",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Ponowne łączenie {name}…",
"Reconnecting · {reason}": "Ponowne łączenie · {reason}",
"Reconnecting…": "Ponowne łączenie…",
+ "Redo": "Ponów",
"Registries": "Rejestry",
"Registry": "Rejestr",
"Reload": "Wczytaj ponownie",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Zobacz, jak to wygląda ↗",
"See why": "Zobacz dlaczego",
"Select": "Zaznacz",
+ "Select All": "Zaznacz wszystko",
"Select all": "Zaznacz wszystko",
"Select all in this project": "Zaznacz wszystko w tym projekcie",
"Select all {n}": "Zaznacz wszystkie ({n})",
diff --git a/crates/kiri/src/ui/lang/pt-BR.json b/crates/kiri/src/ui/lang/pt-BR.json
index 47f085e5..a6c8ceb0 100644
--- a/crates/kiri/src/ui/lang/pt-BR.json
+++ b/crates/kiri/src/ui/lang/pt-BR.json
@@ -248,6 +248,7 @@
"Created": "Criado",
"Critical": "Crítica",
"Custom": "Personalizado",
+ "Cut": "Recortar",
"Dark": "Escuro",
"Database": "Banco de dados",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconectando {name}…",
"Reconnecting · {reason}": "Reconectando · {reason}",
"Reconnecting…": "Reconectando…",
+ "Redo": "Refazer",
"Registries": "Registries",
"Registry": "Registry",
"Reload": "Recarregar",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Ver como fica ↗",
"See why": "Ver por quê",
"Select": "Selecionar",
+ "Select All": "Selecionar tudo",
"Select all": "Selecionar tudo",
"Select all in this project": "Selecionar tudo neste projeto",
"Select all {n}": "Selecionar os {n}",
diff --git a/crates/kiri/src/ui/lang/ro.json b/crates/kiri/src/ui/lang/ro.json
index ceea05a2..c05574a2 100644
--- a/crates/kiri/src/ui/lang/ro.json
+++ b/crates/kiri/src/ui/lang/ro.json
@@ -248,6 +248,7 @@
"Created": "Creat",
"Critical": "Critic",
"Custom": "Personalizat",
+ "Cut": "Taie",
"Dark": "Întunecat",
"Database": "Bază de date",
"Debug": "Depanare",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Se reconectează {name}…",
"Reconnecting · {reason}": "Se reconectează · {reason}",
"Reconnecting…": "Se reconectează…",
+ "Redo": "Refă",
"Registries": "Registre",
"Registry": "Registru",
"Reload": "Reîncarcă",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Vezi cum arată ↗",
"See why": "Vezi de ce",
"Select": "Selectează",
+ "Select All": "Selectează tot",
"Select all": "Selectează tot",
"Select all in this project": "Selectează tot din acest proiect",
"Select all {n}": "Selectează tot ({n})",
diff --git a/crates/kiri/src/ui/lang/ru.json b/crates/kiri/src/ui/lang/ru.json
index 7c2e24e4..5c06a587 100644
--- a/crates/kiri/src/ui/lang/ru.json
+++ b/crates/kiri/src/ui/lang/ru.json
@@ -248,6 +248,7 @@
"Created": "Создан",
"Critical": "Критическая",
"Custom": "Другой",
+ "Cut": "Вырезать",
"Dark": "Тёмная",
"Database": "База данных",
"Debug": "Отладка",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Переподключение {name}…",
"Reconnecting · {reason}": "Переподключение · {reason}",
"Reconnecting…": "Переподключение…",
+ "Redo": "Повторить",
"Registries": "Реестры",
"Registry": "Реестр",
"Reload": "Перезагрузить",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Как это выглядит ↗",
"See why": "Почему?",
"Select": "Выбрать",
+ "Select All": "Выбрать все",
"Select all": "Выбрать все",
"Select all in this project": "Выбрать все в этом проекте",
"Select all {n}": "Выбрать все ({n})",
diff --git a/crates/kiri/src/ui/lang/sl.json b/crates/kiri/src/ui/lang/sl.json
index 4bb4a533..7c40e768 100644
--- a/crates/kiri/src/ui/lang/sl.json
+++ b/crates/kiri/src/ui/lang/sl.json
@@ -248,6 +248,7 @@
"Created": "Ustvarjeno",
"Critical": "Kritično",
"Custom": "Po meri",
+ "Cut": "Izreži",
"Dark": "Temna",
"Database": "Zbirka podatkov",
"Debug": "Razhroščevanje",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Vnovično povezovanje {name} …",
"Reconnecting · {reason}": "Vnovično povezovanje · {reason}",
"Reconnecting…": "Vnovično povezovanje …",
+ "Redo": "Uveljavi",
"Registries": "Registri",
"Registry": "Register",
"Reload": "Znova naloži",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Oglejte si, kako je videti ↗",
"See why": "Zakaj",
"Select": "Izberi",
+ "Select All": "Izberi vse",
"Select all": "Izberi vse",
"Select all in this project": "Izberi vse v tem projektu",
"Select all {n}": "Izberi vse ({n})",
diff --git a/crates/kiri/src/ui/lang/sq.json b/crates/kiri/src/ui/lang/sq.json
index 31a0c006..0837cc31 100644
--- a/crates/kiri/src/ui/lang/sq.json
+++ b/crates/kiri/src/ui/lang/sq.json
@@ -248,6 +248,7 @@
"Created": "Krijuar",
"Critical": "Kritike",
"Custom": "E personalizuar",
+ "Cut": "Prit",
"Dark": "E errët",
"Database": "Baza e të dhënave",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Po rilidhet {name}…",
"Reconnecting · {reason}": "Po rilidhet · {reason}",
"Reconnecting…": "Po rilidhet…",
+ "Redo": "Ribëj",
"Registries": "Regjistrat e imazheve",
"Registry": "Regjistri",
"Reload": "Ringarko",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Shiko si duket ↗",
"See why": "Shiko pse",
"Select": "Zgjidh",
+ "Select All": "Zgjidh të gjitha",
"Select all": "Zgjidh të gjitha",
"Select all in this project": "Zgjidh të gjitha në këtë projekt",
"Select all {n}": "Zgjidh të gjitha {n}",
diff --git a/crates/kiri/src/ui/lang/ta.json b/crates/kiri/src/ui/lang/ta.json
index 81e779e4..3f82f92a 100644
--- a/crates/kiri/src/ui/lang/ta.json
+++ b/crates/kiri/src/ui/lang/ta.json
@@ -248,6 +248,7 @@
"Created": "உருவாக்கப்பட்டது",
"Critical": "மிகத் தீவிரம்",
"Custom": "தனிப்பயன்",
+ "Cut": "வெட்டு",
"Dark": "இருண்ட",
"Database": "தரவுத்தளம்",
"Debug": "பிழைத்திருத்தம்",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name}-ஐ மீண்டும் இணைக்கிறது…",
"Reconnecting · {reason}": "மீண்டும் இணைக்கிறது · {reason}",
"Reconnecting…": "மீண்டும் இணைக்கிறது…",
+ "Redo": "மீண்டும் செய்",
"Registries": "Registries",
"Registry": "Registry",
"Reload": "மீண்டும் ஏற்று",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "அது எப்படி இருக்கும் எனப் பார் ↗",
"See why": "காரணத்தைப் பார்",
"Select": "தேர்ந்தெடு",
+ "Select All": "அனைத்தையும் தேர்ந்தெடு",
"Select all": "அனைத்தையும் தேர்ந்தெடு",
"Select all in this project": "இந்த project-இல் அனைத்தையும் தேர்ந்தெடு",
"Select all {n}": "அனைத்து {n}-ஐயும் தேர்ந்தெடு",
diff --git a/crates/kiri/src/ui/lang/te.json b/crates/kiri/src/ui/lang/te.json
index 636a3ac0..180fe6d6 100644
--- a/crates/kiri/src/ui/lang/te.json
+++ b/crates/kiri/src/ui/lang/te.json
@@ -248,6 +248,7 @@
"Created": "సృష్టించబడింది",
"Critical": "క్రిటికల్",
"Custom": "కస్టమ్",
+ "Cut": "కట్ చేయి",
"Dark": "డార్క్",
"Database": "డేటాబేస్",
"Debug": "డీబగ్",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} మళ్లీ కనెక్ట్ అవుతోంది…",
"Reconnecting · {reason}": "మళ్లీ కనెక్ట్ అవుతోంది · {reason}",
"Reconnecting…": "మళ్లీ కనెక్ట్ అవుతోంది…",
+ "Redo": "మళ్లీ చేయి",
"Registries": "రిజిస్ట్రీలు",
"Registry": "రిజిస్ట్రీ",
"Reload": "రీలోడ్ చేయి",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ఎలా ఉంటుందో చూడండి ↗",
"See why": "కారణం చూడు",
"Select": "ఎంచుకో",
+ "Select All": "అన్నీ ఎంచుకో",
"Select all": "అన్నీ ఎంచుకో",
"Select all in this project": "ఈ ప్రాజెక్ట్లో అన్నీ ఎంచుకో",
"Select all {n}": "మొత్తం {n} ఎంచుకో",
diff --git a/crates/kiri/src/ui/lang/th.json b/crates/kiri/src/ui/lang/th.json
index 2bd397e3..5c378fbb 100644
--- a/crates/kiri/src/ui/lang/th.json
+++ b/crates/kiri/src/ui/lang/th.json
@@ -248,6 +248,7 @@
"Created": "สร้างเมื่อ",
"Critical": "วิกฤต",
"Custom": "กำหนดเอง",
+ "Cut": "ตัด",
"Dark": "มืด",
"Database": "ฐานข้อมูล",
"Debug": "ดีบัก",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "กำลังเชื่อมต่อ {name} ใหม่…",
"Reconnecting · {reason}": "กำลังเชื่อมต่อใหม่ · {reason}",
"Reconnecting…": "กำลังเชื่อมต่อใหม่…",
+ "Redo": "ทำซ้ำ",
"Registries": "รีจิสทรี",
"Registry": "รีจิสทรี",
"Reload": "โหลดใหม่",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "ดูหน้าตา ↗",
"See why": "ดูสาเหตุ",
"Select": "เลือก",
+ "Select All": "เลือกทั้งหมด",
"Select all": "เลือกทั้งหมด",
"Select all in this project": "เลือกทั้งหมดในโปรเจกต์นี้",
"Select all {n}": "เลือกทั้งหมด {n} รายการ",
diff --git a/crates/kiri/src/ui/lang/tr.json b/crates/kiri/src/ui/lang/tr.json
index d1906931..faad98a3 100644
--- a/crates/kiri/src/ui/lang/tr.json
+++ b/crates/kiri/src/ui/lang/tr.json
@@ -248,6 +248,7 @@
"Created": "Oluşturuldu",
"Critical": "Kritik",
"Custom": "Özel",
+ "Cut": "Kes",
"Dark": "Koyu",
"Database": "Veritabanı",
"Debug": "Hata ayıklama",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Yeniden bağlanıyor: {name}…",
"Reconnecting · {reason}": "Yeniden bağlanıyor · {reason}",
"Reconnecting…": "Yeniden bağlanıyor…",
+ "Redo": "Yinele",
"Registries": "Kayıt defterleri",
"Registry": "Kayıt defteri",
"Reload": "Yenile",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Nasıl göründüğüne bakın ↗",
"See why": "Nedenini gör",
"Select": "Seç",
+ "Select All": "Tümünü seç",
"Select all": "Tümünü seç",
"Select all in this project": "Bu projedekilerin tümünü seç",
"Select all {n}": "{n} öğenin tümünü seç",
diff --git a/crates/kiri/src/ui/lang/uk.json b/crates/kiri/src/ui/lang/uk.json
index 1138abc9..5a77683a 100644
--- a/crates/kiri/src/ui/lang/uk.json
+++ b/crates/kiri/src/ui/lang/uk.json
@@ -248,6 +248,7 @@
"Created": "Створено",
"Critical": "Критична",
"Custom": "Інший",
+ "Cut": "Вирізати",
"Dark": "Темна",
"Database": "База даних",
"Debug": "Налагодження",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Перепідключення {name}…",
"Reconnecting · {reason}": "Перепідключення · {reason}",
"Reconnecting…": "Перепідключення…",
+ "Redo": "Повторити",
"Registries": "Реєстри",
"Registry": "Реєстр",
"Reload": "Перезавантажити",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Як це виглядає ↗",
"See why": "Чому?",
"Select": "Вибрати",
+ "Select All": "Вибрати все",
"Select all": "Вибрати все",
"Select all in this project": "Вибрати все в цьому проєкті",
"Select all {n}": "Вибрати все ({n})",
diff --git a/crates/kiri/src/ui/lang/vi.json b/crates/kiri/src/ui/lang/vi.json
index 0bab3fa2..3bf09470 100644
--- a/crates/kiri/src/ui/lang/vi.json
+++ b/crates/kiri/src/ui/lang/vi.json
@@ -248,6 +248,7 @@
"Created": "Đã tạo",
"Critical": "Nghiêm trọng",
"Custom": "Tùy chỉnh",
+ "Cut": "Cắt",
"Dark": "Tối",
"Database": "Cơ sở dữ liệu",
"Debug": "Debug",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "Đang kết nối lại {name}…",
"Reconnecting · {reason}": "Đang kết nối lại · {reason}",
"Reconnecting…": "Đang kết nối lại…",
+ "Redo": "Làm lại",
"Registries": "Registry",
"Registry": "Registry",
"Reload": "Tải lại",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "Xem giao diện ↗",
"See why": "Xem lý do",
"Select": "Chọn",
+ "Select All": "Chọn tất cả",
"Select all": "Chọn tất cả",
"Select all in this project": "Chọn tất cả trong project này",
"Select all {n}": "Chọn tất cả {n}",
diff --git a/crates/kiri/src/ui/lang/zh-Hans.json b/crates/kiri/src/ui/lang/zh-Hans.json
index a1e6bf3a..8e920f67 100644
--- a/crates/kiri/src/ui/lang/zh-Hans.json
+++ b/crates/kiri/src/ui/lang/zh-Hans.json
@@ -248,6 +248,7 @@
"Created": "创建时间",
"Critical": "严重",
"Custom": "自定义",
+ "Cut": "剪切",
"Dark": "深色",
"Database": "数据库",
"Debug": "调试",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "正在重连 {name}…",
"Reconnecting · {reason}": "正在重连 · {reason}",
"Reconnecting…": "正在重新连接…",
+ "Redo": "重做",
"Registries": "镜像仓库",
"Registry": "镜像仓库",
"Reload": "重新加载",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "看看它的样子 ↗",
"See why": "查看原因",
"Select": "选择",
+ "Select All": "全选",
"Select all": "全选",
"Select all in this project": "选择此项目中的全部",
"Select all {n}": "全选 {n} 项",
diff --git a/crates/kiri/src/ui/lang/zh-Hant.json b/crates/kiri/src/ui/lang/zh-Hant.json
index e721e5bd..7cfaadd9 100644
--- a/crates/kiri/src/ui/lang/zh-Hant.json
+++ b/crates/kiri/src/ui/lang/zh-Hant.json
@@ -248,6 +248,7 @@
"Created": "建立時間",
"Critical": "嚴重",
"Custom": "自訂",
+ "Cut": "剪下",
"Dark": "深色",
"Database": "資料庫",
"Debug": "偵錯",
@@ -808,6 +809,7 @@
"Reconnecting {name}…": "正在重新連線 {name}…",
"Reconnecting · {reason}": "正在重新連線 · {reason}",
"Reconnecting…": "正在重新連線…",
+ "Redo": "重做",
"Registries": "映像檔倉庫",
"Registry": "映像檔倉庫",
"Reload": "重新載入",
@@ -911,6 +913,7 @@
"See what it looks like ↗": "看看它的樣子 ↗",
"See why": "查看原因",
"Select": "選取",
+ "Select All": "全選",
"Select all": "全選",
"Select all in this project": "選取此專案中的全部",
"Select all {n}": "全選 {n} 個",
diff --git a/crates/kiri/src/ui/mac.rs b/crates/kiri/src/ui/mac.rs
index 8b16452a..ddb9a9ab 100644
--- a/crates/kiri/src/ui/mac.rs
+++ b/crates/kiri/src/ui/mac.rs
@@ -257,7 +257,8 @@ fn show_window(mtm: MainThreadMarker) {
}
/// The app menu, so the standard shortcuts work: ⌘Q quits (the daemon keeps
-/// running), ⌘W closes, ⌘H hides, ⌘, opens Settings.
+/// running), ⌘W closes, ⌘H hides, ⌘, opens Settings, and Edit's keys reach
+/// the window's text fields.
fn main_menu(mtm: MainThreadMarker) -> Retained {
let l = super::lang::resolve(prefs()["lang"].as_str());
let tr = |en: &str| super::lang::tr(l, en);
@@ -285,6 +286,18 @@ fn main_menu(mtm: MainThreadMarker) -> Retained {
app_menu.addItem(&item(&app("Quit {app}"), sel!(terminate:), "q"));
let app_item = NSMenuItem::new(mtm);
app_item.setSubmenu(Some(&app_menu));
+ // Edit: text fields get ⌘Z ⇧⌘Z ⌘X ⌘C ⌘V ⌘A only from a menu item's key.
+ let edit_menu = NSMenu::new(mtm);
+ edit_menu.setTitle(&NSString::from_str(&tr("Edit")));
+ edit_menu.addItem(&item(&tr("Undo"), sel!(undo:), "z"));
+ edit_menu.addItem(&item(&tr("Redo"), sel!(redo:), "Z"));
+ edit_menu.addItem(&NSMenuItem::separatorItem(mtm));
+ edit_menu.addItem(&item(&tr("Cut"), sel!(cut:), "x"));
+ edit_menu.addItem(&item(&tr("Copy"), sel!(copy:), "c"));
+ edit_menu.addItem(&item(&tr("Paste"), sel!(paste:), "v"));
+ edit_menu.addItem(&item(&tr("Select All"), sel!(selectAll:), "a"));
+ let edit_item = NSMenuItem::new(mtm);
+ edit_item.setSubmenu(Some(&edit_menu));
// View: ⌘+ / ⌘− / ⌘0 step the text size Settings → Appearance sets.
let view_menu = NSMenu::new(mtm);
view_menu.setTitle(&NSString::from_str(&tr("View")));
@@ -295,6 +308,7 @@ fn main_menu(mtm: MainThreadMarker) -> Retained {
view_item.setSubmenu(Some(&view_menu));
let bar = NSMenu::new(mtm);
bar.addItem(&app_item);
+ bar.addItem(&edit_item);
bar.addItem(&view_item);
bar
}
diff --git a/tests/ui/logselect.js b/tests/ui/logselect.js
index 010d6801..6be944fa 100644
--- a/tests/ui/logselect.js
+++ b/tests/ui/logselect.js
@@ -1,3 +1,4 @@
+// parity: macos windows linux
// A container's log can be selected and copied, without the line numbers.
kiri.on({ type: "status", version: "0.1.4", dev: true, app: "Kiri Dev", ours: "kiri-dev", context: "kiri-dev" });
const R = [];
@@ -10,22 +11,28 @@ t("selecting the log copies its lines, without the numbers", () => {
getSelection().selectAllChildren(log);
eq(getSelection().toString().trim().split("\n"), ["[INFO] Started worker-1", "ERROR: engine failed"], "copied");
});
-t("the copy key sends the selected log to the clipboard", () => {
+const MAC = !WIN && !LINUX;
+const copyKey = (el) => el.dispatchEvent(new KeyboardEvent("keydown", { key: "c", metaKey: MAC, ctrlKey: !MAC, bubbles: true }));
+t("the copy key sends the selected log to the clipboard, or leaves it to the Mac's Edit menu", () => {
const log = document.querySelector(".console.numbered");
getSelection().selectAllChildren(log);
sent.length = 0;
- log.dispatchEvent(new KeyboardEvent("keydown", { key: "c", metaKey: true, bubbles: true }));
+ copyKey(log);
const copies = sent.filter((m) => m.cmd === "term" && m.name === "copy");
- eq(copies.length, 1, "copies sent");
- eq(copies[0].value.trim().split("\n"), ["[INFO] Started worker-1", "ERROR: engine failed"], "text");
+ eq(copies.length, MAC ? 0 : 1, "copies sent");
+ if (!MAC) eq(copies[0].value.trim().split("\n"), ["[INFO] Started worker-1", "ERROR: engine failed"], "text");
});
t("the copy key leaves text fields and an empty selection alone", () => {
sent.length = 0;
getSelection().removeAllRanges();
- document.body.dispatchEvent(new KeyboardEvent("keydown", { key: "c", metaKey: true, bubbles: true }));
+ copyKey(document.body);
const field = document.querySelector("input");
getSelection().selectAllChildren(document.querySelector(".console.numbered"));
- field.dispatchEvent(new KeyboardEvent("keydown", { key: "c", metaKey: true, bubbles: true }));
+ copyKey(field);
eq(sent.filter((m) => m.cmd === "term" && m.name === "copy").length, 0, "copies sent");
});
+t("the search field's text can be selected, though the window's can't", () => {
+ const style = getComputedStyle(document.querySelector(".gfind input"));
+ eq(style.userSelect || style.webkitUserSelect, "text", "user-select");
+});
report(R);