Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions crates/kiri/src/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -2760,12 +2760,11 @@ <h2 id="title">Containers</h2><span class="sub num" id="subtitle"></span>
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());
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "የተፈጠረ",
"Critical": "ወሳኝ",
"Custom": "ብጁ",
"Cut": "ቁረጥ",
"Dark": "ጨለማ",
"Database": "የውሂብ ጎታ",
"Debug": "ማረሚያ",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name}ን እንደገና በማገናኘት ላይ…",
"Reconnecting · {reason}": "እንደገና በማገናኘት ላይ · {reason}",
"Reconnecting…": "እንደገና በማገናኘት ላይ…",
"Redo": "ድገም",
"Registries": "ሬጂስትሪዎች",
"Registry": "ሬጂስትሪ",
"Reload": "እንደገና ጫን",
Expand Down Expand Up @@ -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} ምረጥ",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "الإنشاء",
"Critical": "حرج",
"Custom": "مخصص",
"Cut": "قص",
"Dark": "داكن",
"Database": "قاعدة بيانات",
"Debug": "تصحيح",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "جارٍ إعادة اتصال {name}…",
"Reconnecting · {reason}": "جارٍ إعادة الاتصال · {reason}",
"Reconnecting…": "جارٍ إعادة الاتصال…",
"Redo": "إعادة",
"Registries": "سجلات الصور",
"Registry": "سجل الصور",
"Reload": "إعادة التحميل",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Създаден",
"Critical": "Критична",
"Custom": "Персонализиран",
"Cut": "Изрязване",
"Dark": "Тъмна",
"Database": "База данни",
"Debug": "Отстраняване на грешки",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "Повторно свързване на {name}…",
"Reconnecting · {reason}": "Повторно свързване · {reason}",
"Reconnecting…": "Повторно свързване…",
"Redo": "Повторение",
"Registries": "Регистри",
"Registry": "Регистър",
"Reload": "Презареждане",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "তৈরি হয়েছে",
"Critical": "সংকটপূর্ণ",
"Custom": "কাস্টম",
"Cut": "কাট",
"Dark": "ডার্ক",
"Database": "ডেটাবেস",
"Debug": "ডিবাগ",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} আবার সংযোগ হচ্ছে…",
"Reconnecting · {reason}": "আবার সংযোগ হচ্ছে · {reason}",
"Reconnecting…": "আবার সংযোগ হচ্ছে…",
"Redo": "পুনরায় করুন",
"Registries": "রেজিস্ট্রি",
"Registry": "রেজিস্ট্রি",
"Reload": "রিলোড",
Expand Down Expand Up @@ -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}টি নির্বাচন করুন",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Creat",
"Critical": "Crític",
"Custom": "Personalitzat",
"Cut": "Retalla",
"Dark": "Fosc",
"Database": "Base de dades",
"Debug": "Depuració",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/ckb.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "دروستکراوە",
"Critical": "مەترسیدار",
"Custom": "تایبەت",
"Cut": "بڕین",
"Dark": "تاریک",
"Database": "بنکەدراوە",
"Debug": "هەڵەدۆزی",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "دووبارە پەیوەستکردنەوەی {name}…",
"Reconnecting · {reason}": "دووبارە پەیوەستبوونەوە · {reason}",
"Reconnecting…": "دووبارە پەیوەستبوونەوە…",
"Redo": "دووبارەکردنەوە",
"Registries": "Registry ەکان",
"Registry": "Registry",
"Reload": "بارکردنەوە",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Vytvořeno",
"Critical": "Kritická",
"Custom": "Vlastní",
"Cut": "Vyjmout",
"Dark": "Tmavý",
"Database": "Databáze",
"Debug": "Ladění",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Erstellt",
"Critical": "Kritisch",
"Custom": "Eigene",
"Cut": "Ausschneiden",
"Dark": "Dunkel",
"Database": "Datenbank",
"Debug": "Debug",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Δημιουργήθηκε",
"Critical": "Κρίσιμο",
"Custom": "Προσαρμογή",
"Cut": "Αποκοπή",
"Dark": "Σκούρο",
"Database": "Βάση δεδομένων",
"Debug": "Αποσφαλμάτωση",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "Επανασύνδεση του {name}…",
"Reconnecting · {reason}": "Επανασύνδεση · {reason}",
"Reconnecting…": "Επανασύνδεση…",
"Redo": "Επανάληψη",
"Registries": "Registries",
"Registry": "Registry",
"Reload": "Επαναφόρτωση",
Expand Down Expand Up @@ -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}",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Creado",
"Critical": "Crítico",
"Custom": "Personalizado",
"Cut": "Cortar",
"Dark": "Oscuro",
"Database": "Base de datos",
"Debug": "Debug",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconectando {name}…",
"Reconnecting · {reason}": "Reconectando · {reason}",
"Reconnecting…": "Reconectando…",
"Redo": "Rehacer",
"Registries": "Registros",
"Registry": "Registro",
"Reload": "Recargar",
Expand Down Expand Up @@ -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}",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "ایجاد",
"Critical": "بحرانی",
"Custom": "سفارشی",
"Cut": "برش",
"Dark": "تیره",
"Database": "پایگاه داده",
"Debug": "اشکال‌زدایی",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "در حال اتصال مجدد {name}…",
"Reconnecting · {reason}": "در حال اتصال مجدد · {reason}",
"Reconnecting…": "در حال اتصال مجدد…",
"Redo": "ازنو",
"Registries": "رجیستری‌ها",
"Registry": "رجیستری",
"Reload": "بارگذاری مجدد",
Expand Down Expand Up @@ -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} مورد",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Luotu",
"Critical": "Kriittinen",
"Custom": "Mukautettu",
"Cut": "Leikkaa",
"Dark": "Tumma",
"Database": "Tietokanta",
"Debug": "Virheenkorjaus",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "Créé",
"Critical": "Critique",
"Custom": "Personnalisé",
"Cut": "Couper",
"Dark": "Sombre",
"Database": "Base de données",
"Debug": "Débogage",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "Reconnexion de {name}…",
"Reconnecting · {reason}": "Reconnexion · {reason}",
"Reconnecting…": "Reconnexion…",
"Redo": "Rétablir",
"Registries": "Registres",
"Registry": "Registre",
"Reload": "Recharger",
Expand Down Expand Up @@ -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}",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"Created": "बनाया गया",
"Critical": "गंभीर",
"Custom": "कस्टम",
"Cut": "कट करें",
"Dark": "डार्क",
"Database": "डेटाबेस",
"Debug": "डीबग",
Expand Down Expand Up @@ -808,6 +809,7 @@
"Reconnecting {name}…": "{name} फिर से कनेक्ट हो रहा है…",
"Reconnecting · {reason}": "फिर से कनेक्ट हो रहा है · {reason}",
"Reconnecting…": "फिर से कनेक्ट हो रहा है…",
"Redo": "फिर से करें",
"Registries": "रजिस्ट्री",
"Registry": "रजिस्ट्री",
"Reload": "रीलोड करें",
Expand Down Expand Up @@ -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} चुनें",
Expand Down
3 changes: 3 additions & 0 deletions crates/kiri/src/ui/lang/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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})",
Expand Down
Loading