diff --git a/src/web/index.html b/src/web/index.html index 708c6ca..a3e4f96 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -263,9 +263,8 @@ function updateModeUI() { async function switchMode(mode) { if (mode === currentMode) return; - if (mode === 'live') { - if (!confirm('Canlı moda geçilecek. Çalışan tüm botlar durdurulacak. Devam edilsin mi?')) return; - } + const label = mode === 'live' ? 'canlı' : 'testnet'; + if (!confirm(`${label.charAt(0).toUpperCase() + label.slice(1)} moda geçilecek. Çalışan tüm botlar durdurulacak. Devam edilsin mi?`)) return; await api('POST', '/mode', { mode }); currentMode = mode; updateModeUI();